brainblast-exploits

brainblast-exploits is a command for Claude Code from DSB-117/brainblast. It costs 0 tokens per session (290 once invoked), scanned A, original, MIT.

A catalogue of real blockchain exploits linked to static code rules that detect their underlying programming mistakes. Blockchain exploits are attacks that cause losses in systems using shared digital ledgers.

In plain words
What is it for?
Listing exploit patterns, viewing one incident in detail, exporting machine-readable data, and tracing each incident to a bundled Brainblast rule.
Why use it?
It connects known incidents to concrete checks, making it easier to understand what a rule is meant to catch.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Good fit Listing exploit patterns, viewing one incident in detail, exporting machine-readable data, and tracing each incident to a bundled Brainblast rule.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/dsb-117/brainblast/brainblast-exploits
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.

Clone the repo
git clone --depth 1 https://github.com/DSB-117/brainblast

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 brainblast-exploits

README.md
[![agentmods](https://agentmods.dev/badge/commands/dsb-117/brainblast/brainblast-exploits/github.svg)](https://agentmods.dev/commands/dsb-117/brainblast/brainblast-exploits)
Your own site
<a href="https://agentmods.dev/commands/dsb-117/brainblast/brainblast-exploits"><img src="https://agentmods.dev/badge/commands/dsb-117/brainblast/brainblast-exploits/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 brainblast-exploits

Your own site · 80×15
<a href="https://agentmods.dev/commands/dsb-117/brainblast/brainblast-exploits"><img src="https://agentmods.dev/badge/commands/dsb-117/brainblast/brainblast-exploits.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 290 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.00000 $0.00290
Opus 5.5 $0.00000 $0.00116
Sonnet 5.5 $0.00000 $0.00058
Haiku 4.5 $0.00000 $0.00029

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

Security

Grade A, and why

brainblast-exploits 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 3mo 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.

commands/brainblast-exploits.md · 22 lines

What it actually says

/brainblast-exploits

The Exploit Pattern Database — research-to-enforcement on real on-chain incidents. Each catalogued exploit is mapped to the bundled brainblast rule that statically detects its root-cause pattern, so the code that lost the funds is the exact code the rule fails on.

Flagship: the Wormhole bridge exploit ($325M, Feb 2022) — "does this CPI verify its target program ID?" — detected by cpi-target-program-unverified.

Usage

/brainblast-exploits [id] [--json]
npx brainblast exploits $ARGUMENTS
  • No argument — list every catalogued incident, its loss, and the rule that detects it; writes .agent-research/exploit-patterns.md.
  • <id> — show one in detail (match by incident id like wormhole, cashio, crema, or by rule id like cpi-target-program-unverified).
  • --json — machine-readable, for an agent to consume.

Every entry's ruleId is verified to resolve to a real bundled rule — the database never claims to catch something it can't. Run npx brainblast . to enforce these rules against your code; run /brainblast-exploits to see the incident lineage behind each one.

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. 3mo ago First seen · 22 lines · 0 tokens per session scan A db5eb8b55b74

Subscribe to this mod's changes

brainblast-exploits is a command published in the GitHub repository DSB-117/brainblast (75 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 290 tokens. 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

brainblast-exploits compared with commands from other repositories

brainblast-exploits next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
brainblast-exploitsDSB-117/brainblastCommand754mo agoMITA0Claude Code
checklistgithub/spec-kitCommand153k3d agoMITA13Claude Code
clarifygithub/spec-kitCommand153k3d agoMITA27Claude Code
analyzegithub/spec-kitCommand153k3d agoMITA26Claude Code
specifygithub/spec-kitCommand153k3d agoMITA13Claude Code
convergegithub/spec-kitCommand153k3d agoMITA35Claude Code
implementgithub/spec-kitCommand153k3d agoMITA14Claude Code