ieeecsopen/mcp-cs/security-auditor

Claude Code and agent skill by ieeecsopen/mcp-cs

Trust tier 3
  • community
  • ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Source check pending

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-auditor

Semi-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

┌────────────────────────────────────────────────────────────────────────────┐
│ Detected Secret Signatures & Prefixes │
├──────────────────────┬─────────────────────────────┬───────────────────────┤
│ Secret Type │ Detection Pattern │ Default Env Var Name │
├──────────────────────┼─────────────────────────────┼───────────────────────┤
│ OpenAI / Claude Key │ `sk-[a-zA-Z0-9]{32,}` │ `OPENAI_API_KEY` │
├──────────────────────┼─────────────────────────────┼───────────────────────┤
│ GitHub PAT │ `ghp_[a-zA-Z0-9]{36}` │ `GITHUB_TOKEN` │
├──────────────────────┼─────────────────────────────┼───────────────────────┤
│ AWS Access Key ID │ `AKIA[0-9A-Z]{16}` │ `AWS_ACCESS_KEY_ID` │
├──────────────────────┼─────────────────────────────┼───────────────────────┤
│ Private RSA/EC Key │ `-----BEGIN PRIVATE KEY---` │ `PRIVATE_KEY` │
├──────────────────────┼─────────────────────────────┼───────────────────────┤
│ Stripe Secret Key │ `sk_live_[0-9a-zA-Z]{24}` │ `STRIPE_SECRET_KEY` │
└──────────────────────┴─────────────────────────────┴───────────────────────┘

Step-by-Step Security Protocol

Phase 1: Automated Secret Discovery
  1. Invoke security_scan_secrets passing targetDir: process.cwd().
  2. Inspect all text files excluding .git, node_modules, dist, .next, and lockfiles.
  3. Classify matches by file path, line number, secret type, and masked preview snippet.
Phase 2: Safe Auto-Sanitization
  1. Preview proposed code replacements using security_auto_sanitize with dryRun: true.
  2. 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_secrets with 0 findings.
  • [ ] `.env` Excluded from Git: git status verifies .env is ignored.
  • [ ] Git History Cleaned: If a key was previously committed, advise running git filter-repo or 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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/ieeecsopen/mcp-cs/security-auditor/badge)](https://verified-skill.com/skills/ieeecsopen/mcp-cs/security-auditor)

Something wrong with this skill or its page? Tell us.