# 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