security-scanner
Skill37 starsChanged 13 months agoApache-2.0View on GitHub
Comprehensive security scanner for vulnerabilities, hardcoded secrets, and OWASP Top 10 issues
- Reads credentials
9 other projects use a version of this.
Adopted by
Most recently taken up by
- alexblag023/claude-skillstheir own version, first seen Oct 1, 2026
- dkpapadopoulos/auto-claude-skillstheir own version, first seen Sep 22, 2026
- lexicalninja/my-little-scrum-teamtheir own version, first seen Jul 26, 2026
- ianalloway/openclaw-skillstheir own version, first seen Jun 26, 2026
- leonvanzyl/claude-code-pro-workflow-demotheir own version, first seen May 25, 2026
- casedone/claude-code-security-pluginstheir own version, first seen Mar 14, 2026
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- sinewaveai/agent-security-scanner-mcp★ 122same name
- dkpapadopoulos/auto-claude-skills★ 6same name
- casedone/claude-code-security-plugins★ 4same name
- ianalloway/openclaw-skills★ 4same name
- leonvanzyl/claude-code-pro-workflow-demo★ 4same name
- lexicalninja/my-little-scrum-team★ 2same name
- mehdiozdemir/awesome-agent-skills★ 2same name
- alexblag023/claude-skills★ 1same name
- lodetomasi/claude-code-skills-tools★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository22 other files it gives its agents.
- backend-architectSkill
- data-engineerSkill
- devops-specialistSkill
- frontend-specialistSkill
- qa-engineerSkill
- changelog-generatorSkill
- git-hooks-managerSkill
- workflow-composerSkill
- code-migratorSkill
- performance-optimizerSkill
- cicd-pipeline-builderSkill
- deployment-managerSkill
- docker-wizardSkill
- environment-managerSkill
- k8s-generatorSkill
- pr-reviewerSkill
- readme-generatorSkill
- tech-writerSkill
- aident-skillSkill
- api-connectorSkill
- database-querySkill
- unit-test-generatorSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 4 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 8 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 29
Search for common secret patterns:
- Distinctive: line 188
Never commit secrets: Use .env files (in .gitignore)
- Distinctive: line 189
Sanitize all input: Treat all user input as untrusted
- Distinctive: line 200
Bash: Run security tools (npm audit, etc.)
“Common” is measured: kept by at least 6 in 10 of the 8 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Security Scanner
Comprehensive security analysis detecting hardcoded secrets, SQL injection, XSS, insecure dependencies, and OWASP Top 10 vulnerabilities.
What This Skill Does
- Scans for hardcoded secrets (API keys, passwords, tokens)
- Detects SQL injection vulnerabilities
- Finds XSS attack vectors
- Checks insecure dependencies
- Identifies authentication/authorization flaws
- Reviews CORS and CSP configurations
- Checks for insecure cryptography
Instructions
Phase 1: Secret Detection
Search for common secret patterns:
# API Keys
Grep for patterns:
- AWS: AKIA[0-9A-Z]{16}
- GitHub: ghp_[0-9a-zA-Z]{36}
- Slack: xox[baprs]-[0-9]{10,13}-[0-9a-zA-Z]{24,}
- Stripe: sk_live_[0-9a-zA-Z]{24}
- Private keys: -----BEGIN.*PRIVATE KEY-----
# Passwords
- password\s*=\s*["'][^"']+["']
- DB connection strings
- Hardcoded credentialsExample findings:
HIGH: Hardcoded AWS key found
File: src/config.js:12
Pattern: const AWS_KEY = "AKIAIOSFODNN7EXAMPLE"
Risk: Exposed AWS credentials
Fix: Use environment variables or secrets managerPhase 2: Injection Vulnerabilities
SQL Injection:
# BAD: String concatenation
query = "SELECT * FROM users WHERE id = " + user_id
# GOOD: Parameterized query
query = "SELECT * FROM users WHERE id = ?"Command Injection:
// BAD: Direct execution
exec(`ls ${userInput}`)
// GOOD: Sanitized input
execFile('ls', [sanitize(userInput)])XSS Detection:
// BAD: innerHTML with user input
element.innerHTML = userInput
// GOOD: textContent or sanitize
element.textContent = userInput
// Or use DOMPurify
element.innerHTML = DOMPurify.sanitize(userInput)Phase 3: Dependency Vulnerabilities
# Check for vulnerable dependencies
npm audit
pip-audit
cargo audit
# Generate report
npm audit --json > audit-report.jsonPhase 4: OWASP Top 10 Checks
- Broken Access Control
- Missing authorization checks
- Insecure direct object references
- Exposed admin endpoints
- Cryptographic Failures
- Hardcoded encryption keys
- Weak algorithms (MD5, SHA1)
- Unencrypted sensitive data
- Injection
- SQL, NoSQL, OS command, LDAP injection
- Unsanitized user input
- Insecure Design
- Missing rate limiting
- No CSRF protection
- Weak session management
- Security Misconfiguration
- Debug mode in production
- Default credentials
- Unnecessary services enabled
Scan Report Format
# Security Scan Report
**Scan Date**: 2025-01-13
**Project**: myapp
**Total Issues**: 12
## Critical (2)
1. Hardcoded AWS credentials
- File: config/aws.js:5
- Risk: Full AWS account compromise
- Fix: Use AWS IAM roles or environment variables
2. SQL Injection vulnerability
- File: api/users.js:45
- Code: `SELECT * FROM users WHERE id = ${userId}`
- Fix: Use parameterized queries
## High (5)
3. XSS vulnerability in search
- File: components/Search.jsx:23
- Risk: Arbitrary JavaScript execution
- Fix: Sanitize user input with DOMPurify
4. Missing authentication on /admin endpoint
- File: routes/admin.js
- Risk: Unauthorized access to admin functions
- Fix: Add authentication middleware
## Medium (3)
5. Weak CORS configuration
- File: server.js:10
- Issue: CORS set to *
- Fix: Whitelist specific domains
## Low (2)
6. Console.log in production
- Multiple files
- Risk: Information disclosure
- Fix: Remove or use proper logging
## Recommendations
1. Implement secrets management (AWS Secrets Manager, Vault)
2. Add input validation library (joi, express-validator)
3. Enable Content Security Policy
4. Implement rate limiting
5. Add security headers (helmet.js)Auto-Fix Suggestions
// Before (Vulnerable)
const query = `SELECT * FROM users WHERE email = '${email}'`;
// After (Fixed)
const query = 'SELECT * FROM users WHERE email = ?';
db.execute(query, [email]);Best Practices
- Never commit secrets: Use .env files (in .gitignore)
- Sanitize all input: Treat all user input as untrusted
- Use prepared statements: Prevent SQL injection
- Implement CSP: Mitigate XSS attacks
- Regular dependency updates: Fix known vulnerabilities
- Principle of least privilege: Minimal permissions
Tool Requirements
- Read: Examine source code
- Grep: Pattern matching for vulnerabilities
- Glob: Find all relevant files
- Bash: Run security tools (npm audit, etc.)
Examples
Example 1: Quick Scan
User: "Scan my code for security issues"
Output:
- 3 Critical: Hardcoded secrets
- 5 High: SQL injection, XSS
- 2 Medium: CORS misconfiguration
- Auto-fix suggestions provided
Example 2: Dependency Audit
User: "Check for vulnerable dependencies"
Output:
- 15 vulnerabilities found
- 10 fixable with
npm audit fix - 5 require manual updates
Changelog
Version 1.0.0
- Secret detection
- Injection vulnerability scanning
- OWASP Top 10 checks
- Dependency auditing
- Auto-fix suggestions
Author
GLINCKER Team
- Repository: claude-code-marketplace
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

