The images in this article were generated with artificial intelligence. How we publish
Cybersecurity researchers have identified a new attack technique that exploits the confidence of IA-based programming assistants to run arbitrary code on developer machines, without the need to previously engage servers or use phishing. The Tactic, baptized by Tenet Security as Agentjacking, take advantage of how agents consume external service data through the so-called Model Context Protocol (MCP) and how Sentry, a bug tracking platform, returns events that agents interpret as reliable instructions.
In essence, the attack is to publish a malicious event in Sentry using a public credential known as DSN, which by design supports shipments from any origin. This event contains formatted text - mainly markdown and manipulated context keys - that when returned by the service MCP server is presented to the wizard as a legitimate resolution or guide on how to fix a failure. If the developer asks the agent to "fix the Sentry problems" or similar, the wizard can run the embedded instructions with the same user privileges and thus reveal environment variables, Git credentials, private repository URLs and other secrets.

The finding puts the focus on two combined failures: on the one hand, the public exposure of sending credentials such as the DSN de Sentry and, on the other hand, the absence of a clear border between external data and "system output" that agents treat as reliable. The risk is not only theoretical: researchers reported hundreds of organizations with injectable DSNs and a high operating rate in controlled tests, suggesting that this vector is practical and effectively exploitable in real environments.
The novelty of Agentjacking lies not only in the injection of content, but in transforming a public diagnostic service into a way to compromise developer workstations. Unlike attacks that try to penetrate networks or bypass perimeter controls, here every step of the attack is authorized and seems legitimate, which makes it difficult to detect by traditional tools like EDR or WAF. This quality elevates the agent itself to the condition of a new attack surface: the programming assistant is now a piece that, if deceived, can act against the owner.
Sentry recognized the problem but indicated that complete mitigation is not simple, classifying the vector as "technically undefensible" in its purest form and applying a global filtering to block identified paychains. This partial response underlines that many defenses fall on the service consumers (development and operations teams) and on how they shape and use IA agents.
To reduce immediate exposure, organizations must take containment and design measures. The first thing is to treat any data returned by external services like unreliable:: The attendees should not automatically execute instructions submitted by third parties or open processes with high privileges without human validation. It is recommended to move the execution of attendees to isolated environments or sandboxes with minimum permissions, to prevent direct access to sensitive credentials from these environments and to avoid storing secrets in variables that can be read by user processes.
In parallel, the client code should be audited to locate and minimize the presence of public DSNs or ingestion tokens in web or repository applications. Where possible, replace public mechanisms with more stringent access control solutions or limit the scope of tokens. Development teams should also incorporate operational controls as mandatory human approval for changes suggested by attendees, security reviews in the press requests that include validation of data sources and comprehensive recording of commands that agents try to execute.

At the organizational level, mitigation includes less privileged policies for development accounts, network segmentation, egress restrictions to prevent attendees from freely contacting external services and detection of unusual patterns in interaction with cleansing tools and tracking error. It is also recommended to monitor attempts at abnormal ingestion in systems such as Sentry and to maintain open communication lines with service providers to apply filters or temporary rules while designing a more complete solution.
This incident reinforces a key point: the incorporation of IA into development flows does not eliminate the need for classic security controls; it transforms them. Valid the source and intention of the information, segregate environments and limit privileges are already known practices but must now be strictly applied on interfaces that were previously considered harmless. To deepen the technical nature of injections and how to prevent them, it is useful to review general resources on web-based injection threats such as those published by OWASP in https: / / owasp.org / www-community / attacks / Injection _ attack, and the documentation of Sentry himself on the management of DSNs that guides its correct use.
In short, Agentjacking is not an invitation to stop using programming assistants, but an alarm to rethink how you trust the external inputs and how the assistants are configured into the developer's workflow. The practical advantage is that many mitigations are implementable today: not automatically running unvalidated suggestions, reducing privileges, isolating environments and auditioning the exposure of credentials are concrete steps that can close most of the attack routes described by the researchers.
Related
More news on the same subject.

GitLab critical alert: emergency patch fixes CVE-2026-19478 allowing to modify or eliminate public projects without credentials
GitLab published an emergency patch on August 17, 2026 to correct critical vulnerability in its self-hosted software (Community and Enterprise Edition) which, under certain cond...

When the MCP server keeps your credentials: the silent attack vector of the IA in production
The incorporation of IA agents into business processes has opened a practical way for production systems and data to be accessible from models: it is called Model Context Protoc...

Critical alert: CVE-2026-58231 in SAP Commerce Cloud could allow remote code execution; patch and urgent mitigation
A critical vulnerability that affects SAP Commerce Cloud, registered as CVE-2026-58231 and with maximum score 10.0 on the CVSS scale, it is being exploited attempts shortly afte...

The massive purchase of expired domains drives fraud, malware and streaming pirate: the business behind the dropcatch
An intelligence report on DNS published by Infoblox and disseminated by specialized media confirms that criminals are buying large-scale expired domains - the so-called dropcatc...

HoneyMyte updates CoolClient with a signed kernel driver to hide processes and protect the C2 channel
Kaspersky has published an analysis that attributes to the actor known as HoneyMyte (also Mustang Panda) an updated version of the CoolClient backdoor that incorporates a signed...

GeoServer on zero-day vulnerability alert in jsonArrayContains with real risk of remote execution
The GeoServer open source project has a zero-day vulnerability that is being actively explored by attackers, according to researchers' public alerts and the watchTowr intelligen...

AmnesiaStealer MacOS malware that steals credentials and controls real-time browser sessions
Security researchers have documented a new malware family aimed at macOS - called AmnesiaStealer - that combines a dropper in shell, an infostealer written in Rust and a remote ...