← ClaudeAtlas

security-hardeninglisted

Application security engineering — OWASP Top 10, authentication and object-level authorization, injection, XSS/CSP, CSRF, SSRF, secrets management, file uploads, security headers, dependency and supply-chain risk, and threat modelling. Use when reviewing or building anything touching login, sessions, tokens, passwords, permissions, roles, payments, file uploads, webhooks, user-generated content or personal data; when the user says "is this secure", "security review", "pentest", "harden", "vulnerability", "OWASP", "XSS", "SQL injection", "CSRF", "IDOR", "leaked key", "exposed secret", "auth bypass", "rate limit" or "security headers"; and as a mandatory pass in any project audit. Defensive security only. By Devleck.
Kin9Zeus/senior-engineer-skills · ★ 3 · AI & Automation · score 77
Install: claude install-skill Kin9Zeus/senior-engineer-skills
# Security Hardening Assume every input is hostile, every user is an attacker, and every secret in the repository is already public. Then check whether the code agrees. **Scope:** defensive security — finding and fixing weaknesses in code the user owns or is authorised to assess. Never scan, probe or send traffic to infrastructure without explicit confirmation of ownership or authorisation. Produce fixes and detections, not weaponised exploits. --- ## The order of operations Findings are not equal. Work top-down; the first three account for most real breaches. 1. **Secrets** — anything committed is compromised. 2. **Broken access control** — the most common critical finding in real systems. 3. **Injection** — SQL, command, template, LDAP, NoSQL. 4. **Authentication weaknesses** — sessions, tokens, resets, MFA. 5. **XSS and content injection.** 6. **SSRF and unvalidated redirects.** 7. **Insecure configuration** — headers, debug modes, exposed endpoints. 8. **Supply chain** — dependencies, install scripts, build pipeline. 9. **Cryptographic failures** — at rest, in transit, in tokens. 10. **Logging and monitoring gaps** — an undetected breach is an unbounded one. `references/owasp-checklist.md` carries the full per-category checks. --- ## 1. Secrets — start here, always ```bash git log --all --full-history --name-only -- '*.env' '*.pem' '*.key' '*.p12' '*credential*' | head -30 git ls-files | grep -E '(^|/)\.env($|\.)' | grep -v example ``` Plus the pattern scan in