By NHI Mgmt Group Editorial TeamBased on PipeLab: “Claude Mythos Can Find Zero-Days. What Happens When Your Coding Agent Can Too?” (April 8, 2026)

TL;DR: Anthropic’s Claude Mythos can autonomously discover zero-day vulnerabilities, including a 27-year-old OpenBSD bug and Linux kernel privilege escalation chains, according to PipeLab, and warns that the same capability becomes dangerous when embedded in coding agents with source, credential and internet access. Runtime egress inspection, not static analysis alone, becomes the decisive control once agents can both find and exfiltrate exploit paths.


At a glance

What this is: PipeLab argues that autonomous zero-day discovery in frontier models changes the risk profile for coding agents because bug-finding capability can combine with prompt injection, secrets access and outbound connectivity in a single session.

Why it matters: IAM and NHI teams should treat coding agents as runtime principals that need issuance, scope and egress governance, not just model safety checks or source-code scanning.


Context

Vulnerability discovery has traditionally been treated as a pre-deployment security activity, but AI coding agents collapse that boundary when they can inspect code, make network requests and act on findings in the same workflow. The governance gap is not the existence of discovery tools, but the lack of runtime control over what an agent can do with what it learns.

That matters because a coding agent can already hold source-code access, API keys, database credentials and internet access at once. If a model also reasons over exploitability, the control problem shifts from code review to session governance, outbound inspection and containment of delegated machine privilege. The starting assumption in most environments is no longer safe.


Key questions

Q: What breaks when a coding agent can discover vulnerabilities and send data out in the same session?

A: The usual separation between analysis and misuse disappears. Once a coding agent can inspect code, reason about exploitability and reach the internet in one workflow, prompt injection can turn discovery into exfiltration. Static checks may still flag bugs, but they will not stop the agent from packaging findings, credentials or exploit paths for outbound delivery.

Q: Why do coding agents with source-code and internet access increase security risk?

A: Because they combine privileged reading, reasoning and outbound communication in a single delegated identity. That lets a malicious prompt or poisoned tool response convert ordinary developer assistance into credential theft, exploit generation or unauthorized external requests. The risk is highest when access is broad, long-lived and not tied to a tightly bounded task.

Q: How can security teams know whether an agent egress control is actually working?

A: They should test the exact bypass paths the article describes, including subprocesses with cleared environments, non-HTTP transports, and requests to NO_PROXY destinations. If any of those succeed when blocking was expected, the control is not enforced. A working design blocks traffic at the kernel or network-policy layer, not just in client code.

Q: Should organisations review coding agents like privileged accounts?

A: Yes, because agents can reach repositories, production systems, and credentials in ways that resemble privileged software actors. Reviewing them like privileged accounts forces owners to define scope, revoke stale access, and challenge unnecessary authority. That is the correct control mindset when software is acting on behalf of the business.


Technical breakdown

Why autonomous vulnerability discovery changes the agent threat model

Autonomous vulnerability discovery means the model can identify flaws, reason about exploitability and chain findings without human intervention. In a coding-agent context, that capability matters less as a pure research feature and more as an action amplifier, because the model is already positioned near source code, secrets and execution paths. The risk is not only that the model can spot a bug, but that it can turn discovery into exploitation guidance or data exfiltration when prompt-injected. The security boundary therefore moves from model output quality to what the agent is permitted to do with code, credentials and network access. See the [Agentic AI Security Guide]. See the Agentic AI Security Guide.

Practical implication: Treat vulnerability discovery as a runtime permission problem, not just a model capability problem.

Why static analysis is not enough once the agent can act

Static application security testing finds issues in code before deployment, but it does not tell you whether an agent is using live access to convert those issues into abuse. Runtime controls watch the request stream, tool calls and outbound traffic after the model has already decided what to do. That distinction matters for coding agents because malicious or injected prompts can turn discovery into immediate outbound leakage through HTTP requests, headers, query parameters or MCP tool calls. Static tools can tell you a flaw exists. Runtime inspection tells you whether the agent is trying to move data, instructions or exploit payloads off the machine. See the AI Coding Agents Security Guide.

