owasp
Installation
SKILL.md
OWASP Security Skill
Apply OWASP thinking for all features, especially input handling, authentication, and data access.
10 Core Security Principles
- Secure the weakest link — identify and harden the most vulnerable component first.
- Defence in depth — layer multiple security controls; never rely on a single barrier.
- Fail securely — on error, default to denying access, not granting it.
- Least privilege — grant only the minimum permissions necessary; deny by default.
- Compartmentalise — isolate components so a breach in one doesn't compromise all.
- Keep it simple — complex security is hard to audit and easy to break.
- Promote privacy — collect only necessary data; protect it at every layer.
- Hiding secrets is hard — assume secrets in code will leak; use env vars and secret managers.
- Be reluctant to trust — verify inputs, identities, and systems; trust nothing by default.
- Use community resources — prefer well-tested libraries over custom implementations.