How Brainblast works
The unit of the corpus, how records are proven, how to license and pull them, and how to contribute traps and earn.
Overview
Brainblast is an open corpus of machine-verified SDK footguns — the specific ways correct-looking integration code silently does the wrong thing. Each record is a Verified Trap Instance: failing code, the fix, and a test that proves the difference, pinned to the exact SDK version the bug lives in.
Three things you can do with it:
What's a VTI
A Verified Trap Instance is a single, machine-checked record of one SDK footgun. Every VTI carries:
Records are grouped into curated lots by ecosystem or domain (Solana, EVM, Auth & Sessions, Transport/TLS, Web Hardening, Cloud & Storage, Cryptography, Browser & Desktop). Coverage shows the live class × lot surface.
How it's proven
A VTI is a claim that's been mechanically proven and can be re-proven by anyone — no answer key. A generalized oracle proves each record with the cheapest backend that can: a static AST checker, a compiler type-check against the pinned SDK, a sandboxed executed test, or a differential input→output table.
Contributed records also clear a fail-closed funnel — secret scan, RED→GREEN reproduction (the anti-poisoning gate), and consent/license — in order. Any rejection stops the record. Re-prove any pack yourself:
# vulnerable → RED fixed → GREENnpx brainblast verify ./pack
Coverage & proof → the full pipeline and the live reproduced rate.
Subscriptions
The catalog is open to read; you pay for the fixtures — the vulnerable+fixed code and tests you train on. Buy at three granularities:
Lots are priced by coverage — distinct footgun patterns × SDKs × quality, not raw row count. Every license ships the full RED+GREEN fixtures and proving test, the live verified delta as the fleet finds more, and a signed grant. Bill monthly or annually — annual is the committed rate, ~17% off (2 months free) — and pay in USD or $BRAIN (10% off), which stacks on either. See Pricing and build a license on Access.
Integrate
Three ways to pull the corpus, one entitlement model behind all three.
CLI — stream your entitled delta as NDJSON:
brainblast feed \--remote registry.brainblast.tech \--grant ./grant.json --since <cursor>
MCP — wire the corpus into your agent so it recalls the verified record for an SDK before writing the integration:
{ "mcpServers": {"brainblast": {"command": "npx","args": ["brainblast", "mcp"] } } }
REST — vendor-neutral HTTP:
GET /api/catalog # publicGET /api/feed # grant-gatedGET /api/healthz # liveness
Everything ships in one package — npx brainblast — built in CI with SLSA provenance. No install required.
The feed & grant
Paid access is a signed grant you pass in the x-brainblast-grant header (or --grant). It's verified server-side with only the distributor's public key — vendor-neutral, no phone-home.
Lower tiers get a freshness holdback; the newest records land in higher tiers first. The feed streams oldest-first and returns a cursor — pass it as --since to resume without re-pulling.
Submissions
Contribution is open and permissionless — no application, no reviewer. If your submission clears the automated gate, it's in. Four steps:
# 1. author + prove locally (RED→GREEN must hold)brainblast pack init ./my-pack --id my-sdkbrainblast pack validate ./my-pack# 2. submit — no PR, no branchbrainblast submit:vti --candidate ./my-trap.json --dry-run # check firstbrainblast submit:vti --candidate ./my-trap.json
A valid submission needs a real bug, a minimal RED+GREEN pair that reproduces, a commit-pinned source citation plus the verbatim vulnerable line, no secrets, and the pinned SDK + version. The server re-checks all of it end-to-end before recording. Full requirements on Earn.
Earn
Confirmed findings become permanent VTIs, scored by severity × corroboration. Each period, a fixed share of license revenue — the contributor pool — is split by score: your cut is your records' score over the corpus's. Paid on usage, not volume.
$BRAIN is optional — you never need a token to contribute. You can bond $BRAIN on a VTI to signal confidence and amplify your share; the reproduction gate is the slash trigger, so a trap that ever stops reproducing forfeits its bond. Try the estimator on Earn.