
Security And Hardening
This is a comprehensive security checklist that enforces the kind of paranoid thinking production code actually needs. It walks you through OWASP Top 10 prevention with real TypeScript examples, from parameterized queries and bcrypt hashing to helmet middleware and Zod validation at route boundaries. The three-tier boundary system (always do, ask first, never do) is genuinely useful for keeping security decisions consistent across a codebase. The npm audit triage decision tree alone is worth the read because it gives you a framework for prioritizing CVE fixes instead of treating every moderate severity warning like a five-alarm fire. If you're touching auth, user input, or external APIs, this covers the non-negotiables.
- install copies · 90 days. Times the install command was copied on this site in the last 90 days, bots filtered.
- 5
- skills.sh installs
- 81.4K
- GitHub stars
- 114.6K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add addyosmani/agent-skills --skill security-and-hardening --agent claude-codeInstalls into .claude/skills of the current project.
Files
Security and Hardening
Overview
Security-first development practices for web applications. Treat every external input as hostile, every secret as sacred, and every authorization check as mandatory. Security isn't a phase — it's a constraint on every line of code that touches user data, authentication, or external systems.
When to Use
- Building anything that accepts user input
- Implementing authentication or authorization
- Storing or transmitting sensitive data
- Integrating with external APIs or services
- Adding file uploads, webhooks, or callbacks
- Handling payment or PII data
Process: Threat Model First
Controls bolted on without a threat model are guesses. Before hardening, spend five minutes thinking like an attacker:
Sponsors
Details
- Repository
- github.com/addyosmani/agent-skills
- Categories
- Backend & APIs, Security, AI & Agent Building
- First seen
- Apr 16, 2026
More from addyosmani/agent-skills
All 25- Frontend Ui Engineering77.8K
- Performance Optimization75.2K
- Spec Driven Development74.7K
- Planning And Task Breakdown73.5K
- Documentation And Adrs73.5K
- Code Simplification72.6K
- Api And Interface Design72.4K
- Debugging And Error Recovery72.4K
- Test Driven Development71.3K
- Context Engineering71.1K
- Incremental Implementation71K
- Git Workflow And Versioning68.8K
- Idea Refine68.3K
- Using Agent Skills68K
- Browser Testing With Devtools67.7K
- Shipping And Launch67.4K
- Source Driven Development67.4K
- Ci Cd And Automation67.3K
- Interview Me66.4K
- Deprecation And Migration66.4K
- Doubt Driven Development65.8K
- Observability And Instrumentation63.8K
- Constraint Driven Development42.4K
- Code Review And Quality84.1K