You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
0.32.3 — nine audit findings, including one in 0.32.2's own headline fix (#64)
A multi-agent audit of 0.32.2 across nine angles, every finding put through two
independent skeptics. 32 findings, 23 survived, 9 refuted. This ships the nine
that could actually hurt someone.
The nastiest is not a money bug: sharp is an optionalDependency but was imported
at the top level, so ESM resolution failed before main() ran. With sharp absent,
`node dist/index.js --version` exited 1 with ERR_MODULE_NOT_FOUND and empty
stdout — all 19 tools gone, for a preview feature that is off by default. A fresh
npx install hits it on musl, unusual arch, offline CI or --no-optional, and no dev
machine ever saw it because every dev machine has sharp built.
0.32.2's own headline fix had its premise inverted: the free-tier cap is on
CHARACTERS, not bytes. That sweep only probed ASCII, where the two are the same
number. 131,000 CJK characters (393,000 bytes) pass through whole. Because UTF-8
length is always >= string length, the byte check could only over-fire — it never
missed a real truncation, it invented ones, and advised callers to leave a working
$0 model for a paid one on a false premise.
Also: the SSRF guard was literal-only and 127.0.0.1.nip.io was verified reading a
local server end-to-end; two reserve bypasses (exa contents?x=1 at 17x, chat
ignoring input tokens at 11.4x); running blockrun_wallet flipped the chain
Base->Solana and made the funding path unreachable; a reverted pUSD transfer
reported success; the 0.32.2 CI automation could fail after npm had published;
and the README understated markets/surf pricing by 27%.
204 tests, typecheck, build and verify:prices (20/20 exact) green. Each fix
carries a regression test; sharp, the chain flip and SSRF were additionally
verified by reproducing the original failure and re-running after.
Copy file name to clipboardExpand all lines: README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -163,7 +163,7 @@ An unknown profile name falls back to `full`. `modal` and `phone` are `full`-pro
163
163
164
164
Run `blockrun_wallet` to see your address. The server pays on **Base** by default — send USDC on Base (Coinbase → USDC → Base network → paste address, or bridge via [bridge.base.org](https://bridge.base.org)).
Prefer Solana? See [Fund your wallet](#fund-your-wallet) — two tool calls, no restart.
169
169
@@ -181,7 +181,7 @@ Claude reads the odds with `blockrun_markets` and — with your confirmation —
181
181
182
182
> **Claude:** According to Polymarket, the market puts a **73% probability** on the Fed holding rates steady, 24% on a 25bp cut, 3% on a hike. 24h volume: $2.1M. The "Hold" contract last traded at $0.73.
183
183
>
184
-
> *(via `blockrun_markets` · cost: $0.0075)*
184
+
> *(via `blockrun_markets` · cost: $0.0095)*
185
185
186
186
---
187
187
@@ -204,9 +204,9 @@ Claude reads the odds with `blockrun_markets` and — with your confirmation —
204
204
|`blockrun_music`| MiniMax music generation | per track |
|`blockrun_polymarket`|**Trade on Polymarket** (CLOB V2): place/cancel real bets, positions, redeem winnings — signed locally, settled in pUSD from a gasless deposit wallet. Confirm-gated, $25/order default cap. [Details ↓](#-polymarket-trading) | free tool; bets are your funds |
Copy file name to clipboardExpand all lines: package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "@blockrun/mcp",
3
-
"version": "0.32.2",
3
+
"version": "0.32.3",
4
4
"mcpName": "io.github.BlockRunAI/blockrun-mcp",
5
5
"description": "BlockRun MCP Server - Give your AI agent web search, deep research, prediction markets, and crypto data. Paid via x402 micropayments.",
0 commit comments