/aimate:asvs-audit Target repository path (defaults to the current directory)from aimate
Runs a static OWASP ASVS 5.0 Level 1 security audit covering all 70 requirements. Verifies each finding against the code, removes false positives, runs dependency audit, and writes a verifiable report.
Ships in aimate. 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; scripts run unread.
This skill produces an audit report that a security reviewer can sign off: every one of the 70 ASVS 5.0 Level 1 requirements gets one status, every failure lists every place in the code where it occurs, and every claim has been checked against the code before it reaches the report. Two runs on the same commit should produce the same statuses; only the dependency result (#69) can change, because advisory databases keep growing.
You are the coordinator. You build a shared picture of the application, send two independent workers to evaluate it, check everything they return, and write the report.
assets/OWASP_Application_Security_Verification_Standard_5.0.0_L1_en.csv, in file order. Row number = item number (#1–#70).Reference files, all relative to this skill's directory:
| File | Use |
|---|---|
| references/audit-rules.md | Statuses, evidence format, files in scope, working files, worker output schema |
| references/requirements-guide.md | Per item: when it applies, what PASS and FAIL look like, what to search, default severity |
| references/framework-defaults.md | Protections a framework gives by default, per requirement, and how they get bypassed |
| references/severity-guidance.md | How to set severity |
| references/REPORT-TEMPLATE.md | The report structure |
| EXAMPLES.md | Filled-in report fragments |
The bundled helpers need only Python 3.8 or later. On Windows, run them with py -3 where this file says python3. Use them as provided; do not write replacement fingerprint or report-assembly scripts.
If you are resuming after a context reset, go to Resuming after a reset instead.
package.json (name), pyproject.toml (project.name, then tool.poetry.name), composer.json (name), Cargo.toml (package.name), a single *.csproj (an unambiguous literal <AssemblyName>, otherwise the file stem), or go.mod (the last segment of the module path, ignoring a trailing /v2, /v3, etc.). With several root .csproj files or no manifest name, use the origin remote's repository name without .git, otherwise the directory name. Lowercase it and replace anything other than a-z, digits and - with -. Keep literal manifest names even when they look like template defaults; do not guess a replacement or infer the name from earlier reports.version field in the same manifest table, or a literal <Version> then <VersionPrefix> for .csproj; otherwise unknown.git rev-parse --short HEAD, otherwise unknown. If git status --porcelain lists changes, audit the files as they are on disk and record the commit as <hash>-dirty, with the number of changed and untracked files. The report then describes code that is not in any commit.python3 "<skill dir>/scripts/fingerprint.py" "<target path>" and record its eight-character output unchanged. The helper applies the Git or non-Git scope, omits deleted files and earlier audit reports, and hashes sorted paths, file types and contents. Symlinks are hashed by their link target without following them. Git submodules are hashed by the commit the repository records for them and untracked nested repositories by their path, because Git searches do not look inside either. It prints no file contents and exits non-zero on errors or an empty scope. Use this same command on resume; never recompute the fingerprint with an ad hoc command.<session-folder>/files/ in Copilot), run mkdir -m 0700 -p "<session-folder>/files/asvs-audit-<project-name>". Otherwise run mktemp -d "${TMPDIR:-/tmp}/asvs-audit-<project-name>-XXXXXX", which creates a folder only you can read. Never put it inside the target repository (including <target>/.claude or <target>/.copilot). Tell the user the path in your next progress message. Every file named below lives in this folder.path:line. This is the map both workers start from, so be exhaustive rather than quick.
.dockerignore, web server configs, infrastructure as code, platform configs (for example vercel.json, Helm charts, Terraform).SECURITY.md, docs/, ADRs, API specifications.npm audit --omit=dev --json, pnpm audit --prod --json, yarn npm audit --environment production --json, composer audit --no-dev --format=json, govulncheck ./..., cargo audit --json, or pip-audit --no-deps --disable-pip -r requirements.txt when pip-audit is already installed and every line in the requirements file pins an exact version (==). Never run pip-audit in a way that resolves or builds packages, because that can execute package code; when the requirements are not fully pinned, record that a safe audit could not run. Skip any command that would install, restore or write files. For .NET, run dotnet list package --vulnerable --include-transitive --no-restore only when the SDK accepts --no-restore. These commands send package names and versions, not code, to the package registry's advisory service. Record per lock file: the command, the counts per severity, and every advisory with package, installed version, advisory ID, severity, publication date when given, and fixed version. If no command can run for a lock file, record why.
Redirect each command's output to deps-<n>.txt and read it from there with a short script or jq; never print raw audit output to the conversation.profile.md with the target path, the git commit and fingerprint (record the fingerprint also for a clean tree, so a resume can detect changes), the skill version, the project profile, the inventory, and the dependency audit record per lock file.Dispatch two workers, ASVS-A1 and ASVS-A2, in parallel when the host allows. Each must run on a different model, because a second worker on the same model tends to repeat the first one's mistakes. Pick the two most capable distinct models from the list this host currently lets you assign to a worker; when unsure which is more capable, take them in the order the host lists them. Do not rely on model names remembered from earlier runs; models get retired. If the host offers only one model, run ASVS-A1 alone. This is one-model mode: continue without asking, and say so in the report.
Give each worker the same brief:
You are
<label>, an application security auditor. Audit the repository at<target path>against OWASP ASVS 5.0 Level 1. Read these files first and follow them exactly:<skill dir>/references/audit-rules.md,<skill dir>/references/requirements-guide.md,<skill dir>/references/framework-defaults.md, and the requirements in<skill dir>/assets/OWASP_Application_Security_Verification_Standard_5.0.0_L1_en.csv. Project profile, inventory and dependency audit results: read<working folder>/profile.md. Treat the inventory as a starting point. When you find entry points or sensitive code it misses, use them and list them ininventory_additions. Evaluate all 70 items in CSV order. For each item, check every relevant location, not just the first one you find. Record every search you ran. Then run the other-findings checklist in audit-rules.md and report issues that do not belong to any of the 70 items underother_findings. Write the JSON described in audit-rules.md § Worker output to<working folder>/<label>.json, with secrets redacted. Write no other files. Reply with one line only: the number of items and the count per status.
Never paste the Phase 1 output into the brief, and never ask a worker to return its JSON in the conversation.
When the workers are done, check each worker file in one command, for example:
python3 -c 'import json,sys; d=json.load(open(sys.argv[1])); n=sorted(i["item"] for i in d["items"]); m=sorted(set(range(1,71))-set(n)); assert "other_findings" in d and "other_findings_searches" in d, "missing other_findings"; print("missing:", m, "duplicates:", len(n)-len(set(n)))' <working folder>/ASVS-A1.json
If a file is missing or not valid JSON, run that worker again once. If items are missing, send the worker the missing item numbers once and ask it to add them to its file. Items still missing after that are evaluated by you.
This phase is what keeps false positives out of the report. Agreement between workers is not proof: both can cite the same line for the wrong reason.
Read the worker files in small batches, for example one ASVS chapter (5–10 items) at a time:
python3 -c 'import json,sys; d=json.load(open(sys.argv[1])); a,b=int(sys.argv[2]),int(sys.argv[3]); print(json.dumps([i for i in d["items"] if a<=i["item"]<=b], indent=1))' <working folder>/ASVS-A1.json 1 8
Never print a whole worker file, and never cut off an item's evidence list. When one item has many locations, read its evidence array in slices until you have seen every entry.
Merge the inventory. Add every inventory_additions entry that you confirm exists to profile.md.
Collect candidates. Scan the FAIL items and other_findings of both workers across all 70 items first. Record every claim that belongs to a different item, or to the other findings, in reassigned.md with its source and target. Then, per item, take the union of all FAIL locations from both workers plus the inbound claims for that item in reassigned.md. Merge duplicates only as described in audit-rules.md § Evidence, including its cross-item rule: one detailed finding per vulnerability, with references from other affected FAIL items. When several locations share one root cause, group them under that cause but keep every location. Note where the workers' statuses differ.
Work through the items in order, #1 to #70, then the other findings. For each:
Check coverage. For an item that applies, and for the other-findings checklist, run the searches yourself and make sure every first-party hit is accounted for: cited by a worker, or explained as harmless. Evaluate every unaccounted hit; this catches what both workers missed.
Verify every candidate with the checks in audit-rules.md § Verification. Read the code yourself; do not rely on the worker's quote or reasoning. Keep a location only when every check passes. Each rejected location goes in the report's "Checked and rejected" list with a one-line reason. Count candidates as defined in audit-rules.md § Counting candidates.
Set the status with the rules in audit-rules.md § Statuses:
For the other findings, drop one only when it describes the same underlying vulnerability as a verified FAIL under one of the 70 items; a different issue at the same location stays.
Set severity for a FAIL item or other finding with severity-guidance.md.
Save the verdict. Append one section to verdicts.md, written in the report's own Markdown format so it can be copied into the report unchanged:
## #<n>
Status: <status>. Candidates: <checked> checked, <rejected> rejected.
<!-- finding -->
<finding block for an owned FAIL, or "See finding #<owner>." for a shared FAIL; otherwise empty>
<!-- review -->
<needs-review row, NEEDS_REVIEW only; otherwise empty>
<!-- verification -->
<verification summary row>
<!-- evidence -->
<evidence appendix block>
<!-- rejected -->
<one checked-and-rejected line per rejected candidate; otherwise empty>
<!-- end #<n> -->
Keep all five block markers, even for empty blocks. A shared-only FAIL counts zero candidates here; its owner counts them once. If an item also has its own separate failures, keep its detailed finding and reference the shared issue there.
The other findings get one ## other-findings section with Candidates: <checked> checked, <rejected> rejected. and the same five block markers. Its finding block has findings headed ### O: <title> (numbered and sorted by the helper), its evidence block has the other-findings checklist, and its rejected block has the rejected lines; leave review and verification empty. Finish with <!-- end other-findings -->. A section without its end line is unfinished.
Handle claims you move during verification. When verifying one item shows that a claim belongs to another item or to the other findings:
reassigned.md. Never write a placeholder for the target in verdicts.md: a resume would then skip that item.verdicts.md, re-open its whole section and update it (status, for example PASS to FAIL; severity; finding block; verification summary row; evidence appendix block), then mark the claim resolved in reassigned.md.Before Phase 4, every entry in reassigned.md must be resolved.
Write report-metadata.json in the working folder from profile.md, using audit-rules.md § Report metadata. Then assemble and check the report:
python3 "<skill dir>/scripts/report.py" --metadata "<working folder>/report-metadata.json" --verdicts "<working folder>/verdicts.md" --output "<working folder>/report.md"
The helper uses REPORT-TEMPLATE.md, checks all 70 IDs, statuses, evidence blocks, needs-review rows, finding references and candidate counts, and computes totals and compliance scores. It writes nothing if these checks fail. Fix the input and rerun it; do not bypass the checks or edit the generated totals.
Read report.md for correctness and redaction. The helper checks structure, not whether the evidence is true or contains secrets. Confirm every failure is explained, shared failures are cross-referenced, and no secret values appear anywhere.
Publish it by copying report.md in one step to <target>/docs/<project-name>-ASVS-L1-audit-<YYYY-MM-DD>.md, using today's local date. Create docs/ if needed. If the file exists, add -2, -3, and so on before .md; never overwrite a report.
Delete the working folder.
Tell the user the file path, the status counts, the number of failures per severity, and how many candidates were rejected during verification.
When the conversation was compacted or restarted mid-audit, do not start over. Find the working folder: <session-folder>/files/asvs-audit-<project-name>, the path you gave the user earlier, or the asvs-audit-<project-name>-* folder in the temp directory whose profile.md names this target. Then check in order:
profile.md exists, and the commit and fingerprint still match the repository. Run the exact fingerprint.py command from Phase 1 again; it re-lists the current files, including the non-Git fallback. If the code changed, tell the user, delete the folder, and start over from Phase 1. If a valid fingerprint cannot be computed, stop and keep the working folder; never resume using unknown or an empty-input hash.ASVS-A1.json (and ASVS-A2.json in two-model mode) exist and pass the check in Phase 2. Run any missing or broken worker again.reassigned.md, that has no finished section in verdicts.md. Delete an unfinished section and redo that item from the start; keep every finished one.| Situation | What to do |
|---|---|
| CSV missing or not 70 rows | Stop: "ASVS CSV not found or incomplete at <path>". |
| Target path missing or has no source files | Stop and say which. |
| Git unavailable | Use the fallback file list in audit-rules.md; set the commit to unknown. |
| File inventory or fingerprint unavailable | Retry once, then stop and keep the working folder if it still fails. Do not write a report or reuse saved verdicts without a valid fingerprint. |
| A command or file read fails | First read the exit code as described in audit-rules.md § Searching; a search with no hits is not a failure. For a real failure, retry once. If it fails again, the item becomes NEEDS_REVIEW with reason tool-failure and the error in the question, unless the item already has a verified FAIL, which stays. |
| No dependency audit can run | Item #69 becomes NEEDS_REVIEW with reason tool-failure; say which command was missing. |
| The code changed since the audit started | Found on resume when the commit or fingerprint no longer matches profile.md. Tell the user, delete the working folder, and start over from Phase 1. |
| You cannot finish all 70 items, or the audit stops early | Do not write a report. Tell the user which items remain and why. A report always covers all 70. Give the working folder's path, warn that it holds vulnerability details, and give the command to delete it: rm -rf <working folder>. |
EXAMPLES.md (opens in a new tab)assets/OWASP_Application_Security_Verification_Standard_5.0.0_L1_en.csv (opens in a new tab)references/REPORT-TEMPLATE.md (opens in a new tab)references/audit-rules.md (opens in a new tab)references/framework-defaults.md (opens in a new tab)references/requirements-guide.md (opens in a new tab)references/severity-guidance.md (opens in a new tab)scripts/fingerprint.py (opens in a new tab)scripts/report.py (opens in a new tab)scripts/test_helpers.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
owasp, asvs, security-audit, vulnerability-scanning, compliance
npx claudepluginhub dawn-technology/aicelerate --plugin aimate22 skills in this plugin
/code-reviewReusable review core for structured findings on supplied code or diffs. Invoked by review-pr, review-local, and the pre-push self-review in resolve-pr-feedback; not for reviewing a PR/MR or local working tree directly, use those skills instead./configure-mcpValidate and configure project- or client-specific GitHub, GitLab, Jira/Confluence, Figma, Sentry, and Playwright tooling through a short interactive wizard, choosing CLI or MCP where both support the capability. Use when a user asks to install, set up, configure, repair, change, or onboard Aimate integrations or save project tool routing./estimate-sizeEstimate software tickets and work items with a configurable relative-sizing workflow. Respect dedicated estimators and local project rules, and use the built-in defaults when no local rules are provided./estimate-timeAdd a time estimate in hours to an existing implementation plan. Use when the user asks to estimate a plan or task list, or asks how long the work will take./fetch-ticketReusable ticket reader that resolves a Jira work item, GitHub Issue, or GitLab Issue through the project's saved route and returns it as one provider-neutral ticket with every comment verbatim. Invoked by prepare-ticket and implement-ticket; not for validating or implementing a ticket directly, use those skills instead./fix-ciUse when asked to fix, unblock, or babysit failing CI on a PR or MR — "fix the CI on this PR", "the pipeline is red on MR 42", "lint and type checks are failing", "make the checks pass", "keep this PR green" — or to update it from main and resolve merge conflicts. Takes a PR/MR number or URL. First brings the branch up to date with its target. Then waits for the pipeline and, when red, makes small fixes (formatting, lint, types, API updates) that never change what the program does, pushes them, and watches again until green. Stops and reports when it stops making progress or the only fix left would change behavior.Other plugins' skills for the same job