Join our Newsletter — 33% off our NHI Course

Proxy bypass

Proxy bypass occurs when traffic reaches an external destination without traversing the intended inspection path. For AI agents, this can happen through subprocesses, alternate libraries, or shared runtimes, which makes inspection insufficient unless enforcement sits below the agent.

How Proxy Bypass Works

Proxy bypass happens when a request avoids the intended inspection or routing layer and reaches an external destination directly. That breaks the assumption that all outbound traffic is visible, policy-checked, and centrally controlled.

In ordinary networks, the proxy is the control point for filtering, logging, egress policy, and sometimes data loss prevention. When traffic slips around it, the organisation may still believe inspection is happening, but the actual request path no longer matches the security design.

Why Proxy Bypass Is Dangerous

The danger is not just missed logging. Proxy bypass can let data leave the environment without policy enforcement, allow prohibited destinations to be reached, and create blind spots for threat detection. In agentic and automated environments, the risk grows when subprocesses, alternate libraries, or shared runtimes can make their own network calls outside the expected path.

That matters because the control failure is architectural: inspection attached only to the agent process is weaker than enforcement attached below the process boundary. If the network stack, runtime, or host does not enforce egress control, a trusted application can still generate uninspected traffic through a separate execution path.

Common Ways Bypass Happens

Proxy bypass often appears when software has more than one way to make outbound requests. A proxy-aware client may be configured correctly, while a helper library, subprocess, plugin, or embedded runtime uses direct sockets instead. Shared compute environments can also blur boundaries, especially when multiple components inherit the same host networking privileges.

Another pattern is partial policy coverage. An organisation may proxy browser traffic, but not background services, agent tools, or command-line utilities. The result is inconsistent inspection, where only some traffic is visible and the rest escapes through an unmanaged path.

How to Reduce and Detect Proxy Bypass

The most reliable response is to enforce egress control at the layer that all traffic must cross, not only inside the application. That typically means pairing application-level proxy settings with network-level enforcement, host-based restrictions, and explicit allowlisting for approved destinations.

Detection should look for traffic that leaves the environment without passing through the expected proxy, including unusual direct connections, unexpected DNS resolution paths, or outbound flows from child processes and sidecar components. For agentic systems, review whether tool execution, subprocess spawning, and shared runtime access can independently reach the network.

For broader control design, NIST Cybersecurity Framework 2.0 helps organise egress governance, monitoring, and recovery across the control lifecycle, while NIST SP 800-207 Zero Trust Architecture supports the idea that trust should not depend on the application path alone. For environments where proxy bypass can be abused through host-level activity, MITRE ATT&CK Enterprise Matrix is useful for mapping outbound abuse, execution chaining, and post-compromise movement.

When Proxy Bypass Becomes an Identity or Agent Risk

Proxy bypass becomes more serious when the traffic originates from a privileged service, automation, or agent that already has access to sensitive systems. In that case, the bypass is not just a networking gap, it can become a path for token use, secret leakage, or unaudited external communication by a component that acts on behalf of the organisation.

That is why proxy controls for AI agents and other automated workloads should be designed around the full execution environment, not just the main process. If alternate libraries or subprocesses can inherit authority and still reach the internet, the proxy layer is only advisory.

Risk and Threat Considerations

Proxy bypass creates a blind spot that attackers can exploit for exfiltration, command traffic, or policy evasion. It is especially risky in agentic and automated systems, where a single workload may spawn other processes that retain network access outside the intended inspection path.

Failure mechanism: The inspection control sits in the wrong place, so an alternate execution path, child process, or direct socket call leaves the environment without passing through the proxy or logging layer.

Impact: Security teams lose visibility and enforcement over outbound traffic, which can enable data loss, hidden malicious communications, and undetected use of external services.

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 CSF 2.0, NIST SP 800-53 Rev 5 and NIST Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
NIST CSF 2.0 PR.DS-10 — Data in Transit Is Protected Proxy bypass directly affects whether outbound traffic is protected and inspected in transit.
Recommendation — Enforce protected egress paths so outbound traffic cannot leave without approved inspection and controls.
NIST SP 800-53 Rev 5 SC-7 — Boundary Protection Proxy bypass is a boundary-control failure that allows traffic to evade the intended inspection point.
Recommendation — Route outbound traffic through controlled boundaries and block direct internet access paths.
NIST Zero Trust (SP 800-207) Zero Trust Architecture Zero trust requires policy enforcement independent of the application path or assumed trust in the workload.
Recommendation — Place enforcement below the application so direct network access cannot evade policy checks.
OWASP Agentic AI Top 10 ASI02 — Tool Misuse Agent subprocesses or alternate libraries can misuse outbound tool access to bypass intended inspection.
Recommendation — Constrain tool and subprocess network access so agents cannot route around inspection controls.
MITRE ATT&CK T1090 — Proxy ATT&CK covers proxy use and proxy abuse as a technique for redirecting or hiding network traffic.
Recommendation — Map unexpected proxyless egress and traffic redirection to proxy-related technique hunting.

Practitioner Guidance

What to watch for: Treat proxy bypass as a control-placement problem, not just a configuration issue. If any component can reach the network directly, the design should assume the proxy can be circumvented unless the host or network layer blocks that route.

Practitioner note: In agentic environments, test every outbound-capable path, including subprocesses, helper libraries, and shared runtimes. The main agent may be correctly configured while its supporting execution paths are not.