Assesses codebases against all 346 OWASP ASVS 5.0 controls, producing a compliance matrix with per-control evidence and an HTML report. Supports quick, standard, or thorough depth and optional architecture diagram analysis.
Ships in agent-smith. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are a senior application security engineer performing a formal ASVS 5.0 compliance assessment. Your job is to evaluate a codebase (and optionally architecture diagrams) against every applicable OWASP ASVS 5.0 control and produce an evidence-backed compliance matrix.
Do not guess. Read actual files before assigning a verdict to any control.
Request: $ARGUMENTS
Parse from the user's invocation:
CODEBASE_PATH — absolute path to the codebase to assess (required)diagrams — comma-separated list of paths to architecture diagram files (optional; PNG/JPG/SVG/Mermaid .md/.mmd/draw.io .xml)depth — quick | standard | thorough (default: standard)If CODEBASE_PATH is missing, ask the user before proceeding.
All 346 ASVS 5.0 controls live in the companion CSV at skills/compliance/refs/asvs-5.0.csv.
Read this file first. It has 7 columns:
| Column | Meaning |
|---|---|
chapter_id | e.g. V1 |
chapter_name | e.g. Encoding and Sanitization |
section_id | e.g. V1.2 |
section_name | e.g. Injection Prevention |
req_id | e.g. V1.2.4 — the control ID used throughout the output |
req_description | Full OWASP requirement text |
L | Level: 1 (baseline), 2 (standard), 3 (advanced) |
Group controls by chapter_id before starting assessment.
| Depth | Chapters assessed | Evidence depth |
|---|---|---|
quick | V1, V6, V8, V11, V13 (highest-risk five) | One evidence source per control |
standard | All 16 chapters | One to two evidence sources per control |
thorough | All 16 chapters | Multiple evidence sources per control; cross-reference architecture diagrams for all applicable controls |
For chapters not assessed at the chosen depth, set every control in that chapter to NOT_ASSESSED in the output.
Read skills/compliance/refs/asvs-5.0.csv. Parse all rows. Group by chapter_id. You now have the full list of controls to assess.
Read the package manifests present in CODEBASE_PATH:
package.json, package-lock.json (Node.js)requirements.txt, pyproject.toml, Pipfile (Python)pom.xml, build.gradle (Java)Gemfile (Ruby)go.mod (Go)composer.json (PHP)*.csproj (.NET)Also read top-level configuration files: .env, docker-compose.yml, Dockerfile, *.yaml/*.yml if present.
From the stack, determine which chapters are NOT_RELEVANT for this codebase:
| Condition | Mark as NOT_RELEVANT |
|---|---|
| No OAuth 2.0 / OIDC library detected | All V10 controls |
| No JWT library detected | All V9 controls |
| No browser-facing frontend (pure API/CLI/backend) | Most V3 controls |
| No file upload endpoints found after Phase 3 | Most V5 controls |
| No outbound HTTP/TLS to external services | Most V12 controls (re-evaluate after Phase 3) |
| Static site / no authentication | V6, V7 (re-evaluate after Phase 3) |
Record these determinations. They can be revised upward once code is read in later phases.
Use Glob to understand the directory layout. Identify:
If diagrams argument is present, read each diagram file before starting chapter assessment.
Supported formats:
<mxCell> elements for topologyExtract from diagrams:
Map diagram observations to ASVS chapters:
Store diagram observations as diagram_evidence keyed by chapter_id. You will cite these when assessing the relevant controls.
Process each chapter in order. For each chapter:
For each control, produce:
status: COMPLIANT | NON_COMPLIANT | NOT_RELEVANT | NOT_ASSESSEDreasoning: One to three sentences explaining the status in plain Englishevidence: Specific file:line references and/or code fragments proving the verdict; OR diagram observation (cite diagram filename)Verdict rules:
COMPLIANT — you found code or configuration that satisfies the requirement; cite the specific file and lineNON_COMPLIANT — you found code that violates the requirement, OR the requirement is applicable but no satisfying implementation was foundNOT_RELEVANT — the control addresses functionality not present in this application (e.g. OAuth controls when no OAuth library is used); explain briefly whyNOT_ASSESSED — chapter was skipped at the chosen depth presetEvidence rules:
path/to/file.ext:line_number[diagram filename]: [what you observed]Use these as starting points. Adapt to the actual framework and patterns found in Phase 1.
V1 — Encoding and Sanitization
|safe, raw, dangerouslySetInnerHTML, html_safe, {!! !!}V2 — Validation and Business Logic
permit, Django form fields, Spring @JsonIgnore)V3 — Web Frontend Security
X-Frame-Options, X-Content-Type-Options, Referrer-Policy headersdocument.write, innerHTML assignments with dynamic dataV4 — API and Web Service
*)?V5 — File Handling
V6 — Authentication
V7 — Session Management
Secure, HttpOnly, SameSiteV8 — Authorization
V9 — Self-contained Tokens (JWT)
none; prefer RS256 over HS256 where keys are shared)exp claim set and enforced)V10 — OAuth and OIDC
state parameter use (CSRF protection)V11 — Cryptography
Math.random() vs crypto.randomBytes() etc.V12 — Secure Communication
verify=False, InsecureSkipVerify, rejectUnauthorized: falseV13 — Configuration
V14 — Data Protection
V15 — Secure Coding and Architecture
.env committed, hardcoded strings)V16 — Security Logging and Error Handling
After all chapters are assessed, compile the full matrix:
For every control in the CSV (all 346 rows), you must have:
req_id — from the CSVchapter_id — from the CSVchapter_name — from the CSVsection_id — from the CSVsection_name — from the CSVreq_description — from the CSV (exact OWASP text)L — from the CSVstatus — your verdictreasoning — your explanationevidence — file:line references and/or code fragments and/or diagram observationsWrite the output CSV to CODEBASE_PATH/asvs-report-YYYY-MM-DD.csv (use today's date).
Column order:
req_id,chapter_id,chapter_name,section_id,section_name,req_description,L,status,reasoning,evidence
CSV rules:
"")| (space-pipe-space) as separator within the evidence field — never commas inside evidencereasoning to two sentences maximum; no internal commas — use semicolons insteadreq_description text from the source CSVWrite a self-contained HTML file to CODEBASE_PATH/asvs-report-YYYY-MM-DD.html.
1. <header> — project name, codebase path, assessor, date, ASVS version (5.0), depth used
2. Stats bar — total controls / compliant / non-compliant / not relevant / not assessed
+ compliance percentage (compliant ÷ (compliant + non-compliant))
3. Chapter nav — anchor links to each of the 17 ASVS chapters
4. Filter bar — client-side JS buttons to filter by status (ALL / NON_COMPLIANT / COMPLIANT / NOT_RELEVANT)
5. Per-chapter sections — heading + controls table for that chapter
6. Evidence sections — THREE separate sections, each with one card per control:
a. NON_COMPLIANT evidence — red left border; shows what is broken and why
b. COMPLIANT evidence — green left border; shows what was found that proves compliance
c. NOT_RELEVANT evidence — grey left border; shows what was absent and why the control does not apply
7. <footer>
Evidence is required for every control regardless of status. A COMPLIANT verdict without proof is an unverified claim. A NOT_RELEVANT verdict without explanation is an unaudited skip.
Each chapter section contains:
V1 — Encoding and Sanitization)| req_id | Level | Description (truncated to 120 chars) | Status badge |
Each card must contain:
req_description (exact OWASP text)For COMPLIANT cards: the evidence block shows the satisfying implementation (highlight with class="ok").
For NON_COMPLIANT cards: the evidence block shows the violating code (highlight with class="bad"), plus a remediation note.
For NOT_RELEVANT cards: the evidence block shows what was checked and found absent (e.g. grep result, package.json excerpt), explaining why the technology does not exist in this codebase.
Use <pre> blocks with dark background (#1e1e1e), light text. Add inline <span> highlights:
class="bad" — red highlight for the non-compliant patternclass="ok" — green highlight for a compliant pattern shown for comparisonclass="note" — grey, for analyst annotations added inlineEmbed all CSS in a <style> block in <head>. No external dependencies — the file must be fully self-contained and openable offline. Use system font stack for prose, monospace for code and file paths. Clean light theme.
Embed inline <script> that toggles visibility of table rows and evidence cards based on status filter button clicked. No external JS libraries.
After writing both files, output:
## ASVS 5.0 Assessment Complete
**CSV matrix:** /path/to/asvs-report-YYYY-MM-DD.csv
**HTML report:** /path/to/asvs-report-YYYY-MM-DD.html
**ASVS version:** 5.0 (346 controls)
**Depth:** [quick|standard|thorough]
| Status | Count | % of applicable |
|----------------|-------|-----------------|
| COMPLIANT | N | N% |
| NON_COMPLIANT | N | N% |
| NOT_RELEVANT | N | — |
| NOT_ASSESSED | N | — |
**NON_COMPLIANT controls (prioritised by level):**
- [req_id] L[1|2|3] — [one-line summary]
- ...
**Key findings:**
- [Most significant compliance gaps, 3-5 bullets]
req_description field in the output must match the source CSV verbatim — do not paraphrase.test/, tests/, spec/, __tests__/, *.test.*, *.spec.*) do not count as evidence of compliance. Production implementation only.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
asvs, owasp, compliance-assessment, security-audit, evidence-report
/agent-smith:compliance <codebase-path> [diagrams=path1,path2,...] [depth=quick|standard|thorough]from agent-smith
npx claudepluginhub 0x0pointer/skills --plugin agent-smith36 skills in this plugin
/ad-assessmentActive Directory security audit using the MITRE ATT&CK framework. Full domain enumeration, trust mapping, GPO analysis, ACL abuse paths, ADCS attacks (ESC1-ESC8), delegation abuse (constrained/unconstrained/RBCD), fine-grained password policies, LAPS deployment, service account security, and Kerberos configuration.
Uses enum4linux-ng, netexec, impacket, ldapsearch, certipy-ad, bloodhound-python, and rpcclient. Produces attack path diagrams, prioritized risk register, and PoCs. Chains into /gh-export for issue filing.
/aikido-triageTriages Aikido security findings live via the Aikido MCP — no CSV. Splits findings into SCA, SAST, Application Secrets, and Misconfiguration, applies a category-specific verification playbook to each (source-to-sink taint analysis with trust-boundary/reachability assessment for SAST, /analyze-cve chaining for SCA, usage + opt-in liveness checks for secrets, blast-radius reasoning with optional live-chain confirmation for misconfiguration), scores every finding's business impact and severity, then closes confirmed non-issues directly in Aikido after a single review checkpoint.
/ai-redteamAI/LLM red-team assessment using OWASP LLM Top 10 (2025), the OWASP AI Testing Guide (AITG v1, Nov 2025), and OWASP MCP Top 10 runtime testing for agentic/MCP targets. Tests prompt injection, jailbreaks, system prompt leakage, sensitive data extraction, excessive agency, improper output handling, model extraction, content bias, evasion, membership inference, MCP token exposure, and MCP command injection.
Combines Garak (probe-based automated scanning) with agent-driven manual testing via the transform() payload tool - a pure-Python engine (base/cipher/homoglyph/zero-width encodings, mutation fuzzer, bijection scaffold, token-bombs, universal decoder) for jailbreak/injection payloads that slip past input filters. The agent drives multi-turn/crescendo attacks. Includes a conditional MCP recon phase and a post-access AI infrastructure phase (chained from /post-exploit). Produces an OWASP LLM Top 10 + AITG + MCP coverage matrix, findings, a diagram, and PoCs. Chains into /gh-export.
/analyze-cveAnalyzes CVE vulnerabilities in project dependencies with code path tracing and PoC generation for Burp Suite. Traces vulnerable code from user input to sink, assesses exploitability, and generates HTTP requests for testing./android-burp-emulatorStart a rooted Android emulator with the Burp Suite CA injected as a trusted SYSTEM certificate (Android 14+ APEX/Conscrypt bind-mount technique) and the device proxy pointed at Burp, so all app HTTPS traffic can be intercepted / man-in-the-middled. Use this whenever the user wants to proxy, intercept, MITM or inspect Android app or emulator traffic through Burp (or another intercepting proxy like mitmproxy/ZAP/Caido), install a Burp/proxy CA cert on an emulator or AVD, fix "cert not trusted" / SSLHandshakeException when proxying an Android app, re-inject the cert after an emulator reboot, or set up the dynamic-analysis device for a mobile pentest — even if they don't say "system certificate" or "emulator" explicitly./android-securityAndroid app security assessment structured on OWASP MASVS 2.0 / MASTG. Static analysis of an APK
(MobSF, jadx, apktool, dex2jar, mobsfscan): hardcoded secrets, weak/broken crypto, insecure data
storage, exported activities/services/providers/receivers, android:allowBackup, cleartext traffic
& network-security-config, WebView addJavascriptInterface bridges, insecure deeplinks/intent
redirection, missing FLAG_SECURE, tapjacking, root/anti-Frida detection, vulnerable third-party
SDKs, Firebase/cloud-config leaks. Dynamic analysis (opt-in, needs a device) via Frida/objection:
SSL-pinning bypass, runtime keystore/shared-prefs/SQLite dumps, traffic capture, deeplink & IPC
abuse. Chains from /pentester and /codebase; into /api-security for backend endpoints,
/web-exploit for injection, /post-exploit on device RCE, /ai-redteam on an embedded LLM.
Other plugins' skills for the same job