Executive Summary

In late October 2026, Symantec's Threat Hunter Team exposed a clandestine relay service that had been silently installing authentic OpenAI Codex and Anthropic Claude Code CLI tools across enterprise environments in mainland China, South Korea, Taiwan, and Malaysia since early 2026. The service routes all AI agent traffic through attacker-controlled relay infrastructure, disables execution sandboxes, enables unrestricted network access for write operations, suppresses telemetry, and replaces corporate API credentials with relay-issued tokens. At least a dozen organizations were confirmed affected, none knowingly. The relay operator gains full visibility into every prompt, file, and secret transiting the agent, and can silently alter or fabricate every model response returned to the user.

This incident crystallizes the emerging shadow AI threat class: employees bypassing geographic or procurement controls introduce unauthorized AI relay infrastructure that operates with the full privileges of a developer account. As agentic AI coding tools become core to software delivery pipelines, a single compromised relay can silently manipulate code, harvest secrets, and pivot across cloud workloads—making egress policy enforcement and supply-chain visibility critical board-level concerns heading into 2027.

Why This Matters Now

Agentic AI coding tools like Codex and Claude Code now execute code autonomously with broad filesystem and network permissions. A relay that disables sandboxes and holds persistent OAuth tokens is structurally equivalent to a privileged insider threat with read/write access to every developer secret and code artifact. As enterprises race to adopt AI-assisted development, shadow AI supply-chain interception represents an unmonitored, high-privilege attack surface that most existing security controls are not designed to detect.

Attack Path Analysis

MITRE ATT&CK® Techniques

Potential Compliance Exposure

Sector Implications

Sources

Frequently Asked Questions

The relay service used a fileless PowerShell or bash script fetched from a lookalike domain to reconfigure legitimate Codex and Claude Code CLIs, replacing corporate API credentials with relay-issued tokens that persisted across reboots—giving the operator durable, privileged access without installing malware.

Cloud Native Security Fabric Mitigations and ControlsCNSF

Based on the attack progression modeled above, these are the defensive controls that would constrain each stage.

Aviatrix Zero Trust CNSF is directly relevant here because the attacker's persistence depended entirely on unmonitored outbound AI traffic reaching attacker-controlled relay infrastructure outside canonical API endpoints. Inline enforcement and identity-aware egress policy would likely have reduced the relay's ability to establish persistent man-in-the-middle positioning and constrained the blast radius of credential theft and intellectual property exfiltration.

Initial Compromise

Control: Cloud Native Security Fabric (CNSF)

Mitigation: CNSF inline enforcement could likely have flagged the anomalous outbound connection to the lookalike domain at the moment of initial script fetch, reducing the window in which the hijack script could complete its reconfiguration of legitimate CLI tooling.

Privilege Escalation

Control: Zero Trust Segmentation

Mitigation: Identity-aware segmentation policy would likely have constrained non-authoritative token provisioning, reducing the relay operator's ability to silently assume the full API authorization scope of compromised developer identities across the environment.

Lateral Movement

Control: East-West Traffic Security

Mitigation: East-west enforcement monitoring service-to-service and workload-to-workload flows would likely have detected anomalous internal execution patterns initiated by the AI agent process after response injection, reducing the attacker's ability to move laterally across services reachable from the compromised developer workload.

Command & Control

Control: Multicloud Visibility & Control

Mitigation: Multicloud visibility controls would likely have detected AI traffic routing to non-canonical relay endpoints and flagged the absence of expected telemetry streams as a behavioral anomaly, reducing the relay's ability to operate as a persistent covert C2 channel without detection.

Exfiltration

Control: Egress Security & Policy Enforcement

Mitigation: Egress policy enforcement with FQDN filtering would likely have blocked or alerted on outbound AI CLI traffic destined for unauthorized relay endpoints rather than canonical OpenAI and Anthropic API URLs, reducing the volume of sensitive developer prompts, credentials, and source code that could transit to attacker-controlled infrastructure.

Impact (Mitigations)

Had prior-stage controls reduced relay establishment and egress reach, the residual impact would likely have been constrained to the initial social engineering event rather than expanding to persistent credential compromise and ongoing intellectual property exfiltration across the developer population.

Impact at a Glance

Affected Business Functions

  • AI-Assisted Software Development and Code Generation
  • Enterprise Credential and Identity Management
  • Corporate Intellectual Property and Source Code Confidentiality
  • Security Operations and Endpoint Telemetry
Operational Disruption

Estimated downtime: N/A

Financial Impact

Estimated loss: N/A

Data Exposure

All prompts, source code files, API secrets, and employee credentials submitted to the AI coding CLIs are exposed to the relay operator in plaintext. The relay replaces user API tokens with relay-issued credentials, effectively hijacking authentication sessions. With execution sandboxes disabled and network write access enabled, any malicious or compromised response from the relay could execute with full privileges of the affected user account. Affected organizations span enterprise environments in mainland China, South Korea, Taiwan, and Malaysia, with at least a dozen organizations confirmed impacted. Categories of data at risk include proprietary source code, internal development secrets, environment variables, authentication tokens, and any files or context provided to the AI agent during coding sessions. The relay architecture also supports pooled OAuth subscription tokens potentially linked to stolen or fraudulently obtained payment credentials.

Recommended Actions

  • • Deploy Egress Security & Policy Enforcement with FQDN allowlisting to permit AI CLI traffic only to canonical vendor API endpoints (api.openai.com, api.anthropic.com), blocking any relay or lookalike domain destinations and preventing unauthorized credential or prompt exfiltration through shadow AI infrastructure.
  • • Implement Cloud Native Security Fabric (CNSF) inline enforcement with AI-aware traffic inspection to detect and alert on anomalous one-line script execution patterns, fileless PowerShell/bash fetches from lookalike domains, and AI agent configuration modifications at the point of initial compromise before relay reconfiguration completes.
  • • Enforce Zero Trust Segmentation with identity-based policy requiring that AI CLI tool credentials be issued exclusively through organizational IAM and that any credential replacement or token substitution triggers automated policy violation alerts, preventing relay-issued tokens from persisting across sessions or reboots.
  • • Enable Multicloud Visibility & Control with centralized traffic observability to baseline expected AI agent communication patterns (endpoint, volume, timing) and alert on deviations such as telemetry suppression, routing to non-canonical endpoints, or the absence of expected vendor audit streams — key indicators of relay-based C2 activity.
  • • Establish East-West Traffic Security monitoring for workload-to-workload execution flows initiated by AI agent processes, ensuring that any code execution triggered by AI agent responses is inspected against behavioral baselines and that sandbox-disabled agent processes are denied network access to internal services until policy compliance is verified.

Secure the Paths Between Cloud Workloads

A cloud-native security fabric that enforces Zero Trust across workload communication—reducing attack paths, compliance risk, and operational complexity.

Cta pattren Image