security-auditor
Skill11 starsChanged 6 months agoMITView on GitHub
Audits source code against the OWASP Top 10 (2021) and produces concrete, exploitable findings with proof-of-concept, severity ratings, and copy-pasteable fixes. Use this skill when the user asks to "do a security review", "audit this code for vulnerabilities", "check for OWASP Top 10 issues", "find security bugs", "is this code safe", "review for injection/XSS/SSRF/auth flaws", or before shipping security-sensitive code.
41 other projects use a version of this.
Adopted by
Most recently taken up by
- grimoire-rs/grimoiretheir own version, first seen Oct 4, 2026
- Despensativo/OpenWrt-Skillstheir own version, first seen Oct 3, 2026
- raphaeltm/simple-agent-managertheir own version, first seen Sep 29, 2026
- cofin/flowtheir own version, first seen Sep 26, 2026
- mcabreradev/hermes-sdd-agencytheir own version, first seen Sep 17, 2026
- mysleekdesigns/crawlforge-mcptheir own version, first seen Sep 15, 2026
Used with
Projects with it also use performance-optimizer, test-engineer and 8 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.
glinckerSkillperformance-optimizer
Analyze and optimize code performance, identify bottlenecks, and suggest improvements
Also in 4 projects that use this
JohnJBorenSkilltest-engineer
Testing strategy, test patterns, and coverage optimization for unit, integration, and E2E tests
Also in 4 projects that use this
JeffallanSkilldevops-engineer
Creates Dockerfiles, configures CI/CD pipelines, writes Kubernetes manifests, and generates Terraform/Pulumi infrastructure templates. Handles deployment automation, GitOps configuration, incident response runbooks, and internal developer platform tooling. Use when setting up CI/CD pipelines, containerizing applications, managing infrastructure as code, deploying to Kubernetes clusters, configuring cloud platforms, automating releases, or responding to production incidents. Invoke for pipelines, Docker, Kubernetes, GitOps, Terraform, GitHub Actions, on-call, or platform engineering.
Also in 4 projects that use this
lotosbinSkillui-ux-designer
UI/UX 设计师专家,精通界面设计、交互设计、用户体验和设计系统
Also in 3 projects that use this
glinckerSkillqa-engineer
QA specialist agent for test planning, execution, and regression analysis
Also in 3 projects that use this
ArogyaReddySkillchangelog-generator
Automatically creates user-facing changelogs from git commits by analyzing commit history, categorizing changes, and transforming technical commits into clear, customer-friendly release notes. Turns hours of manual changelog writing into minutes of automated generation.
Also in 4 projects that use this
Other versions41 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 41
- alirezarezvani/claude-code-tresor★ 777same name
- pavel-molyanov/molyanov-ai-dev★ 296same name
- dralgorhythm/claude-agentic-framework★ 124same name
- nahisaho/MUSUBI★ 77same name
- raphaeltm/simple-agent-manager★ 60same name
- inbharatai/claude-skills★ 37same name
- jshsakura/awesome-opencode-skills★ 29same name
- Fandry96/k3-agentic-skills★ 27same name
- codebygarv/Ai-skills★ 26same name
- cofin/flow★ 17same name
31 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 repository74 other files it gives its agents.
- 0-templateSkill
- ab-test-analyzerSkill
- adr-authorSkill
- api-designerSkill
- api-docs-writerSkill
- aws-cost-optimizerSkill
- bash-script-hardeningSkill
- blog-post-writerSkill
- book-summarizerSkill
- changelog-keeperSkill
- chart-chooserSkill
- code-reviewerSkill
- competitive-analysisSkill
- concept-explainerSkill
- cover-letter-writerSkill
- cron-schedulerSkill
- data-pipeline-architectSkill
- debug-detectiveSkill
- decision-matrixSkill
- dependency-upgraderSkill
- dockerfile-proSkill
- email-composerSkill
- error-handling-patternsSkill
- event-plannerSkill
- flashcard-generatorSkill
- gdpr-data-mapperSkill
- gift-advisorSkill
- github-actions-builderSkill
- git-workflowSkill
- habit-builderSkill
- incident-postmortemSkill
- interview-prepSkill
- job-description-writerSkill
- json-schema-authorSkill
- kubernetes-manifest-authorSkill
- language-tutorSkill
- meal-plan-builderSkill
- meeting-summarizerSkill
- mermaid-diagram-builderSkill
- nginx-config-proSkill
- observability-setupSkill
- okr-writerSkill
- pandas-data-cleaningSkill
- performance-profilerSkill
- personal-budget-plannerSkill
- presentation-builderSkill
- project-plannerSkill
- prompt-engineerSkill
- proofreaderSkill
- public-speaking-coachSkill
- rag-pipeline-designerSkill
- readme-generatorSkill
- refactoring-guideSkill
- regex-architectSkill
- release-notes-writerSkill
- resume-writerSkill
- salary-negotiatorSkill
- secrets-managerSkill
- secure-code-reviewSkill
- secure-password-policySkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 39 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 24
Rate severity: Use the CVSS-lite rubric in references/severity-rubric.md (Critical / High / Medium / Low / Info) based on impact × …
- Distinctive: line 40
If you cannot fill all five, it is a *note* or a *hardening suggestion*, not a finding — label it as such so you do not inflate the report …
- Distinctive: line 80
Prefer framework-native fixes: Use the ORM's parameter binding, the template engine's auto-escaping, the framework's auth decorator — don't …
- Distinctive: line 94
Logging secrets in the "fix": Don't recommend adding logging that captures passwords/tokens.
“Common” is measured: kept by at least 6 in 10 of the 39 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 Auditor
Overview
This skill performs a rigorous, evidence-based security audit of a codebase against the OWASP Top 10 (2021). Every finding must be concrete and exploitable, not a vague "consider validating input." A finding is only worth reporting if you can name the vulnerable file and line, describe how an attacker triggers it, rate its severity, and supply a working fix.
Keywords: security audit, OWASP Top 10, SQL injection, XSS, SSRF, IDOR, broken access control, authentication, secrets, cryptography, deserialization, command injection, path traversal, CSRF, vulnerability, CWE, CVSS, penetration test, threat model, secure code review.
The deliverable is a prioritized findings report (use templates/finding-report.md) where each item follows: vulnerability → location → exploit → impact → fix.
Workflow
- Scope the audit. Identify language(s), framework(s), entry points (HTTP routes, message handlers, CLI args, file uploads), trust boundaries, and where untrusted input enters. Note authn/authz mechanism and the data store(s).
- Run the grep triage. Execute
scripts/grep_audit.sh <path>to surface high-signal patterns (raw SQL string building,eval,pickle.loads,dangerouslySetInnerHTML, hardcoded secrets, weak crypto, disabled TLS verification). Triage is a lead generator, not proof — every hit must be manually confirmed. - Trace tainted data. For each candidate, follow untrusted input from source (request param, header, body, file) to sink (DB query, shell, file path, HTML, deserializer, redirect). A vulnerability exists only when a source reaches a dangerous sink without adequate sanitization for that sink.
- Walk the OWASP checklist. Go through
references/owasp-top-10.mdcategory by category. For each, decide: Not Applicable / No Issue Found / Finding. Do not skip categories — absence of evidence is itself worth noting. - Confirm exploitability. For each finding write a concrete proof-of-concept: the exact request, payload, or call sequence. If you cannot construct a PoC, downgrade to "potential" and say why.
- Rate severity. Use the CVSS-lite rubric in
references/severity-rubric.md(Critical / High / Medium / Low / Info) based on impact × exploitability × exposure. - Write the fix. Provide minimal, idiomatic, copy-pasteable remediation — parameterized query, output encoding, allowlist, framework auth guard. Prefer fixing the root cause, not the symptom.
- Assemble the report. Sort findings by severity. Use
templates/finding-report.md. Include a one-line executive summary and a coverage table showing which OWASP categories you reviewed.
What counts as a real finding
A finding MUST include all five:
| Field | Requirement |
| Vulnerability | Named class + CWE id (e.g. SQL Injection, CWE-89) |
| Location | path/to/file.ext:line and the offending code snippet |
| Exploit | Concrete payload/request showing attacker control reaches the sink |
| Impact | What an attacker gains (data read/write, RCE, account takeover) |
| Fix | Specific code change, not generic advice |
If you cannot fill all five, it is a note or a hardening suggestion, not a finding — label it as such so you do not inflate the report with noise.
The OWASP Top 10 (2021) at a glance
| # | Category | The question to ask |
| A01 | Broken Access Control | Can a user act on data/functions they shouldn't? (IDOR, missing authz, path traversal) |
| A02 | Cryptographic Failures | Is sensitive data protected at rest/in transit? (weak hash, plaintext, hardcoded keys) |
| A03 | Injection | Does untrusted input reach an interpreter? (SQL, NoSQL, OS command, LDAP, XSS) |
| A04 | Insecure Design | Is there a missing security control by design? (no rate limit, no MFA on sensitive flow) |
| A05 | Security Misconfiguration | Defaults, verbose errors, open CORS, debug mode on |
| A06 | Vulnerable Components | Outdated/known-CVE dependencies |
| A07 | Identification & Auth Failures | Weak session mgmt, credential stuffing, weak passwords, JWT flaws |
| A08 | Software & Data Integrity Failures | Insecure deserialization, unsigned updates, untrusted CI/CD |
| A09 | Logging & Monitoring Failures | No audit log on auth events, logging secrets |
| A10 | SSRF | Server fetches an attacker-controlled URL |
Full detail, patterns, and language-specific sinks are in references/owasp-top-10.md.
Worked example
See examples/sql-injection-audit.md for a complete source-to-sink trace, PoC, severity rating, and fix on a vulnerable Flask endpoint. Use it as the model for how every finding should read.
Tainted-data tracing (the core technique)
SOURCE (untrusted) SINK (dangerous) SANITIZER (breaks the chain)
request.args / .form --> cursor.execute(f"...") --> parameterized query (?)
request.json --> subprocess(shell=True) --> arg list + shlex, no shell
request.headers --> open(path) --> resolve + allowlist base dir
user content --> render as raw HTML --> context-aware output encoding
request param URL --> requests.get(url) --> allowlist host + block internal IPsA sink without a reaching source is dead code, not a vuln. A source reaching a sink with a correct sanitizer for that sink is safe. Report only source→sink with no/wrong sanitizer.
Best Practices
- Confirm, don't speculate. Grep finds candidates; you must read the surrounding code to confirm the input is actually attacker-controlled and unsanitized.
- Match the sanitizer to the sink. HTML-escaping does nothing for SQL;
quote()for shell differs from SQL escaping. Wrong-context encoding is a common false sense of safety. - Prefer framework-native fixes. Use the ORM's parameter binding, the template engine's auto-escaping, the framework's auth decorator — don't hand-roll.
- Rank by exploitability, not by category. A "Medium" category with a trivial unauthenticated PoC outranks a "High" category needing admin access.
- Show the PoC. A finding with a concrete curl command is actionable; "input not validated" is ignorable.
- Note what you checked and found clean — it proves coverage and builds trust in the report.
- Cite CWE and CVSS so findings map to standard tracking systems.
Common Pitfalls
- False positives from grep alone.
evalon a hardcoded constant is not a vuln. Always read the data flow. - Stopping at the first sink type. One endpoint can have injection and broken access control. Audit each independently.
- Trusting client-side validation. JS validation is not a security control; the server is the trust boundary.
- Missing second-order injection. Data stored now and concatenated into a query later is still injection.
- Ignoring authz when authn passes. Logged-in ≠ authorized. IDOR/BOLA is the #1 real-world web vuln — always test object ownership.
- Reporting dependency CVEs without reachability. Note them, but rate by whether the vulnerable code path is actually invoked.
- Logging secrets in the "fix". Don't recommend adding logging that captures passwords/tokens.
- Generic advice. "Sanitize input" is not a fix. Show the exact parameterized query or encoder call.
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.

