suwappubot: Command for Claude Code

.claude/commands/audit-fleet.md

audit-fleet is a command for Claude Code from 0xSoftBoi/suwappubot. It costs 41 tokens per session (583 once invoked), scanned A, original, Apache-2.0.

A parallel security-audit command divides a codebase into attack surfaces and assigns an auditor to each one. Attack surfaces are the places where outside input or sensitive operations could be abused.

In plain words
What is it for?
Use it to audit authentication, money movement, webhooks, keys, and background jobs, then combine and rank the findings.
Why use it?
It helps cover several security areas at once and preserve confirmed findings even if the audit stops early.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is 0xSoftBoi/suwappubot's own configuration. It tells Claude Code how to work on suwappubot itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything suwappubot configures →

Reuse

Borrowing it

Nothing to install: this file belongs to 0xSoftBoi/suwappubot. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/0xSoftBoi/suwappubot/main/.claude/commands/audit-fleet.md
Clone the repo
git clone --depth 1 https://github.com/0xSoftBoi/suwappubot

Made for: Claude Code.

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-fleet

README.md
[![agentmods](https://agentmods.dev/badge/commands/0xsoftboi/suwappubot/audit-fleet/github.svg)](https://agentmods.dev/commands/0xsoftboi/suwappubot/audit-fleet)
Your own site
<a href="https://agentmods.dev/commands/0xsoftboi/suwappubot/audit-fleet"><img src="https://agentmods.dev/badge/commands/0xsoftboi/suwappubot/audit-fleet/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-fleet

Your own site · 80×15
<a href="https://agentmods.dev/commands/0xsoftboi/suwappubot/audit-fleet"><img src="https://agentmods.dev/badge/commands/0xsoftboi/suwappubot/audit-fleet.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 583 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.00041 $0.00583
Opus 5 $0.00020 $0.00292
Sonnet 5 $0.00008 $0.00117
Haiku 4.5 $0.00004 $0.00058

Measured 9d ago against content hash b7c113a3fe0d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

audit-fleet 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 9d 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.

.claude/commands/audit-fleet.md · 37 lines

How it starts

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

Parallel Security Audit Fleet

The serial /audit repeatedly died at the spend limit before emitting parseable JSON. This version fans out narrow scopes and makes every finding durable on disk the moment it is confirmed, so an interrupted run still ships results.

Step 1 — Map the attack surfaces

Use scout (haiku) to group the in-scope files into 4–6 disjoint scopes:

  • auth — session/JWT/SIWE/telegramAuth, middleware, route mounting
  • money — swap execution, balance mutations, fee math, withdrawals, redemptions
  • webhooks — inbound HTTP: Telegram, WhatsApp, Stripe, x402
  • keys — wallet encryption, KMS envelope, key derivation, recovery
  • jobs — background services in api/main.py lifespan Remember: two backends (api/+bot/ Python, api-ts/ TypeScript). Cover both.

Write the scope map to .audit/scopes.json before dispatching.

Step 2 — Fan out (one security-auditor per scope, in ONE message)

Give each agent this contract verbatim:

Trace real data flow from entrypoint to sink — do not pattern-match. After finishing each file, immediately append one JSON object per finding to .audit/findings/<scope>.jsonl: {file, line, severity, title, exploit_path, preconditions, confidence, false_positive_reasoning} Never buffer findings until the end. Mark false positives explicitly with why they are not exploitable. Keep your response short — detail goes to disk. Finish with a coverage note: what you did NOT look at and why.

Step 3 — Reduce

Read all .audit/findings/*.jsonl, dedupe by file:line+title, rank by exploitability × blast radius. Write the ranked list to .audit/report.md.

Step 4 — Prove and file

For each finding with confidence >= high:

  1. Write a failing test under tests/security/ that demonstrates the bug (test-engineer).
  2. gh issue create with the exploit path and the test path. Anything touching swap exec / keys / KMS / fees / withdrawals goes to money-path-reviewer (opus) before any fix is merged.

Read the full file on GitHub · 37 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. 9d ago First seen · 37 lines · 41 tokens per session scan A b7c113a3fe0d

Subscribe to this mod's changes

audit-fleet is a command published in the GitHub repository 0xSoftBoi/suwappubot (3 stars, last pushed yesterday), licensed Apache-2.0. It adds 41 tokens to every session and 583 once invoked, about $0.0002 per session on Opus 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.