一键导入
audit-security
Scan the codebase for security vulnerabilities. Check OWASP top 10, input validation, auth, crypto, and known BACKLOG security items.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Scan the codebase for security vulnerabilities. Check OWASP top 10, input validation, auth, crypto, and known BACKLOG security items.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Bump version, generate changelog draft, tag, and deploy a release.
Create a feature branch, commit changes, push, and open a PR to main.
Check docs/ai/ spec files and ADRs for inconsistencies with the actual codebase. Report only, no modifications.
Check docs/ai/ spec files and ADRs for inconsistencies with the codebase, then fix all discrepancies.
Scan the project for refactoring opportunities, then fix them. No behavior/visual changes.
Create a new Architecture Decision Record (ADR) for a proposed feature or design change.
| name | audit-security |
| description | Scan the codebase for security vulnerabilities. Check OWASP top 10, input validation, auth, crypto, and known BACKLOG security items. |
| allowed-tools | Read, Glob, Grep, Agent, Bash(ls *), Bash(wc *) |
Scan the codebase for security vulnerabilities and verify that known issues from docs/ai/BACKLOG.md (Security section) are tracked.
__proto__, constructor, prototype are blocked in all code paths that apply external data to objectsinnerHTML, {@html}, document.write, eval usage; verify user-supplied strings are escapedimport(), Function() with user inputvalidateSongData() / validateRecoverySnapshot() are called before casting raw JSON to Songcrypto.getRandomValues(), not Math.random()docs/ai/BACKLOG.md Security section — verify all known vulnerabilities are listedsecurity.test.ts covers each known issuesrc/lib/multiDevice/ — all filessrc/lib/validate.ts — data validationsrc/lib/storage.ts — persistence layersrc/lib/audio/engine.ts — worklet bridgeworkers/signaling/ — signaling server (if present)src/lib/multiDevice/security.test.ts.## Security Audit Report
### Category: [Input Validation / Auth / Crypto / Network / Resources]
#### [Vulnerability name]
- **Severity**: Critical / High / Medium / Low / Info
- **Location**: file:line
- **Description**: what's wrong
- **Status**: Known (in BACKLOG) / New finding / Tested (in security.test.ts)
- **Recommendation**: fix approach
### Summary
- X critical, Y high, Z medium findings
- N known issues tracked in BACKLOG
- M gaps in test coverage