security-scan
Skill138 starsChanged 5 months agoApache-2.0View on GitHub
Performs a security audit of the project source code and dependencies to identify vulnerabilities and recommend remediations. Use when scanning the codebase for security issues. Don't use for functional unit testing or style-only code formatting.
We split this skill into the rules it gives an agent
5 rules. 0 are common, 2 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 74 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 30
Failure handling: If no source code or configuration files are found in the workspace, halt execution and notify the user.
- Very specific: line 50
Injection flaws (CWE-89, CWE-78): Check for string concatenation or f-strings in SQL queries, shell commands (os.system or subprocess with …
- Very specific: line 57
Hardcoded secrets and credentials (CWE-798): Check for hardcoded API keys, passwords, Flask secret_key literals, or tokens in source files.
- Very specific: line 59
Authentication, authorization, and session security: Check cookie flags (HttpOnly, Secure, SameSite), access control on sensitive …
- Distinctive: line 81
Ask the user which findings they want to remediate before modifying source files.
“Common” is measured: kept by at least 6 in 10 of the 74 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
Run security code scan
<!--
Disabling markdownlint MD029 to provide explicit ordering to avoid
confusing the LLM.
--><!-- markdownlint-disable MD029 --><!--
Disabling markdownlint MD030 to allow the list overflowing to numbers
>=10.
--><!-- markdownlint-disable MD030 -->Prerequisites
- Project source files: Application source code, templates, and dependency
manifests (
requirements.inandrequirements.txt) present in the workspace. - Development standards: Workspace rules defined in
.agents/rules/dev-rules.md. - Failure handling: If no source code or configuration files are found in the workspace, halt execution and notify the user.
Workflow
1. Discover attack surface and scope
- Enumerate all application source files, HTML templates, configuration files,
and dependency manifests in the project (excluding
venv/,.venv/, and__pycache__/). - Identify trust boundaries, database queries, external service calls, and user input entry points such as HTTP query parameters, form submissions, JSON payloads, file uploads, and headers.
2. Analyze code for security vulnerabilities
Inspect the codebase against common vulnerability classes from the Open Worldwide Application Security Project (OWASP) Top 10 and Common Weakness Enumeration (CWE):
- Injection flaws (CWE-89, CWE-78): Check for string concatenation or
f-strings in SQL queries, shell commands (
os.systemorsubprocesswithshell=True), or template rendering (render_template_string). - Cross-Site Scripting (XSS, CWE-79) and Cross-Site Request Forgery (CSRF,
CWE-352): Check HTML templates for unescaped variables (
| safeorMarkup) and verify state-changing POST/PUT/DELETE forms and routes enforce CSRF protection. - Hardcoded secrets and credentials (CWE-798): Check for hardcoded API
keys, passwords, Flask
secret_keyliterals, or tokens in source files. - Authentication, authorization, and session security: Check cookie flags
(
HttpOnly,Secure,SameSite), access control on sensitive endpoints, and input validation. - Insecure configuration and error exposure (CWE-209, CWE-489): Check for
debug mode enabled in code (
debug=True), overly permissive CORS or host bindings, and raw stack traces returned to clients. - Dependency and container hygiene: Review
requirements.inandrequirements.txtfor unpinned packages, missing hashes, or known insecure library versions, and verifyDockerfileconfigurations (if present) against.agents/rules/dev-rules.md.
3. Generate security findings report
Present a structured security assessment report categorized by severity
(Critical, High, Medium, Low):
- Severity and category: Severity level and vulnerability class / CWE ID.
- Location: File path and line numbers.
- Impact: Explanation of how the issue could be exploited.
- Recommended fix: Concrete code or configuration change to remediate the vulnerability.
Ask the user which findings they want to remediate before modifying source files.
4. Remediate and verify
- Upon user approval, apply the recommended security fixes to the affected
files following
.agents/rules/dev-rules.md. - Re-inspect the modified files and run the project's test suite (if present) to verify that all vulnerabilities are resolved without breaking application functionality.
- Summarize the remediated vulnerabilities and verification results for the user.
Other versions82 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 82
- openai/codex-security★ 11ksame name
- openai/plugins★ 7.4ksame name
- zereight/gitlab-mcp★ 2.1ksame name
- heartleo/zlib★ 1.2ksame name
- bagofwords1/bagofwords★ 461same name
- loulanyue/awesome-claude-notes★ 272same name
- Resgrid/Core★ 229same name
- Fmarzochi/EGC★ 61same name
- drvoss/everything-copilot-cli★ 49same name
- simoncorry/foundry★ 39same name
72 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.
Used alongsideProjects with it also use django-security, springboot-security and 10 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
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
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
romaintoso78Skillsecurity-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
nek1987Skillpostgres-patterns
PostgreSQL patterns for reviewing migrations and writing efficient queries. Use when reviewing Alembic migrations, optimizing queries, or debugging database issues.
Also in 6 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
- +2 more from mstuder-slalom
In this repository28 other files it gives its agents.
- spanner-provisioningSkill
- ad-copywritingSkill
- brand-strategySkill
- platform-specsSkill
- trend-analysisSkill
- video-storytellingSkill
- visual-directionSkill
- ad-copywritingSkill
- brand-strategySkill
- platform-specsSkill
- trend-analysisSkill
- video-storytellingSkill
- visual-directionSkill
- code-reviewSkill
- documentationSkill
- idea-to-appSkill
- open-prSkill
- pre-commitSkill
- unit-testsSkill
- modernize-dotnet-cloudrunSkill
- legacy-app-generatorSkill
- ingress2gatewaySkill
- bigframes-bqmlSkill
- model-evaluationSkill
- pipeline-generatorSkill
- spark-lightning-optimizationSkill
- unified-model-registrySkill
- zero-copy-ingestionSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
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.

