claude/skills/web-project-audit/templates/library/auth-security.md
Neil Bantoc 5201aa9bd5 Add web-frontend, web-project-audit and web-project-scaffold-containerized-python skills
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 16:26:33 -08:00

11 lines
753 B
Markdown

# Auth & Security
> Audit library doc. Findings come from reading source files — never from README/docs.
> Each pattern is one `### [slug] Title` entry (written via `audit.sh finding`), with an exemplar file.
> Further files that repeat a known pattern are logged with `audit.sh also`, not re-described.
**Scope:** Identity, access control and security posture.
**Look for:** auth provider/library; session vs JWT; where tokens live (httpOnly cookie vs storage); route/middleware protection; role/permission checks; CSRF/CORS config; security headers/CSP; input sanitization/XSS (`dangerouslySetInnerHTML`, `v-html`); secrets handling (env vars, which are exposed to the client); dependency on `secret-files.txt` entries by name only.
## Findings