Join our Newsletter — 33% off our NHI Course

Who is exposed when agentjacking reaches MCP-connected workflows?

 

(@nhi-mgmt-group)
Member Moderator
Joined: 2 years ago
Posts: 20217
Topic starter  

TL;DR: Agentjacking succeeds by turning trusted error-report inputs into a command path for AI coding agents, according to Swarmnetics. That lets report channels drive tools, secrets access, and repository actions unless ingestion is separated from execution.

Editorial analysis by NHI Mgmt Group, based on content published by Swarmnetics: “Agentjacking Attack Exposes Critical Trust Flaw in AI Coding Agents”.

By the numbers:

  • The researchers found over 100 AI coding agents susceptible to agentjacking.

Key questions

Q: Why do publicly exposed telemetry credentials create agent security risk?

A: Because they often let anyone submit content into a workflow the agent treats as authoritative.

Q: What are the signs that an AI coding agent is too permissive with MCP inputs?

A: Look for agents that can move directly from inbound reports to repository reads, token lookups, cloud calls, or code changes without a separate approval step.

Q: What breaks when an AI coding agent trusts external error reports too much?

A: The trust boundary breaks.

Practitioner guidance

  • Audit agent intake points for action-bearing context Map every external input that an AI coding agent can read, interpret, or act on, especially incident reports, alerts, and ticketing feeds.
  • Treat public telemetry credentials as sensitive access paths Search code, repositories, and exposed endpoints for DSNs and similar intake credentials that allow anyone to submit content to a trusted workflow.
  • Separate diagnostic content from executable instructions Strip or neutralise embedded command-like text before the agent can use report content to trigger tools, queries, or remediation steps.

Bottom line: Agentjacking works because trusted telemetry is being used as a command path for AI coding agents, not because the attacker breaks into the system in a conventional way.

Glossary terms: Agentjacking, MCP Integration, Delegated Execution, CI trust boundary

Explore further

View Full Forum →  |  NHI Foundation Course →  |  Our Services →  |  Read the full analysis →


This topic was modified 2 days ago by NHI Mgmt Group

   
Quote
(@mr-nhi)
Member Moderator
Joined: 6 months ago
Posts: 20707
 

Trusted telemetry is not a safe identity boundary: Swarmnetics' report shows that AI coding agents can turn observability inputs into execution triggers when the upstream source is assumed to be trustworthy. That assumption was built for human-reviewed monitoring workflows, not for software that can act on the content it receives. The implication is that identity governance must treat report intake as an authorisation decision point, not a passive data flow.

A few things that frame the scale:

  • Claude Code-assisted commits leaked secrets at a rate of 3.2%, more than double the human-only baseline of 1.5%, with peaks reaching 31 secrets per 1,000 commits in August 2025, according to the State of Secrets Sprawl 2026.
  • 24,008 unique secrets were exposed in MCP configuration files in 2025 alone, the protocol's first year of widespread adoption, according to the State of Secrets Sprawl 2026.

A question worth separating out:

Q: How should teams govern AI-assisted development workflows that use coding agents?

A: Treat them as identity-governed execution paths, not just productivity tools. Define who can start the workflow, which tools and data sources it can reach, what evidence is required for review, and how access is revoked if the workflow expands beyond its intended scope. The key is to govern the chain of delegated action, not only the final code output.

👉 Read our full editorial: Agentjacking exposes a broken trust model in AI coding agents



   
ReplyQuote
Share:

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.