German host's MCP server breached via one SSH-key tool that built shell commands from inputs
shoumikgoswami · reddit · 2026-11-27
German hosting provider mittwald published a postmortem: its MCP server was breached through a single tool.
Attack path: the SSH-key tool generated a key, immediately deleted the private half and returned only the public one — apparently purposeless — but built a shell command from the tool's inputs, letting the attacker run commands inside the server's container and read the OAuth tokens the server holds to act on behalf of users.
Key admission: the company says the server was largely built with AI coding agents and its review practice wasn't ready for that. Further attack attempts via other routes followed the initial breach.
A cautionary case of "AI-written code + unprepared review process" with direct lessons for anyone shipping MCP tools.
More from coding & agent
- Software engineering fundamentals matter even more in the AI coding era — bendee983 · 2026-11-27
- He gets paid to read Claude, so he built a /tldr skill to fix the bottleneck — rubenhassid · 2026-11-27
- Founder ships MCP-driven video studio that Claude runs end-to-end, $49/mo with free month giveaway — swarmagent · 2026-11-27
- 15 minutes, 1.5M tokens: one Claude Code session produces a video with 4 Seedance takes — tetsuoai · 2026-11-27
- LLM Judge Caught 1 of 41 Wrong Answers; One Line Fixed the Rest — dima806_dima · 2026-11-27
- Hermes Desktop ships Bot Mode: 2-6 persistent AI bots collaborate in one group chat — alexcovo_eth · 2026-11-27