review-security-privacy
Installation
SKILL.md
Security and Privacy Review
Review only unless the user separately authorizes fixes. Do not probe production, post comments, change pull-request state, or expose sensitive data.
Review flow
- Establish the base, diff, intended behavior, changed trust boundaries, and attacker- or user-controlled inputs.
- Read repository security and ownership instructions for every changed surface.
- Trace each changed path from identity or input through authentication, authorization, state, storage, logs, asynchronous work, and output.
- Inspect the nearest tests and real enforcement point. UI visibility is not authorization.
- Exclude pre-existing debt, keyword matches, style preferences, and hypothetical failures without a reachable mechanism.
- Report only regressions introduced, worsened, or materially touched by the diff with confidence of at least 80/100, anchored to a changed file or line.
Use evidence in this order: changed code and full trust or call chain, behavior-protecting tests, runtime configuration, repository security instructions, then other documentation.
Read references/trust-boundary-patterns.md when the diff touches tenant resolution, public reads or writes, webhooks, files, secrets, logs, personal data, provider integrations, or administrative observability.