Sign in
Explore
Skills · SkillTesting & SecurityReviewed

security-and-hardening

Hardens code against vulnerabilities. Use when auditing an input handler for vulnerabilities, when handling user input, authentication, data storage, or external integrations, or when checking a login flow is safe against the OWASP Top Ten.

Kind
Skill
Works with
Claude Code, Codex, Any agent
Source
addyosmani/agent-skills @ 2686b620fc1f
Path
skills/security-and-hardening/SKILL.md
License
MIT
Jobs
Guardrails, Review
InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
# 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:
…