Skip to content
cccskills
FreePublished on GitHub

sec-audit

Print Peephole's security audit report for this project — current mode, binary integrity, the CWE-mapped decision tally, sec-debt items needing approval, and tamper-evident log-chain status. Use when the user says /sec-audit or asks what Peephole has blocked or flagged.

The English summary is being prepared. Showing the original description.

Run score Not tested

See how to install

Files included (1)

  • SKILL.md1.5 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Peephole security audit

Run:

sh "$CLAUDE_PLUGIN_ROOT/hooks/peephole.sh" audit

Present the output to the user. It reports:

  • mode and binary integrity (a drift alarm means the binary or its embedded KB was tampered with — advise reinstalling).
  • decision tally — how many writes were denied / asked / allowed / retro-flagged / rewritten, broken down by CWE and by OWASP 2025 category.
  • born-secure (N2) — of the security-relevant hunks (heuristic-tagged), how many were clean at first write vs prevented at the gate vs landed insecure, with the born-secure rate. Instrumentation, not proof.
  • interruption rate — asks+denies per 20 write-gate decisions (the §7.4 FP budget: ≤ 1 unsolicited ask per 20 writes).
  • sec-debt — logged waiver requests and any UNAPPROVED markers in the tree (evasion risk), plus negative-test mandates that exhausted without compliance.
  • log chain — intact or BROKEN at line N, which surfaces casual truncation or tampering of the decision log. The log is the last 30 days.

If the log chain is broken, treat it as a signal that the audit log was altered and tell the user plainly.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Show or change Peephole's enforcement mode (guided (default), audit, strict, hardened, off). Use when the user says /peephole, wants to see the current security mode, or asks to make enforcement stricter or looser.

The English summary is being prepared. Showing the original description.

akashsebastian333/peephole5Updated Aug 30, 2026

Explain and list Peephole sec-debt markers — deliberate, human-authorized security trade-offs recorded in code. Use when the user says /sec-debt, wants to knowingly accept a security finding, or asks what deferred security items exist.

The English summary is being prepared. Showing the original description.

akashsebastian333/peephole5Updated Aug 30, 2026

Review the current changes for the CWE classes Peephole enforces, as a checklist including the absence-of-guard classes regexes cannot catch. Use when the user says /sec-review or asks for a security review of recent code before committing.

The English summary is being prepared. Showing the original description.

akashsebastian333/peephole5Updated Aug 30, 2026

See all skills by akashsebastian333

Report a problem with this skill