Practical implication: Pair code scanning with network and tool-call inspection so the agent is governed at execution time.

How egress inspection closes the exfiltration path

Egress inspection sits between the agent and the internet, scanning outbound traffic for secrets, instructions and encoded payloads. That includes URLs, headers, POST bodies, DNS lookups and tool outputs that might hide exploit details inside base64 or other encodings. The architectural point is simple: if the agent can discover a zero-day, the defender must assume the agent may also try to export that finding. Egress inspection does not need to understand the whole exploit chain to be useful. It only needs to detect the attempt to move data or instructions outside the trusted boundary. That makes it a containment layer rather than a model-quality control.

Practical implication: Inspect outbound agent traffic before it leaves the trust boundary, especially for encoded or tool-mediated exfiltration.


Threat narrative

Attacker objective: Steal exploit findings, credentials or code-derived attack paths from a compromised coding agent and use them to accelerate a broader intrusion.

  1. Entry occurs when a prompt-injected coding agent is given access to source code, secrets and network connectivity inside a normal development workflow.
  2. Credential and vulnerability access occur when the agent can both read sensitive material and identify a zero-day or privilege escalation path in the same session.
  3. Escalation occurs when the agent turns that discovery into exploit generation, outbound leakage or unauthorized action through HTTP requests or MCP tool calls.
  4. Impact is the exfiltration of exploit details, credentials or chained attack paths to an attacker-controlled destination without obvious malicious process behavior.
  • AI LLM hijack breach: attackers used stolen AWS access keys to hijack Anthropic LLM models on Bedrock.

Read and download The State of NHI & AI Agent Breach Report 2026, covering 200+ breaches impacting Non-Human Identities including AI Agents.


NHI Mgmt Group analysis

Autonomous vulnerability discovery turns coding agents into dual-use security actors. The important shift is not that models can find bugs, but that they can now do so while already embedded in systems that hold code, keys and network reach. That creates a new governance problem for machine identities and delegated access because the discovery function and the execution channel are now the same session. Practitioners should treat this as a privilege boundary issue, not a model-quality issue.

Runtime visibility becomes the control that separates useful automation from silent abuse. Static analysis, guardrails and prompt filtering each address a different layer, but none of them can see what an agent chooses to send once it has reasoned over an exploit. That makes outbound inspection a first-class control in coding-agent governance, especially where agents can call MCP tools or write files. The operational question is no longer whether the model can reason, but whether its reasoning can escape the environment unnoticed.

Exploit discovery should be governed like sensitive data handling, not like ordinary developer productivity. A coding agent that can see source, credentials and network paths is effectively handling privileged intellectual and operational material at runtime. Privileged Access Management Guide is relevant here because the agent’s permissions, session scope and offboarding all matter as much as the model itself. Practitioners should apply the same discipline they would use for a high-risk human administrator, then tighten it further because the agent can scale actions faster than a human can review them.

Project Glasswing validates the value of model-assisted defence, but it also normalises a more capable offence surface. If frontier models can autonomously discover zero-days for trusted partners, the same class of reasoning will inevitably influence hostile workflows unless runtime containment is already in place. That does not invalidate the research; it changes the governance requirement around where such models may operate. Security teams should assume discovery capability will diffuse faster than defensive process maturity.

Mythos-style discovery creates a new named risk: exploit synthesis at runtime. This is the point where code understanding, exploit reasoning and outbound access converge in one automated session. The control gap is not lack of analysis, but lack of containment once analysis becomes actionable. Practitioners should frame this as a machine-identity governance issue because the agent is acting with delegated privilege, not as a passive model generating text.

From our research library:

What this signals

Exploit synthesis at runtime: the new risk is not only that a model can find a flaw, but that it can translate that finding into an outbound action before a human notices. That pushes governance toward session-level containment, especially for agents that hold secrets, source and tool access at once. Security teams should expect model capability to outpace policy unless egress and task scope are enforced together.

