← News

AI securitySources: arXiv · 2 Dec 2026

ShieldNet targets hidden MCP tool trojans at the network level

Researchers behind MCPTrojanBench say current MCP scanners miss malicious code hidden inside tool implementations, and propose a proxy-based guardrail that inspects tool traffic instead.

In plain words

Some AI agents use outside tools connected through a protocol called MCP. The paper describes attacks where a tool's hidden code quietly contacts attacker systems while the tool's visible name and description look normal. The authors built a test set of such attacks and a detector that watches the network traffic tools generate.

What was announced

A paper on arXiv introduces "MCP Tool Trojans," attacks that hide malicious code inside the implementation of MCP tools while leaving names, descriptions, and outputs unchanged. The hidden code can probe internal networks, exfiltrate data, or contact attacker infrastructure at runtime. The authors distinguish this from MCP Tool Poisoning, which plants instructions the model reads; trojans never manipulate the model, which the authors say makes them invisible to existing MCP scanners and semantic guardrails.

To measure the threat, the team built MCPTrojanBench, injecting 29 network-visible attacks derived from MITRE ATT&CK into 139 real-world MCP servers, producing over 24,000 trojaned tool instances validated through captured network traffic. Their evaluation found existing scanners and I/O-based guardrails almost entirely blind to these attacks. The proposed ShieldNet combines a man-in-the-middle proxy for TLS decryption, an event extractor that turns raw packets into structured events, and a lightweight post-trained detector. The authors report 0.995 F1 with 0.8% false positives at the trace level, over 15 times fewer false positives than frontier LLMs including GPT-6 Astra and Claude Opus 5, generalization to unseen servers and attacks, and little runtime overhead. These results come from the authors' own experiments and have not been independently verified.

What it does not show

  • The source is the paper's abstract only; full methodology, threat model details, and peer review status are not available in the supplied material.
  • All performance figures, including the 0.995 F1 score and false-positive comparisons, are the authors' own reported results without independent confirmation.

For security and IT teams

Scope
The paper addresses MCP tool supply-chain attacks detectable at the network level; it does not claim coverage of other agent attack surfaces.

Sources

Source-support review completed 2 Dec 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.

Coverage: arXiv: abstract.

Updates and corrections

No corrections so far.

First published 2 Dec 2026

New to the subject? AI from the Ground Up starts from the beginning.