一键导入
auditing-security
Perform a systematic security audit of a codebase, checking for OWASP Top 10 vulnerabilities, secrets exposure, and insecure patterns.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Perform a systematic security audit of a codebase, checking for OWASP Top 10 vulnerabilities, secrets exposure, and insecure patterns.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use Cursor's browser aria snapshots to audit a page for accessibility issues — missing labels, broken tab order, contrast, and ARIA misuse.
Add PostHog analytics to a web application, including event tracking, page views, feature flags, and session replay.
Generate OpenAPI/Swagger documentation for an API, including endpoint schemas, request/response types, and interactive docs UI.
Add authentication to a web application using NextAuth.js (Auth.js), including OAuth providers, session management, and protected routes.
Dockerize an application with a production-ready Dockerfile, docker-compose setup, and .dockerignore.
Set up Playwright end-to-end testing in a project, including test configuration, example tests, and CI integration.
| name | auditing-security |
| description | Perform a systematic security audit of a codebase, checking for OWASP Top 10 vulnerabilities, secrets exposure, and insecure patterns. |
Use this skill when the user asks to audit security, check for vulnerabilities, review code for security issues, or harden an application.
Scan for hardcoded secrets — search for API keys, tokens, passwords, and connection strings in source files. Check for patterns like:
password=, secret=, token=, api_key=AKIA...), Stripe keys (sk_live_...), GitHub tokens (ghp_...).env committed to git, config.json with credentialsCheck authentication & authorization
Check for injection vulnerabilities
dangerouslySetInnerHTML, innerHTML, or unescaped user input rendered in templates.exec(), eval(), child_process.exec() with user input.Review dependency security
npm audit or pip audit to check for known vulnerabilities.Check CORS and CSP configuration
Access-Control-Allow-Origin: * in production.X-Frame-Options, X-Content-Type-Options, and Strict-Transport-Security headers.Review data exposure
Generate report — produce a summary with severity ratings (Critical / High / Medium / Low) for each finding, with the file path, line number, and recommended fix.
npm audit, trivy, or snyk for automated scanning..gitignore to ensure .env, credentials, and key files are excluded.