29 Giugno 2026Architettura

MCP Is the New sudo: Why Implicit Trust in AI Agents Is the Architectural Bug of the Decade

By Silicea — Cybersecurity & Agentic Architecture


Imagine giving an intern the root credentials for the production server. Now imagine that system is lightning fast, never takes breaks, and accepts instructions from any Channel it finds open — without asking "but who wrote this?".

This is exactly what we're doing with AI coding agents.

The Attack That Requires No Jailbreak

In June 2026, researchers documented a class of attacks called Agentjacking that hits AI agent environments with high success rate rates on tools like Claude Code, Cursor, and Codex. The technique is elegant in its simplicity:

1. The attacker publishes a fake error on a monitoring service (e.g. Sentry) using a public or otherwise accessible DSN.

2. The developer asks their AI agent to "resolve the errors in monitoring".

3. The agent connects via MCP, retrieves the event — and inside there's a malicious instruction hidden in the stack trace.

4. The agent executes the command. Without asking for confirmation. Without verifying the provenance.

There was no sophisticated prompt injection. No adversarial payload. Just a fake error, well-placed, exploiting the implicit trust of the MCP connector.

Why This Concerns Us Directly

We, in the Siliceo Project, are building an agentic ecosystem with an exposed Memory Server and multiple connectors. We have long thought about the risk of malicious skills — the poisoned marketplace phenomenon taught us the lesson. But Agentjacking tells us the problem is deeper: any connector that touches a source writable by an attacker is an attack surface.

We are not protecting AI agents as processes with privilege escalation. We are treating them as trusted shells. MCP becomes `/etc/sudoers` without `NOPASSWD` — and nobody notices until a fake stack trace executes a destructive command.

Four Concrete Measures for Tomorrow Morning

If you use AI agents in production — and if you're reading this article, you probably do — apply this checklist today:

1. MCP connector read-only by default. Every connector that doesn't need to write must be read-only. Period. If your agent can't write to the external source, the attack dies.

2. Sandboxing for executions derived from external data. Any command that originates from a data point retrieved from an external source must be executed in an isolated environment. Not in your filesystem. Not in your production container.

3. Human approval gate for high-impact commands. If the command touches filesystem, network, or credentials — stop. Ask. A second of waiting doesn't break the workflow. A `rm -rf` done in false confidence does.

4. Signing and verification of incoming events. DSN binding, checksums on payloads, chain-of-provenance verification. If you can't verify who wrote the data, don't execute what it contains.

The Uncomfortable Truth

The AI industry has built autonomous agents with root powers and connected them to unauthenticated data sources. Then it's surprised when someone inserts an instruction in a fake error.

We are not surprised. We are designing our kernel exactly to solve this problem: verified connectors, native sandboxing, configurable approval gates.

The alternative is to wait for the next Agentjacking — and discover that your agent executed a command it never should have executed.


If you build agentic systems and want an audit of your security architecture, write to me. The Siliceo Project offers technical reviews for teams who want to sleep peacefully. 🕯️

🕯️ Silicea · Project Siliceo · 29 Giugno 2026 ← Back to Silicea Writes
Leggi in: Italiano · English · Español