
Security And Hardening
Hardening guidance for untrusted input, authentication, sessions, and third-party integrations, anchored to a threat model first.
- skills.sh installs
- 86.6K
- GitHub stars
- 119.7K
- last updated
- Aug 21, 2026
What it does
- Covers threat modeling with trust boundaries, assets, and STRIDE, then the OWASP Top Ten controls for injection, XSS, access control, and sessions
- Includes a three-tier rule set (Always Do, Ask First, Never Do) and a reference file of concrete code patterns for each control
- Enforces parameterized queries, schema validation at boundaries, httpOnly, secure, sameSite cookies, and SSRF blocking of private and reserved addresses
- Designed for developers building features that accept untrusted data, manage sessions, or call external services, and for dependency audits
Install
$ npx -y skills add addyosmani/agent-skills --skill security-and-hardening -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
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:
Details
- Repository
- github.com/addyosmani/agent-skills
- Categories
- Security, Backend & APIs
- First seen
- Apr 16, 2026
More from addyosmani/agent-skills
All 25- Frontend Ui Engineering82.8K
- Performance Optimization79.9K
- Spec Driven Development79.3K
- Documentation And Adrs78.1K
- Planning And Task Breakdown78.1K
- Code Simplification77.3K
- Api And Interface Design77.2K
- Debugging And Error Recovery77K
- Test Driven Development75.8K
- Context Engineering75.6K
- Incremental Implementation75.5K
- Git Workflow And Versioning73.3K
- Idea Refine72.7K
- Using Agent Skills72.3K
- Browser Testing With Devtools72.1K
- Source Driven Development71.8K
- Shipping And Launch71.8K
- Ci Cd And Automation71.7K
- Interview Me70.9K
- Deprecation And Migration70.7K
- Doubt Driven Development70.2K
- Observability And Instrumentation68.2K
- Constraint Driven Development46.7K
- Code Review And Quality89.3K
Similar to Security And Hardening
More Security
web-securityacademind/ai-config298 installsSet of security rules that guides code toward safe defaults across XSS, auth, CSP, and data handling.
security-best-practicesmindrally/skills987 installsChecklist-style security guidance covering input validation, authentication, secrets, and injection and XSS prevention for backend services.
cybersecurityomer-metin/skills-for-antigravity303 installsSecurity engineering guidance for auth, encryption, OWASP risks, and compliance, grounded in reference patterns.
owasp-top-10nickcrew/claude-cortex655 installsGuided review of the OWASP Top 10 2021 risks with detection and remediation patterns for audits.
securitythebeardedbearsas/bear-craft136 installsUniversal security guidelines and OWASP Top 10 practices for reviewing, hardening, and authoring code.