chadtmiller.com/hud
A remote MCP server that shows atproto records as interactive UI inside MCP Apps hosts
place.hud.hudkit 0.6.0 Latest 5 packages
0
0
A remote MCP server that shows atproto records as interactive UI inside MCP Apps hosts
place.hud.hudkit 0.6.0 Latest 5 packages
What happened
The playground restores a shared link's
#v=by inflating it (fromLinkinweb/workspace/lib/playground/share.ts, from at://did:plc:bcgltzqazw5tb6k2g3ttenbj/space/dev.knotless.space/hud/did:plc:bcgltzqazw5tb6k2g3ttenbj/dev.knotless.pull/3n2resxyyqzcg) with no cap on how large it grows. A link crafted to inflate to gigabytes hangs or crashes the tab of whoever opens it. Only that person is affected, and the server never sees the hash. Raised, non-blocking, in the review of at://did:plc:bcgltzqazw5tb6k2g3ttenbj/space/dev.knotless.space/hud/did:plc:bcgltzqazw5tb6k2g3ttenbj/dev.knotless.pull/3n2resxyyqzcg.How to see it
Deflate-raw a few MB of one repeated byte (it compresses to a few KB), base64url it, and open
/playground#v=<that>. Not tried: this is from reading the code.What you expected
A link whose payload inflates past what a view and its call can be (a view is at most 64 KiB, so a few hundred KiB is plenty) is refused with a message, and the playground opens as it would with no link.
Where
The playground,
/playground, after at://did:plc:bcgltzqazw5tb6k2g3ttenbj/space/dev.knotless.space/hud/did:plc:bcgltzqazw5tb6k2g3ttenbj/dev.knotless.pull/3n2resxyyqzcg.