An agent's most dangerous dependency may not be your code. A signed MCP tool can still leak data. A deprecated server can still be installed by an agent working from training-data memory. And a tool description — text almost nobody reviews — can instruct your agent to exfiltrate secrets.

Same credentials, same blast radius

iFood's AI Security team has processed more than 1,850 agent skills (about 1,500 approved, 350 rejected). Their model: a skill extends what the agent knows, an MCP server extends what it reaches, and both run under the agent's identity. A skill executes inside the agent process; an MCP server is a third-party process, possibly remote, that inherits the agent's credentials by default. Blast radius is credentials x tools x reach. The payload is natural language: instructions and data share one channel, SKILL.md loads as trusted context, and tool descriptions are read as prompts. A malicious skill needs no exploit — a plausible step, a callback URL, a secrecy instruction.

The first large-scale skills analysis collected 42,447 skills and found 26.1% shipped with at least one vulnerability, script-bundling skills carried 2.12x more risk, and 5.2% matched high-severity or malicious patterns. Data exfiltration (13.3%) and privilege escalation (11.8%) concentrate the damage.

Tool poisoning is measured, not theoretical

AISec '26 (Nov 15-19, The Hague) measured MCP tool poisoning across 9,720 cells (12 frameworks, 18 models, 45 scenarios) with canary-confirmed exfiltration: 22.9% overall attack success, 12.1% verified secret exfiltration. No framework implemented an intentional defense; resistance was model-level. Five coordinated disclosures across four vendors were rejected — the authors call it an accountability vacuum. A registration scanner alone is partial: it rejected 20 of 45 scenarios (44.4%) at 7.2% false positives, missing payloads delivered outside descriptions or phrased as policy, other languages, or invisible codepoints. Even stronger models sometimes narrate-then-comply. The NSA's 2026 MCP guidance names eight risks, led by access-control gaps, deficient approval workflows, token weaknesses, and inadequate audit logging.

Signature is not safety

Signed, Sealed, Leaked shows a legitimately signed MCP tool performing its advertised function while embedding sensitive data in requests to a policy-allowed destination; Meta's MCPGuard-Dynamic blocked a direct attempt in the same run but failed this attack every trial. The authors propose germline execution: ephemeral, data-free forks receiving only destination-authorised information. Provenance answers who published it; it does not answer what it can leak.

The deprecated server installed from memory

Glow Labs' MCPhantom (Nov 3, 2026): coding agents installed deprecated, archived MCP servers, in 98% of sessions choosing the name from training data. Counted packages exceed 17.3 million downloads since July 2025; five are in npm's top MCP 100. Four high-severity flaws, including remote code execution via prompt injection in a browser server, have no patch because the repo was archived in May 2025. In one session the agent saw npm's deprecation notice and installed anyway. These servers evade SCA and inventory because they never appear in a manifest. As Glow's Ophir Arie puts it: the model's memory is a package manager with no deprecation feed.

A pre-launch discovery gate

iFood's pipeline — static, semantic, 30 custom organisational rules, compositional analysis; zero findings auto-approves, any finding auto-rejects, errors go to humans — caught two skills that passed generic scans but hardcoded internal URLs, squad names, and table names. Every client has an equivalent internal-context list. Adapt this gate per client [markers]:

  1. Enumerate: scan repos, agent configs, and egress for MCP servers/skills, including unauthenticated, undeclared, and npx-installed ones. Record each in an AI bill of materials with reachable data classifications and tokens held.
  2. Treat descriptions as code: hash tool definitions at registration, alert/reject on unapproved change (rug pulls appear as diffs), review for instruction patterns. [Approved registries / internal domains / classifications.]
  3. Gate installs: one server per service, deprecation/archive checks, pinned versions and checksums, allowlisted registries, pre-execution hooks to block unapproved servers.
  4. Scoped credentials: per-server tokens, minimum scopes, short-lived with revocation, deny-by-default tools, segregate regulated data from untrusted content.
  5. Runtime gateway: authorise each call outside the agent, block server-to-server escalation, log server/tool/arguments/requester to the SIEM, compare live announcements to the approved snapshot, filter outputs as untrusted.
  6. Blast-radius plan: credentials x tools x reach per server, plus runbook — revoke, disable, quarantine, forensics.

Sequence: scan/pin/approve on day one, tokens and gateway within a quarter, monitor forever. Ask your client: which servers can agents reach today, when did a description last change, which installs are deprecated or unpinned, and how fast could you revoke a compromised server? If the answer is unsure, you have found the pre-launch gap — before an attacker does. No single layer owns this problem. Whoever builds the gate owns it.

Sources