home/productivity/security-audit-7

Security Audit

GPTClaudeDeepSeek··484 copies·updated 2026-07-14
security-audit-7.prompt
# /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 prompt

when 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