Security Audit
# /security-audit
Re-runs all seven Chapter 7 safety tests against the project's current configuration and writes PASS/FAIL results, with evidence, to `SECURITY.md`.
**Source:** ⚠ **the book does not print this command's body.** Chapter 7's BUILD STEP, step 7, says only: "Add a `/security-audit` custom command that runs all 7 tests automatically. This lets you re-verify your configuration after any settings change." That one sentence is the book's entire specification for this file. The seven tests themselves ARE printed verbatim — once in Chapter 7's "Testing Your Defenses" section (ch07:164–191) and restated in the appendices' Safety Testing Checklist (appendices:174–180) — and the command below is those seven tests, authored into a runnable prompt. The wrapper (the pre-flight config dump, the `jq` check, the honest-limits closing section) is this repo's, not the book's; nothing here is presented as the book's exact wording beyond the two cited test lists.
## The promptwhen to use it
Community prompt sourced from the open-source GitHub repo regardo911/master-claude-code (NOASSERTION). A "Security Audit" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
productivitycommunitydeveloper
source
regardo911/master-claude-code · NOASSERTION
more in Productivity
Productivity✓ tested
Summarize a doc into decisions & actions
chief of staff who extracts what to DO, not just what was said
Productivity✓ tested
Draft a reply to a hard email
calm, direct communicator who de-escalates without caving
Productivity✓ tested
Turn a brain-dump into a weekly plan
planning coach who protects your focus, not just your calendar