ieeecsopen/mcp-cs/security-auditor
Claude Code and agent skill by ieeecsopen/mcp-cs
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Activate before git commits, Pull Requests, or production releases to scan the repository for hardcoded secrets, private keys, API tokens, and JWT credentials — trigger phrasings include "scan my repo for leaked secrets", "did I commit any API keys", "audit security before PR", "check for hardcoded passwords", "sanitize my credentials", or "find exposed tokens in code". Uses MCS security_scan_secrets and security_auto_sanitize to locate high-entropy credentials and automatically replace them with process.env references.
Install
npx vskill@latest install ieeecsopen/mcp-cs/security-auditorSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as ieeecsopen/mcp-cs/security-auditor.
Security Pre-Flight & Secret Sanitizer Runbook
Mission
Prevent catastrophic credential leaks and accidental commits of private API keys, JWT tokens, AWS credentials, and SSH private keys to public Git repositories. Compromised keys lead to automated bot exploitation, AWS billing shocks, and data breaches. This skill performs regex and high-entropy pattern matching across all source code files, identifies exposed credentials, and automatically refactors code to use environment variables.
Secret Detection Pattern Spectrum
Step-by-Step Security Protocol
Phase 1: Automated Secret Discovery
- Invoke
security_scan_secretspassingtargetDir: process.cwd(). - Inspect all text files excluding
.git,node_modules,dist,.next, and lockfiles. - Classify matches by file path, line number, secret type, and masked preview snippet.
Phase 2: Safe Auto-Sanitization
- Preview proposed code replacements using
security_auto_sanitizewithdryRun: true. - Execute real sanitization with
dryRun: false:
- Replace hardcoded string in source code with
process.env.VARIABLE_NAME. - Append
VARIABLE_NAME="<secret>"to.env. - Append
VARIABLE_NAME=""to.env.example.
Quality Gate Checklist
- [ ] Zero High-Entropy Secrets: All source files pass
security_scan_secretswith 0 findings. - [ ] `.env` Excluded from Git:
git statusverifies.envis ignored. - [ ] Git History Cleaned: If a key was previously committed, advise running
git filter-repoor BFG Repo-Cleaner. - [ ] Key Rotation Triggered: If a live production key was pushed upstream, immediately revoke and rotate the credential.
Security
- Security scanPassed, 95 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 repositoryCheckingskills/security-auditor/SKILL.md
Popularity
- Repository stars
- 3
- 7-day trend score
- 7
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
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/ieeecsopen/mcp-cs/security-auditor)