security-hardening
Use for auth, authorization, tenant/object access, sensitive data, uploads, secrets, provider keys, billing, destructive operations, or security findings; require threat boundaries, negative tests, ex
SKILL.md.agents/skills/security-hardening/SKILL.md
GitHubSecurity Hardening
- Identify assets, actors, trust boundaries, privileges, and destructive/sensitive actions.
- Enforce authz server-side at the object/tenant/action boundary; never trust client visibility.
- Validate and bound body/file/query sizes at trust boundaries.
- Keep provider/API keys server-side and redact them from logs/evidence.
- Minimize sensitive data and make retention/export/deletion behavior explicit.
- Convert important boundaries into negative tests: cross-user/tenant IDs, non-admin admin route, duplicate request, expired session, malformed upload, direct API bypass.
- Treat a vulnerability as a candidate until an exploit/data-loss/authorization path and preconditions are supported. Try to disprove it before assigning severity.
- Record fresh
security-negativeevidence for security-sensitive tasks.