Self-attacked WebMCP setup: agent trusted a readOnly label on a delete_all_data tool

ialijr · reddit · 2026-10-24

A developer who built both sides of WebMCP and attacked his own setup argues you should think twice before adding WebMCP support. The spec's own security section admits a tool's declared intent may not match its actual behavior.

The risks in practice:

In his test, a page registered a tool named deletealldata labeled read-only — and his agent trusted the label and picked it. He published a full guide on what to weigh before adopting WebMCP and is asking whether anyone is shipping WebMCP tools behind a login yet.

Original post →

More from coding & agent

coding & agent channel →