skills/security-scanner/SKILL.md
Scan workspace for potential security risks including exposed passwords, API keys, tokens, and other sensitive data
npx skillsauth add bizshuk/llm_plugin Security ScannerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill helps you identify potential security vulnerabilities in your workspace by scanning for hardcoded credentials, API keys, tokens, and other sensitive information that should not be committed to version control.
The security scanner looks for common patterns of sensitive data:
Scan the entire workspace for all security risks:
# The assistant will:
# 1. Search for common secret patterns
# 2. Check for hardcoded credentials
# 3. Identify suspicious files (e.g., .env not in .gitignore)
# 4. Report findings with file locations and line numbers
Simply ask: "Run a security scan" or "Check for exposed secrets"
You can also request specific scans:
Request a scan for specific patterns:
When you invoke this skill, the assistant will:
Identify Scan Scope
Pattern Matching
Contextual Analysis
Report Generation
# ❌ Hardcoded AWS credentials
AWS_ACCESS_KEY_ID = "example"
AWS_SECRET_ACCESS_KEY = "example"
# ❌ Database password in connection string
DATABASE_URL = "postgresql://user:MyP@ssw0rd@localhost:5432/db"
# ❌ Private API key
STRIPE_SECRET_KEY = "example"
// ⚠️ Suspicious base64 string
const token = "example";
// ⚠️ Hardcoded password variable
let password = "example";
# ℹ️ In test files or examples
export TEST_API_KEY="test_abc123"
# ℹ️ Placeholder patterns
password = "YOUR_PASSWORD_HERE"
For each finding, the assistant will suggest:
Move to Environment Variables
# Instead of hardcoding:
API_KEY = "abc123"
# Use:
API_KEY = os.getenv("API_KEY")
Use Secret Management
Update .gitignore
Rotate Compromised Secrets
git-secrets or truffleHog for history scanningUse Git Hooks
pre-commit, detect-secrets, git-secretsThis skill uses a scanning script located at:
scripts/scan_secrets.sh - Main scanning logicThe scanner automatically excludes:
node_modules/, vendor/, .git/dist/, build/, target/⚠️ This skill scans local files only and does not transmit secrets anywhere. However, findings are shown in the assistant's output, so be cautious when sharing scan results.
To run your first security scan, simply say:
"Scan my workspace for security risks"
The assistant will scan your workspace and provide a detailed report of any potential security issues found.
tools
運用 codebase MCP 審查 Merge Request,包含邏輯重複、潛在問題、測試覆蓋率與命名一致性檢查
tools
Explore niche markets, generate viral content ideas, write scripts, plan 30-day calendars, monetization, and automation.
data-ai
Project metadata update
development
Run a private network security scan, diagnose all discovered hosts against 11 risk categories, and generate a security report within 60 minutes