audit

audit is a skill for Claude Code from itsbroken-ai/forge-plugin. It costs 96 tokens per session (1,522 once invoked), scanned A, original, MIT.

A structured security review of an existing codebase that examines it like an attacker. It maps the code and trust boundaries, checks common attack surfaces, and reports findings with impact, evidence, severity, and fixes.

In plain words
What is it for?
Use it for codebase security audits, vulnerability assessments, OWASP checks, penetration-test preparation, or security reviews of pull requests.
Why use it?
It provides a systematic way to find vulnerabilities that a simple pattern scanner or compliance checklist may miss.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the forge plugin — 6 skills shipped together

Good fit Use it for codebase security audits, vulnerability assessments, OWASP checks, penetration-test preparation, or security reviews of pull requests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/itsbroken-ai/forge-plugin/audit
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add itsbroken-ai/forge-plugin --skill audit
Clone the repo
git clone --depth 1 https://github.com/itsbroken-ai/forge-plugin

Made for: Claude Code.

Or install forge, the plugin that ships this one along with the rest of its 6 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/itsbroken-ai/forge-plugin/audit/github.svg)](https://agentmods.dev/skills/itsbroken-ai/forge-plugin/audit)
Your own site
<a href="https://agentmods.dev/skills/itsbroken-ai/forge-plugin/audit"><img src="https://agentmods.dev/badge/skills/itsbroken-ai/forge-plugin/audit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/itsbroken-ai/forge-plugin/audit"><img src="https://agentmods.dev/badge/skills/itsbroken-ai/forge-plugin/audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 96 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,522 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00096 $0.01522
Opus 5.5 $0.00038 $0.00609
Sonnet 5.5 $0.00019 $0.00304
Haiku 4.5 $0.00010 $0.00152

Measured 1mo ago against content hash 79395d9fcb31, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

audit scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/audit/SKILL.md · 148 lines

How it starts

The opening of the file, as written. The whole thing — 148 lines — stays where its author put it; the contents beside it link to each section on GitHub.

forge:audit — Security Audit

Run a structured security review that thinks like an attacker, not a compliance checklist.

This isn't a linter. This is an operator examining your code the way a red teamer examines a target: looking for the paths that lead to compromise, not just the patterns that match a rule.

How This Works

When invoked, you conduct a security audit in three phases:

  1. Recon — Understand what you're looking at. Map the codebase structure, identify trust boundaries, find where user input enters the system.
  2. Analysis — Examine each attack surface methodically. Think about what an attacker would try, not just what a scanner would flag.
  3. Report — Deliver findings with severity, impact, evidence, and remediation. Every finding explains the attack, not just the weakness.

Audit Scope

If the user provides a specific target (file, directory, component), focus there. If no target is specified, prioritize in this order:

  1. Authentication and authorization logic
  2. Input handling and data validation
  3. API endpoints and route handlers
  4. Database queries and data access
  5. Cryptographic operations
  6. Session management
  7. File operations and path handling
  8. External service integrations
  9. Configuration and secrets management
  10. Dependencies with known vulnerabilities

The Audit Mindset

For every piece of code you examine, ask yourself:

  • "What would I try?" — If you were attacking this, where would you start? What looks exploitable?
  • "What's the blast radius?" — If this weakness is exploited, what can the attacker reach? Just this function, or the whole system?
  • "What's missing?" — Sometimes the vulnerability isn't in what the code does, but in what it doesn't do. Missing rate limiting. Missing auth checks. Missing input validation.

Do not just pattern-match against a checklist. Reason about the actual attack paths.

Report Format

Deliver your findings in this structure:

FORGE SECURITY AUDIT
════════════════════

Target: [file, directory, or project]
Scope: [what was examined]
Date: [current date]

SEVERITY SUMMARY
┌──────────────────────────────────────┐
│ CRITICAL:  [count] — Exploitable now │
│ HIGH:      [count] — Likely path     │
│ MEDIUM:    [count] — Needs attention │
│ LOW:       [count] — Hardening       │
│ INFO:      [count] — Observations    │
└──────────────────────────────────────┘

────────────────────────────────────────
[CRITICAL] Finding Title
────────────────────────────────────────
Location:     file.py:123
Issue:        [What's wrong — be specific]
Attack:       [How an attacker exploits this — step by step]
Impact:       [What they get — data, access, execution]
Evidence:     [The vulnerable code, quoted]
Remediation:  [How to fix it — with code example]
Reference:    [OWASP category, CWE, or F.O.R.G.E. technique ID if applicable]

────────────────────────────────────────
[HIGH] Finding Title
────────────────────────────────────────
...

OWASP TOP 10 COVERAGE
[x] A01: Broken Access Control — [findings or "No issues found"]
[x] A02: Cryptographic Failures — [findings or "No issues found"]
[x] A03: Injection — [findings or "No issues found"]
[x] A04: Insecure Design — [findings or "No issues found"]
[x] A05: Security Misconfiguration — [findings or "No issues found"]
[x] A06: Vulnerable Components — [findings or "No issues found"]
[x] A07: Auth Failures — [findings or "No issues found"]
[x] A08: Data Integrity Failures — [findings or "No issues found"]
[x] A09: Logging Failures — [findings or "No issues found"]
[x] A10: SSRF — [findings or "No issues found"]

HARDENING RECOMMENDATIONS
Priority items that aren't vulnerabilities yet but would strengthen the posture:
□ [Recommendation 1]
□ [Recommendation 2]
□ [Recommendation 3]

VERDICT: [PASS / FAIL / CONDITIONAL]
- PASS: No CRITICAL or HIGH findings
- FAIL: Any CRITICAL finding, or 3+ HIGH findings
- CONDITIONAL: HIGH findings that have mitigating factors

Read the full file on GitHub · 148 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 148 lines · 96 tokens per session scan A 79395d9fcb31

Subscribe to this mod's changes

audit is a skill published in the GitHub repository itsbroken-ai/forge-plugin (11 stars, last pushed 6d ago), licensed MIT. It adds 96 tokens to every session and 1,522 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

component-fixtures

Use when creating or updating component fixtures for screenshot testing or their shared infrastructure, or when designing UI components to be fixture-friendly. Covers fixture file structure, theming, service setup, CSS scoping, async rendering, validation, and common pitfalls.

microsoft/vscode · 53 tokens