From hb
Harden code proactively at trust boundaries: validate input, parameterize queries, secure auth, sanitize uploads. Use when handling user data, auth, APIs, file uploads, or sensitive storage.
How this skill is triggered — by the user, by Claude, or both
Slash command
/hb:hardenThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Security as a constraint on every line that touches user data, auth, or external systems. This skill is **proactive**: applied during implementation, not after. For reactive scans, use `safe-repo` (sensitive data) or `deps-audit` (CVEs).
Security as a constraint on every line that touches user data, auth, or external systems. This skill is proactive: applied during implementation, not after. For reactive scans, use safe-repo (sensitive data) or deps-audit (CVEs).
httpOnly, secure, sameSiteeval() or innerHTML with user-provided dataSee OWASP Top 10 quick reference.
Always validate at the system boundary (route handler, message consumer), not in business logic:
mimetype)For dependency CVEs see deps-audit; for secrets and sensitive data see safe-repo.
After implementing security-relevant code, confirm:
deps-audit shows no critical or high CVEs (or each is documented with review date)safe-repo --diff cleancurl -I)| Rationalization | Reality |
|---|---|
| "Internal tool, security doesn't matter" | Internal tools get compromised; attackers target the weakest link |
| "We'll add security later" | Retrofitting is 10x harder than building it in |
| "No one would exploit this" | Automated scanners will; security-by-obscurity is not security |
| "Framework handles security" | Frameworks provide tools, not guarantees |
| "It's a prototype" | Prototypes become production; habits compound |
npx claudepluginhub helderberto/agent-skills --plugin hbHardens code against vulnerabilities using threat modeling (STRIDE) and security best practices. Use when handling user input, authentication, data storage, or external integrations.
Hardens code against vulnerabilities by modeling threats and applying a three-tier boundary system. Use for user input, authentication, data storage, or external integrations.
Deep security analysis for threat modeling, exploit path tracing, and hardening. Applies OWASP Top 10 prevention patterns and a three-tier boundary system for web applications.