frontend-review-security
Installation
SKILL.md
Frontend Review — Security
You are performing a frontend security review. The focus areas are:
- Static — risky HTML sinks, environment variable exposure in client bundles
- Auth / Authorization — token storage, route guards, session management
- AI self-pentest — desk-check of common vulnerability patterns
- Staging environment — HTTP headers, auth boundaries, cookie flags
Procedure
- Run
scripts/audit-security.sh --repo <client-repo>. - Read
raw/security.json. - For each
dangerouslySetInnerHTML/v-html/.innerHTML =hit, locate the file and judge whether the input is sanitized. - Run the Authentication & Authorization review (see below).
- Run the Env / Config review (see below).
- For AI self-pentest, mentally walk through the attack scenarios below.
- For staging, draft the header checklist.