security-review
Installation
SKILL.md
Security Review
Use this skill to identify and remediate exploitable behavior, unauthorized access, and sensitive-data exposure.
Workflow
- Define the changed trust boundaries: inputs, identities, protected resources, storage, external services, and client/server transitions.
- Review validation, authentication, authorization and ownership enforcement, injection defenses, secret handling, browser storage, files, redirects, and configuration defaults.
- Classify each finding by severity, explain its impact, fix it where possible, and re-verify the affected path.
- Report both confirmed findings and checks performed with no issue found; do not claim a full audit beyond the reviewed scope.
Rules
- Treat every external value as untrusted until validated server-side.
- Authentication does not imply authorization; enforce permissions for every protected action.
- Never expose secrets or privileged tokens in client bundles, logs, or responses.
- Prefer explicit secure defaults for cookies, sessions, headers, CORS, file access, redirects, and caching.