security-audit
Skill14 starsChanged 37 days agoMITView on GitHub
Security audit covering OWASP Top 10, STRIDE, and LLM/AI attack surfaces (prompt injection, tool-call validation, skill supply chain). Use for security reviews, auth/API exposure, and pre-deployment audits.
- Reads credentials
192 other projects use a version of this.
Adopted by
Most recently taken up by
- argos-ci/argostheir own version, first seen Nov 9, 2026
- classroomio/classroomiotheir own version, first seen Nov 9, 2026
- dio-az/dotfilestheir own version, first seen Nov 8, 2026
- roke22/Squadratheir own version, first seen Nov 8, 2026
- qwwiwi/agentos-skills-publictheir own version, first seen Nov 8, 2026
- craigcossairt/trellistheir own version, first seen Nov 8, 2026
Used with
Projects with it also use create-stories, story-done 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.
lilangMaxSkillcreate-stories
Break a single epic into implementable story files. Reads the epic, its GDD, governing ADRs, and control manifest. Each story embeds its GDD requirement TR-ID, ADR guidance, acceptance criteria, story type, and test evidence path. Run after /create-epics for each epic.
Also in 11 projects that use this
lilangMaxSkillstory-done
End-of-story completion review. Reads the story file, verifies each acceptance criterion against the implementation, checks for GDD/ADR deviations, prompts code review, updates story status to Complete, and surfaces the next ready story from the sprint.
Also in 11 projects that use this
nicepkgSkillcommunity-led-growth
Expert in community-led growth (CLG) - leveraging user communities to drive acquisition, retention, and expansion. Covers building developer communities, user groups, ambassador programs, and turning customers into advocates. Knows the difference between community as a feature vs community as a growth engine, and how to measure community ROI. Use when "community-led, CLG, ambassador program, champion program, user community, developer community, word of mouth, user group, " mentioned.
Also in 5 projects that use this
nicepkgSkillph-community-outreach
Engage Reddit, Indie Hackers, Hacker News and other communities for Product Hunt launches. Use this skill to identify relevant communities, craft appropriate posts, and drive cross-platform engagement without appearing spammy.
Also in 5 projects that use this
- +7 more from lilangMax
- +1 more from nicepkg
Other versions192 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 192
- ruvnet/claude-flow★ 80ksame name
- ruvnet/ruflo★ 79ksame name
- PostHog/posthog★ 40ksame name
- Donchitos/Claude-Code-Game-Studios★ 27ksame name
- cloudflare/security-audit-skill★ 18ksame name
- rommapp/romm★ 14ksame name
- kubeshark/kubeshark★ 12ksame name
- maximhq/bifrost★ 9.4ksame name
- mono/SkiaSharp★ 5.6ksame name
- MaxMiksa/Auto-Company★ 3.2ksame name
182 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 repository44 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- adaptSkill
- animateSkill
- auditSkill
- bolderSkill
- brainstormSkill
- build-fixSkill
- business-panelSkill
- checkpointSkill
- clarifySkill
- colorizeSkill
- composition-patternsSkill
- confidence-checkSkill
- config-doctorSkill
- critiqueSkill
- delightSkill
- design-auditSkill
- devils-advocateSkill
- distillSkill
- eval-harnessSkill
- feature-plannerSkill
- fix-prSkill
- frontend-designSkill
- gap-analysisSkill
- grill-with-docsSkill
- hardenSkill
- impeccableSkill
- layoutSkill
- learnSkill
- optimizeSkill
- overdriveSkill
- polishSkill
- pytest-runnerSkill
- python-best-practicesSkill
- quieterSkill
- react-best-practicesSkill
- sc-helpSkill
- shapeSkill
- tddSkill
- typesetSkill
- ui-ux-pro-maxSkill
- uv-packageSkill
- verifySkill
- web-design-guidelinesSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 7 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 173 edited versions we read keep these.
7
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
- Distinctive: line 21
Do NOT use for: performance optimization, code style review
- Distinctive: line 25
Run those first for classic web vulnerabilities.
- Distinctive: line 51
Only report findings with Confidence >= 6.
- Distinctive: line 175
When LLMs invoke tools (function calling, MCP tools, agent actions):
- Distinctive: line 202
When the project loads external skills, plugins, or MCP servers:
- Distinctive: line 215
Before reporting, apply these exclusion rules:
- Very specific: line 217
Test files (test_*, *.test.*, *.spec.*) — secrets in fixtures are expected
- Distinctive: line 223
Confidence recalibration: If finding depends on assumptions about deployment, reduce Confidence by 2.
“Common” is measured: kept by at least 6 in 10 of the 173 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
When to Use
Use proactively when:
- Security review requested
- Auth/authz implementation
- API endpoint exposure
- LLM/AI integration code
- Dependency updates
- Pre-deployment audit
Triggers: security audit, security review, vulnerability check, pentest, threat model, OWASP, security scan
Do NOT use for: performance optimization, code style review
Division of labour with built-ins: Claude Code ships /security-review (diff-level
OWASP-class review) and the security-guidance plugin (edit-time pattern warnings).
Run those first for classic web vulnerabilities; this skill adds what they do not
cover — STRIDE threat modelling, the LLM/AI attack surface (prompt injection, tool-call
validation, skill supply chain) and dependency posture.
Dynamic Context
Project dependencies:
!cat package.json 2>/dev/null | jq -r '.dependencies // empty | keys[]' 2>/dev/null | head -20 || pip list --format=freeze 2>/dev/null | head -20 || echo "No dependencies found"
Security Audit Skill
Purpose
Systematic security audit covering traditional web security and AI-era attack surfaces.
Usage
/security-audit src/api/ # audit specific directory
/security-audit # full project audit
/security-audit --focus llm # LLM security only
/security-audit --focus deps # dependency audit onlyAudit Pipeline
Execute phases sequentially. Each finding gets a Confidence score (1-10). Only report findings with Confidence >= 6. Below 6 = informational note only.
Phase 1: Architecture & Attack Surface Census
Goal: Map the application's trust boundaries and entry points.
- Identify all entry points (HTTP endpoints, WebSocket handlers, CLI args, file uploads, queue consumers)
- Map trust boundaries (public internet, authenticated zone, admin zone, internal services)
- Identify data flows crossing trust boundaries
- List all external service integrations (databases, APIs, cloud services)
Output: Attack surface diagram (text-based)
Phase 2: Secrets Archaeology
Goal: Find hardcoded credentials, leaked keys, weak secret management.
# Pattern scan
grep -rn "password\s*=\|api_key\s*=\|secret\s*=\|token\s*=" --include="*.{py,ts,js,go,rs,java}" .
grep -rn "BEGIN.*PRIVATE KEY" .
grep -rn "sk-[a-zA-Z0-9]" . # OpenAI keys
grep -rn "anthropic-[a-zA-Z0-9]" . # Anthropic keys
grep -rn "ghp_[a-zA-Z0-9]" . # GitHub tokensCheck:
- No secrets in source code
.envfiles in.gitignore- No secrets in git history (
git log -p | grep -i "password\|secret\|api_key") - Environment variables used for all credentials
- Rotation policy documented for all secrets
Phase 3: Dependency Supply Chain
Goal: Identify vulnerable or malicious dependencies.
# Node.js
pnpm audit
# Python
uv pip audit # or pip-audit
# Check for typosquatting
# Check for abandoned packages (no updates >2 years)Check:
- No critical/high CVEs in direct dependencies
- Lock file committed and up to date
- No wildcard version ranges (
*,latest) - No postinstall scripts from untrusted packages
- Dependencies match expected scope (no unexpected network/fs access)
Phase 4: OWASP Top 10 Scan
| # | Vulnerability | What to Check |
| A01 | Broken Access Control | Missing auth middleware, IDOR, path traversal, CORS misconfiguration |
| A02 | Cryptographic Failures | Weak hashing (MD5/SHA1 for passwords), missing TLS, plaintext secrets |
| A03 | Injection | SQL injection, NoSQL injection, command injection, XSS, template injection |
| A04 | Insecure Design | Missing rate limits, no abuse controls, business logic flaws |
| A05 | Security Misconfiguration | Debug mode in prod, default credentials, unnecessary features enabled |
| A06 | Vulnerable Components | Known CVEs in dependencies (Phase 3 overlap) |
| A07 | Auth Failures | Weak passwords allowed, missing MFA, session fixation, JWT issues |
| A08 | Data Integrity Failures | Missing integrity checks on updates, insecure deserialization |
| A09 | Logging Failures | Missing security event logs, logging sensitive data |
| A10 | SSRF | Unvalidated URLs in server-side requests, internal network access |
For each finding: [A0X] file:line — description (Confidence: N/10)
Phase 5: STRIDE Threat Model
For each major component/flow, evaluate:
| Threat | Question | Mitigation Check |
| Spoofing | Can an attacker impersonate a user/service? | Auth tokens, mutual TLS, API keys |
| Tampering | Can data be modified in transit/at rest? | Integrity checks, signed payloads, HMAC |
| Repudiation | Can actions be denied? | Audit logs, signed events |
| Information Disclosure | Can sensitive data leak? | Encryption, access controls, error messages |
| Denial of Service | Can the service be overwhelmed? | Rate limits, resource quotas, circuit breakers |
| Elevation of Privilege | Can a user gain higher access? | RBAC, least privilege, input validation |
Phase 6: LLM & AI Security
This phase applies when the project uses LLM/AI integrations.
Skip if no AI/LLM usage detected. This is the AI-era extension to traditional security auditing.
6.1 Prompt Injection Vectors
Scan for paths where user input reaches LLM prompts:
User Input → [transform?] → System/User Prompt → LLM → [tool calls?] → ResponseCheck:
- User input never concatenated directly into system prompts without sanitization
- Retrieval-augmented content (RAG) treated as untrusted (can contain injected instructions)
- Tool/function call results validated before re-injection into prompt
- Multi-turn conversations don't allow context manipulation via crafted history
- File uploads (PDF, images) scanned for embedded prompt injection payloads
Injection patterns to grep:
grep -rn "system.*\+.*user\|f\".*{user\|\.format(.*user" --include="*.py" .
grep -rn "role.*system.*\$\|`\$.*`.*system" --include="*.{ts,js}" .6.2 Tool/Function Call Validation
When LLMs invoke tools (function calling, MCP tools, agent actions):
- Tool inputs are validated/sanitized before execution
- Tool permissions follow least privilege (no shell access unless required)
- Destructive tools (delete, write, execute) require confirmation or are sandboxed
- Tool output is bounded (prevent memory exhaustion from large responses)
- Tool call chains have depth limits (prevent infinite agent loops)
6.3 API Key & Cost Exposure
- LLM API keys not exposed to client-side code
- Per-user/per-session token limits enforced
- No unbounded loops that could amplify API costs (e.g., recursive agent calls)
- Rate limiting on LLM-powered endpoints
- Cost monitoring/alerting configured for LLM API usage
- Model selection not controllable by end-user input (prevent expensive model switching)
6.4 Output Security
- LLM output not rendered as raw HTML (XSS via generated content)
- LLM-generated code not executed without sandboxing
- LLM responses not used to construct SQL/shell commands without parameterization
- Sensitive data not leaked through LLM responses (PII in training data, context leakage)
- Content filtering applied to user-facing LLM output
6.5 Skill & Plugin Supply Chain
When the project loads external skills, plugins, or MCP servers:
- Skill source verified (official registry, known author, signed)
- Skill permissions audited (what tools/files can it access?)
- No skills with
BashorWriteaccess to sensitive paths without justification - Skill updates don't auto-apply without review
- MCP server configurations reviewed for excessive permissions
- Third-party MCP servers pinned to specific versions
Phase 7: False Positive Filtering
Before reporting, apply these exclusion rules:
- Test files (
test_*,*.test.*,*.spec.*) — secrets in fixtures are expected - Example/template files with placeholder values (
example.env,*.template) - Documentation code blocks showing patterns (not actual credentials)
- Disabled/commented-out code (flag as informational, not critical)
- Development-only configurations (
if (process.env.NODE_ENV === 'development'))
Confidence recalibration: If finding depends on assumptions about deployment, reduce Confidence by 2.
Output Format
Summary Table
## Security Audit Summary
| Severity | Count | Status |
|----------|-------|--------|
| Critical | 0 | - |
| High | 2 | Fix required before deploy |
| Medium | 3 | Fix before next release |
| Low | 5 | Track and address |
| Info | 2 | No action needed |
LLM Security: [Applicable/Not Applicable]
Overall Risk: [Critical/High/Medium/Low]Finding Format
### [CRITICAL] A03 — SQL Injection in user search
- **File**: src/api/users.ts:47
- **Confidence**: 9/10
- **Description**: User input interpolated directly into SQL query
- **Impact**: Full database read/write access
- **Fix**: Use parameterized query
- **Evidence**: `db.query(\`SELECT * FROM users WHERE name = '${name}'\`)`Severity Definitions
| Severity | Definition | Action |
| Critical | Actively exploitable, data breach risk | Stop and fix immediately |
| High | Exploitable with moderate effort | Fix before deploy |
| Medium | Requires specific conditions to exploit | Fix before next release |
| Low | Defense-in-depth improvement | Track in backlog |
| Info | Best practice recommendation | No immediate action |
Related Skills
/verify- General verification pipeline/cso- Extended security officer review (gstack-compatible)
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.

