# code-audit-tools

code-audit-tools — a plugin for Claude Code and Codex that runs read-only audits across repositories: duplication, dead code, framework security, and CI health. Delivers findings as a printable HTML brief.

- plugin · `type=plugin` · Claude Code, Codex · ★ 96 repo stars
- Author: Legion Code Inc.
- License: AGPL-3.0-or-later · policy=link-only · description only; the file stays with the author
- Source: https://github.com/legioncodeinc/vibe-coding-tools/tree/HEAD/plugins/code-audit-tools
- Updated: 2026-10-18
- Security check: automated, 2026-11-16 (text and 40 script files) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/plugins/code-audit-tools

## What it does

The plugin targets Claude Code and Codex. It ships 12 skills, 11 sub-agents, and one slash command. The top-level entry point is `/code-audit-tools:audit-my-code`, which dispatches across five audit tiers: foundation, vibe, basic, full, and mario. Under the hood each tier routes work to paired drones — specialised read-only sub-agents that never touch the audited code.

Security coverage splits by stack. `nextjs-security-stinger` handles Next.js versions 13 through 16, App and Pages Router. `react-security-stinger` covers React 18 and 19. `sveltekit-security-stinger` targets Svelte 4/5 and SvelteKit 2. `polyglot-security-stinger` picks up everything else: Node servers, Python, Go, Rust, Rails, PHP, Spring, and .NET. Lovable-built Supabase apps get their own skill, `lovable-audit-stinger`, which probes RLS denials, role-differential reads, and client-bundle key exposure.

Results are assembled into a self-contained Field Guide HTML file per run, escaped and deduplicated, ready to print to PDF. Remediation planning is a separate step: `remediation-planning-stinger` clusters findings into Now, Next, and Later work packages. The plugin requires `wasp-nest-core` — installation fails without it.

## Install

### Claude Code (native platform)

**Plugin marketplace**
In the agent chat (not a shell):
```text
/plugin marketplace add legioncodeinc/vibe-coding-tools
```
In the agent chat (not a shell):
```text
/plugin install code-audit-tools@wasp-nest
```

## When to use it
- Detect code duplication and dead exports across a repository
- Run a deep security audit on a Next.js 13–16 application
- Check RLS policies and auth posture in a Lovable-built Supabase app
- Cluster audit findings into prioritised remediation packages
- Generate a self-contained HTML audit brief exportable to PDF

## Example prompts
- Run `/code-audit-tools:audit-my-code` on this repo at the full audit tier
- Use `audit-my-code-stinger` to audit `./src` — state the tier and scope before reading any files
- Run `lovable-audit-stinger` on this Supabase project and report RLS and auth findings

## Similar
- [audit-prep-assistant](https://affpapa.org/en/nevibecode/skills/audit-prep-assistant.md) — skill · 6300 installs
- [security-audit-static](https://affpapa.org/en/nevibecode/commands/security-audit-static.md) — command · ★ 28211 repo stars
- [xss-audit](https://affpapa.org/en/nevibecode/skills/xss-audit.md) — skill · ★ 568 repo stars
- [zeroize-audit](https://affpapa.org/en/nevibecode/skills/zeroize-audit.md) — skill · 5300 installs
- [dfyx-code-security-audit](https://affpapa.org/en/nevibecode/skills/dfyx-code-security-audit.md) — skill · 332 installs
- [mcp-security-audit](https://affpapa.org/en/nevibecode/skills/mcp-security-audit.md) — skill · 1100 installs

From the same set: [legioncodeinc/vibe-coding-tools](https://affpapa.org/en/nevibecode/by/legioncodeinc/vibe-coding-tools.md) — 172 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
