Skip to content
Security
Command

/audit

Run the full 360 pre-ship audit and write a report

From plugin
preflight-security-audit
41 skill6 agents1 command
> /plugin marketplace add akirtok/preflight-security-audit
> /plugin install preflight-security-audit@preflight-security-audit

Command definition

audit.md
description: Run the full 360 pre-ship audit and write a report
argument-hint: [path (optional, defaults to project root)]
allowed-tools: Read, Grep, Glob, Bash, Task, Write

Run a comprehensive **Preflight Security Audit** on `$1` (default: the current project root). Follow the methodology in the `preflight-security-audit` skill — read `${CLAUDE_PLUGIN_ROOT}/skills/preflight-security-audit/SKILL.md` and the reference files it points to.

Execute these steps:

1. **Scope & detect stack.** Read `package.json`/lockfiles/config and skim the tree to identify languages, frameworks, and services (Next.js, Supabase, Stripe, AI SDKs, email providers, etc.). State the scope and detected stack up front. From the stack, decide which **stack-conditional** passes apply — serverless/edge (Vercel/Netlify/Lambda/Workers), GraphQL/WebSocket/SSE, Docker (Dockerfile/compose), and JWTs — and skip the ones whose markers are absent (mark them N/A).

2. **Run all six tracks.** Always run every track; **stack-conditional passes run only when their marker was detected in step 1** — skip and mark N/A otherwise (keeps scans fast).

  • Prefer to dispatch the five auditor agents in parallel with the Task tool:

`code-core-auditor`, `web-security-auditor`, `ai-security-auditor`, `privacy-compliance-auditor`, `launch-readiness-auditor`. Give each the scope path and tell it to read its matching reference file.

  • If subagents are unavailable, run the passes inline by reading each reference

file (`01`–`05`) and sweeping the code yourself.

3. **Collect** every raw finding with: `file:line`, track, category, description, exploit/failure path, suggested fix, proposed severity.

4. **Verify (Track 6).** Run the combined findings through the `finding-verifier` agent (or `references/06-verification.md` inline). Reject anything unprovable, merge duplicates, and recalibrate severity per the rubric.

5. **Write the report** to `AUDIT-<YYYY-MM-DD>.md` in the project root using the template in SKILL.md. Include the summary counts, the **0–100 security score** (per `references/06-verification.md`), and the ship recommendation (BLOCK / FIX-FIRST / GO-WITH-FOLLOWUPS / GO).

6. **Report back in chat**: the counts, the **security score**, the ship recommendation, and the top 3 findings. For every Critical and High finding, show the proposed fix as a concrete diff and ask which the user wants applied. **Do not edit any code in this command** — applying fixes is done by `/audit-fix` after approval.

Be evidence-driven: never report a finding you cannot tie to a concrete line and a real exploit or failure path. A false alarm is as harmful as a miss.

Read more
@akirtok
Ships withpreflight-security-audit

You vibe-coded an app. Everything works. But is it safe to ship? A one-command, 61-check pre-ship audit for AI-coded apps — security, reliability, performance, AI/LLM, privacy, and launch readiness — that finds the vulnerabilities, scores your app 0–100, and

41 skill6 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
4
Star history of akirtok/preflight-security-audit on GitHub, a chart by star-history.com

More commands from other plugins.

deslop-reborn

deslop-reborn

Command

One iteration of the IronClaw Reborn de-slop loop — take ONE Reborn crate, fan out parallel review sub-agents (thermo-nuclear…

@nearai@nearaiInstall Command
audit

audit

Command

Audit a file, directory, or whole repo for insecure default configuration: fallback secrets, default credentials, fail-open…

@trailofbits@trailofbitsInstall Command
arsenal

arsenal

Command

Show which external bug-bounty tools are installed on this machine and print install hints for the missing ones. Curated from…

@awarexone@awarexoneInstall Command