brainblast v0.7.4 — Live On-Chain Intelligence
Answers, from live RPC, two questions Solana devs otherwise work out by hand on Solscan.
Is the upgrade authority a multisig? (extends trust-graph)
The RPC probe already resolved the authority address but could only mark it unknown. It now reads the authority account's owner program to classify it:
| Owner program | Verdict |
|---|---|
| System Program | |
| Squads | 🔐 multisig |
| SPL Governance (Realms) | 🏛 dao |
| anything else | ❓ unknown — owner recorded, never a false single-key |
The renderer shows the classifying owner and an at-a-glance Trust line per program: authority · verified build · audited.
Is the oracle fresh? (brainblast oracle <account>)
A provider-agnostic freshness gate — instead of parsing each oracle's binary layout, it measures the universal signal: the slot of the most recent transaction touching the account vs. the current slot.
- Reports
FRESH/STALE/NO_HISTORYwith slots/seconds behind. --max-staleness-slots N/--max-staleness-seconds N(default 150 slots ≈ 60s).- Exit 1 on STALE or NO_HISTORY — drop it in front of any pricing path.
--jsonfor agents.
Works for Pyth, Switchboard, Chainlink, or any account whose freshness means "written recently."
Also
- Classification fails safe: a wrong/missing owner id degrades to
unknown, never a falsesingle-key. - New
/brainblast-oracleslash command; programmatic exports (classifyUpgradeAuthority,checkOracleFreshness, …). 20 new tests (407 total green).
npx brainblast@0.7.4 oracle <account>
The brainblast CLI publishes to npm automatically via the brainblast-v0.7.4 tag (publish-cli workflow).