security-scan
Skill0 starsChanged 23 days agoMITView on GitHub
Pre-commit security scan covering secrets, injection, auth, CVE dependencies. Returns PASS/FAIL verdict with severity-ranked findings and specific remediations.
89 other projects use a version of this.
Adopted by
Most recently taken up by
- Rojios/everything-claude-codetheir own version, first seen Nov 8, 2026
- bsene/skillstheir own version, first seen Nov 8, 2026
- TheurgicDuke771/DataQtheir own version, first seen Nov 8, 2026
- codewithmukesh/dotnet-claude-kittheir own version, first seen Nov 8, 2026
- NemesLaszlo/claude-code-harnesstheir own version, first seen Nov 8, 2026
- pfangueiro/claude-code-agentstheir own version, first seen Nov 8, 2026
Used with
Projects with it also use django-security, deployment-patterns and 6 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
mstuder-slalomSkilldjango-security
Django security best practices, authentication, authorization, CSRF protection, SQL injection prevention, XSS prevention, and secure deployment configurations.
Also in 5 projects that use this
royaluniondesign-sysSkilldeployment-patterns
Deployment workflows, CI/CD pipeline patterns, Docker containerization, health checks, rollback strategies, and production readiness checklists for web applications.
Also in 5 projects that use this
mstuder-slalomSkillspringboot-security
Spring Security best practices for authn/authz, validation, CSRF, secrets, headers, rate limiting, and dependency security in Java Spring Boot services.
Also in 4 projects that use this
DonTiziSkilldependency-check
Analyze project dependencies for outdated packages, security vulnerabilities, and licensing issues. Use for dependency audits and maintenance.
Also in 3 projects that use this
RojiosSkillsecurity-bounty-hunter
Hunt for exploitable, bounty-worthy security issues in repositories. Focuses on remotely reachable vulnerabilities that qualify for real reports instead of noisy local-only findings.
Also in 3 projects that use this
royaluniondesign-sysSkillsearch-first
Research-before-coding workflow. Search for existing tools, libraries, and patterns before writing custom code. Invokes the researcher agent.
Also in 6 projects that use this
- +1 more from mstuder-slalom
Other versions89 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 89
- openai/codex-security★ 11ksame name
- openai/plugins★ 7.8ksame name
- zereight/gitlab-mcp★ 2.1ksame name
- heartleo/zlib★ 1.5ksame name
- codewithmukesh/dotnet-claude-kit★ 808same name
- bagofwords1/bagofwords★ 463same name
- loulanyue/awesome-claude-notes★ 272same name
- Resgrid/Core★ 238same name
- GoogleCloudPlatform/cloud-solutions★ 139same name
- Fmarzochi/EGC★ 61same name
79 more not listed
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 repository32 other files it gives its agents.
- .claude/CLAUDE.mdCLAUDE.md
- api-designSkill
- arch-constraint-guardSkill
- backend-patternsSkill
- clean-architectureSkill
- codebase-mappingSkill
- context-budgetSkill
- cqrsSkill
- ddd-architectureSkill
- debug-flowSkill
- dependency-auditSkill
- django-patternsSkill
- django-tddSkill
- event-driven-architectureSkill
- fd-codenavSkill
- fd-mapSkill
- frontend-patternSkill
- git-releaseSkill
- git-workflowSkill
- golang-patternsSkill
- hexagonal-architectureSkill
- java-patternsSkill
- layered-architectureSkill
- performance-profilingSkill
- postgres-patternsSkill
- python-patternsSkill
- refactor-guideSkill
- research-firstSkill
- rust-patternsSkill
- saga-architectureSkill
- tdd-workflowSkill
- test-gap-detectorSkill
The file
We split this skill into the rules it gives an agent
10 rules. 0 are common, 10 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 80 edited versions we read keep these.
10
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
- Distinctive: line 14
Before merging any PR that touches auth, data access, or API routes
- Distinctive: line 15
Before every production deployment
- Distinctive: line 16
When adding new dependencies
- Distinctive: line 17
When changing environment variable handling
- Distinctive: line 22
Every finding includes a specific remediation
- Distinctive: line 24
No exceptions without documented risk acceptance
- Distinctive: line 28
Check for hardcoded secrets (grep patterns)
- Distinctive: line 29
Check for injection vulnerabilities (SQL, command, template)
- Distinctive: line 30
Verify auth middleware on protected routes
- Distinctive: line 31
Check input validation at API boundaries
“Common” is measured: kept by at least 6 in 10 of the 80 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 Scan Skill
Catches security issues before they reach production. Returns a severity-ranked report with specific remediations.
When to Activate
Activate:
- Before merging any PR that touches auth, data access, or API routes
- Before every production deployment
- When adding new dependencies
- When changing environment variable handling
Core Principles
- Security takes priority over convenience
- Every finding includes a specific remediation
- CRITICAL or HIGH = must fix before merge
- No exceptions without documented risk acceptance
Workflow
- Check for hardcoded secrets (grep patterns)
- Check for injection vulnerabilities (SQL, command, template)
- Verify auth middleware on protected routes
- Check input validation at API boundaries
- Run
npm audit --audit-level=moderate - Review sensitive data in logs
- Produce verdict
OWASP Top 10 Quick Reference
| ID | Name | Check For |
| A01 | Broken Access Control | Missing auth checks, IDOR, privilege escalation |
| A02 | Cryptographic Failures | HTTP for sensitive data, MD5/SHA1 for passwords |
| A03 | Injection | SQL/NoSQL/cmd/template injection via string concat |
| A04 | Insecure Design | Missing rate limiting, no lockout after failed logins |
| A05 | Security Misconfiguration | Debug mode in prod, default credentials, verbose errors |
| A06 | Vulnerable Components | CVEs in dependencies (run npm audit) |
| A07 | Auth Failures | Missing middleware, weak JWT, no session invalidation |
| A08 | Integrity Failures | Missing input validation, unsafe deserialization |
| A09 | Logging Failures | Passwords/tokens in logs, insufficient logging |
| A10 | SSRF | User-controlled URLs fetched by server without validation |
Scan Commands
# Dependency vulnerabilities
npm audit --audit-level=moderate
# Hardcoded secrets (grep patterns)
grep -r "password\s*=\s*['\"]" src/ --include="*.ts"
grep -r "api_key\s*=\s*['\"]" src/ --include="*.ts"
grep -r "secret\s*=\s*['\"]" src/ --include="*.ts"
# SQL string concatenation
grep -r "query\`.*\${" src/ --include="*.ts"
grep -rn "query.*+.*req\." src/ --include="*.ts"Output Format
## Security Scan Report
### 🔴 Critical
| # | File | Line | Issue | Remediation |
|---|------|------|-------|-------------|
### 🟠 High
| # | File | Line | Issue | Remediation |
|---|------|------|-------|-------------|
### 🟡 Medium
| # | File | Line | Issue | Remediation |
|---|------|------|-------|-------------|
### Dependencies
- npm audit: 0 critical, 0 high, 2 moderate (tracked)
### Verdict: PASS ✅ | FAIL ❌ | PASS_WITH_NOTES ⚠️
FAIL if any Critical or High findings.
PASS_WITH_NOTES if only Medium or Low findings.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.

