baasith6/cursor-skills/auditing-security
Claude Code and agent skill by baasith6/cursor-skills
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Perform a systematic security audit of a codebase, checking for OWASP Top 10 vulnerabilities, secrets exposure, and insecure patterns.
Install
npx vskill@latest install baasith6/cursor-skills/auditing-securitySKILL.md
The same SKILL.md was published earlier as spencerpauly/awesome-cursor-skills/auditing-security.
Security Audit
Use this skill when the user asks to audit security, check for vulnerabilities, review code for security issues, or harden an application.
Steps
- 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=- Base64-encoded credentials
- AWS keys (
AKIA...), Stripe keys (sk_live_...), GitHub tokens (ghp_...) - Files:
.envcommitted to git,config.jsonwith credentials
- Check authentication & authorization
- Verify all API routes check authentication before processing.
- Ensure role-based access control is enforced server-side, not just in the UI.
- Check that password hashing uses bcrypt/argon2 (not MD5/SHA1).
- Verify session tokens are HTTP-only, secure, and have reasonable expiry.
- Check for injection vulnerabilities
- SQL injection: look for string concatenation in SQL queries instead of parameterized queries.
- XSS: look for
dangerouslySetInnerHTML,innerHTML, or unescaped user input rendered in templates. - Command injection: look for
exec(),eval(),child_process.exec()with user input. - Path traversal: check file operations for unsanitized user input in paths.
- Review dependency security
- Run
npm auditorpip auditto check for known vulnerabilities. - Flag outdated dependencies with known CVEs.
- Check for overly permissive dependency ranges.
- Check CORS and CSP configuration
- Verify CORS doesn't use
Access-Control-Allow-Origin: *in production. - Check for Content Security Policy headers.
- Verify
X-Frame-Options,X-Content-Type-Options, andStrict-Transport-Securityheaders.
- Review data exposure
- Check API responses for leaking sensitive fields (password hashes, internal IDs, PII).
- Verify error messages don't expose stack traces or internal details in production.
- Check logging for sensitive data being written to logs.
- Generate report — produce a summary with severity ratings (Critical / High / Medium / Low) for each finding, with the file path, line number, and recommended fix.
Notes
- This is a code review, not a penetration test. Recommend tools like
npm audit,trivy, orsnykfor automated scanning. - Always check
.gitignoreto ensure.env, credentials, and key files are excluded. - For comprehensive auditing, recommend the OWASP Testing Guide.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingresources/auditing-security/SKILL.md
Popularity
- Repository forks
- 1
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/baasith6/cursor-skills/auditing-security)