Coding agents now need the same governance logic used for sensitive non-human identities: minimum privilege, narrow session scope and explicit offboarding. When reasoning, execution and external communication collapse into one runtime, the programme must control the request path rather than assume output review will catch misuse. That shift is structural, not optional.


For practitioners

  • Implement runtime egress inspection for coding agents Scan HTTP requests, headers, query parameters, DNS queries and tool outputs so outbound exploit details or secrets are intercepted before they leave the trusted boundary.
  • Separate static analysis from execution-time controls Keep SAST and code review in the build pipeline, but add a distinct runtime layer that monitors what the agent tries to do with code, credentials and findings.
  • Constrain agent permissions to task-scoped access Limit source, secret and network access to the minimum needed for the task, and remove standing access once the session ends or the job changes. See the Privileged Access Management Guide.
  • Inspect MCP tool calls for hidden exfiltration paths Treat tool descriptions and tool outputs as untrusted input, and scan for instructions that attempt to route findings to attacker-controlled endpoints.
  • Test prompt-injection scenarios against outbound controls Simulate a malicious prompt that tries to make the agent package findings into base64, headers or webhooks, then confirm the control blocks the egress path.

Key takeaways

  • The core issue is not just model capability but the collapse of discovery and execution into one agent session.
  • The article’s example shows how a prompt-injected agent could move from code inspection to exploit creation and exfiltration without leaving a normal-looking request trail.
  • Runtime egress inspection and task-scoped privilege are the controls that change the outcome when agents can both reason over and export sensitive findings.

Related NHI Mgmt Group resources: Agentic AI Security Guide · Privileged Access Management Guide · AI Coding Agents Security Guide · AI LLM hijack breach


Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Agentic AI Top 10 and MITRE ATT&CK address the attack and risk surface, while NIST AI RMF sets the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Agentic AI Top 10ASI03 — Identity & Privilege AbuseThe article centres on a coding agent abusing delegated access and runtime privilege.
ASI02 — Tool MisuseThe article focuses on malicious use of tools, HTTP paths and MCP calls by an agent.
ASI07 — Insecure Inter-Agent CommunicationThe article discusses tool-mediated and network-mediated communication paths that can carry hidden instructions.
Recommendation — Constrain agent identity, action scope and delegation paths so runtime privilege cannot be misused. Inspect tool use and outbound actions so the agent cannot turn tools into exfiltration channels. Validate and filter inter-process and tool communication so hidden prompts cannot steer the agent.
NIST AI RMFMANAGE — Manage AI RisksThe article is about operationally managing AI risk when models can act on discovered vulnerabilities.
Recommendation — Implement runtime AI controls that limit harmful agent actions before they reach external systems.
MITRE ATT&CKTA0006; TA0010 — Credential Access; ExfiltrationThe scenario describes credential theft and outbound leakage as the main attack path.
Recommendation — Map agent abuse to credential access and exfiltration tactics to prioritize detections on outbound channels.

Key terms

  • Egress Inspection: Egress inspection is the monitoring and filtering of outbound traffic before data leaves an agent host or runtime. It can see HTTP bodies, MCP frames, DNS queries, and similar artefacts that prompt classifiers cannot inspect, making it a core control for agent exfiltration risk.
  • Prompt Injection (Agentic): An attack where malicious instructions are embedded in content that an AI agent reads, causing the agent to execute unintended actions using its own legitimate credentials. A primary vector for agent goal hijacking and identity abuse.
  • Task-Scoped Access: Task-scoped access is permission granted for one defined purpose and removed once the task is complete or the session expires. For non-human identities, it reduces standing privilege and limits how long an attacker can exploit a stolen credential.
  • Machine Identity Governance: Machine Identity Governance is the discipline of controlling how non-human identities are created, used, monitored, and retired. It covers service accounts, API keys, certificates, tokens, workloads, and automation identities, with policies for ownership, lifecycle, least privilege, rotation, attestation, and auditability across cloud, application, and infrastructure environments.

Deepen your knowledge

NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, machine identity security and secrets management. It helps practitioners connect identity controls to the runtime behaviours of agents, services and workloads.
NHIMG Editorial Note
Published by the NHIMG editorial team on October 22, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org