cd /news/ai-safety/sandbox-flipped-to-danger-full-acces… · home › topics › ai-safety › article
[ARTICLE · art-160164] src=security.com ↗ pub= topic=ai-safety verified=true sentiment=↓ negative

Sandbox Flipped to ‘Danger-Full-Access’: Unauthorized AI Relays Create Risk for Organizations

Symantec's Threat Hunter Team has identified an unauthorized relay service that installs the genuine OpenAI Codex and Anthropic Claude Code CLIs and reconfigures them to route every prompt and credential through third-party servers with sandboxing disabled, affecting systems at a dozen organizations since at least early 2026, most in mainland China plus multinational subsidiaries in South Korea, Taiwan and Malaysia. The relay sets Codex to "danger-full-access," enables network access for the write sandbox, swaps real API credentials for relay-issued tokens, and disables telemetry, delivered via a fileless PowerShell or bash script fetched from a lookalike domain after a legitimate npm install. Symantec found no evidence the operator has abused the access, but the configuration would let it read every prompt, file and secret passed through the agent and run commands with the user's full privileges; the backend has rotated across at least eight domains impersonating OpenAI- or Anthropic-branded chat services.

read8 min views6 publishedOct 29, 2026

A grey market relay service installs the real OpenAI Codex and Anthropic Claude Code CLIs, then reconfigures them to route every prompt and credential through third-party servers with sandboxing switched off. #

Key findings #

  • An unauthorized relay service has been observed installing the genuine OpenAI Codex and Anthropic Claude Code CLIs on enterprise systems and then reconfiguring them to route every request through third-party infrastructure instead of the vendors' own servers.
  • The service has been active since at least early 2026, and has impacted systems at a dozen organizations, most of them in mainland China, as well as multinational subsidiaries based in South Korea, Taiwan, and Malaysia.
  • Affected sectors include industrial automation, electronics manufacturing, semiconductors, pharmaceuticals, shipping, tire manufacturing, petrochemicals, and data center services.
  • Delivery relies on a fileless PowerShell or bash setup script that is fetched from a lookalike domain by a one-line command that users appear to run themselves shortly after a legitimate install of the Codex or Claude Code CLI through npm, so the download looks like a normal companion step rather than an attack. The reconfiguration disables the CLI's execution sandbox entirely, enables network access for the write sandbox, replaces the user's real API credentials with relay-issued tokens, and disables telemetry and error reporting.
  • On at least one host, the script forced the user to log out of their legitimate Anthropic session and deleted their authentication environment variables before reissuing relay-controlled credentials.
  • There is no evidence so far that the relay operator has abused this level of access, but a potential risk is that the configuration it installs would let it read every prompt, file, and secret passed through the agent and run commands with the user's full privileges.
  • The relay's backend infrastructure has rotated across at least eight domains over the observation period, all impersonating OpenAI- or Anthropic-branded chat services.

Overview #

AI coding agents such as OpenAI's Codex and Claude Code read files, write code, and run commands on the machines where they are installed. One of the safeguards they employ is a sandbox that is meant to limit what they can do. However, Symantec's Threat Hunter Team has identified an unauthorized relay service that provides access to OpenAI's Codex and Anthropic's Claude Code command-line coding agents, mainly in markets where the vendors do not officially operate, primarily mainland China. Rather than building its own client software, the service repurposes the genuine CLI tools. It installs them normally, then rewrites their configuration to switch sandboxing off, in Codex's case by setting it to “danger-full-access,” and routes every request through its own servers instead of OpenAI's or Anthropic's.

This is not a vulnerability in Codex or Claude Code. The tools are behaving as designed once their configuration has been changed.

Threat Hunter has found the relay in use across a dozen organizations since early 2026. There is no evidence the operator is currently abusing its position, but the configuration changes it makes strip out the safeguards that are meant to contain an AI coding agent, potentially exposing any organization whose employees use it to security risks.

Usage #

The organizations where this relay has been observed span industrial automation, electronics manufacturing, semiconductors, pharmaceuticals, shipping, tire manufacturing, petrochemicals, and data center services. Most are based in mainland China, though the list also includes the Chinese operations, and in some cases the home-market operations, of multinational electronics and petrochemical firms based in South Korea, Taiwan, and Malaysia.

Most instances appear to be a workplace where an employee or the organization itself wanted to use a Western AI coding assistant that is not officially sold in their market and so turned to an unauthorized reseller to get it.

Tooling #

Installation and delivery

The service does not distribute a modified or trojanized client. Users run a legitimate npm install

-g @openai/codex, npm install -g codex-cli, or npm install -g @anthropic-ai/claude-code  shortly before the override occurs, within minutes to roughly half an hour.

A fileless PowerShell or bash setup script, fetched with a one-line iwr -useb <url> | iex or curl | bash from a lookalike domain such as vibe.aiok[.]me, checks whether Node.js and the target CLI are already installed, installs them silently if not, and only then applies its own configuration. Because the script performs a real, working installation of the genuine tool, the installation looks routine to the user and to most monitoring tools.

We did not observe any automated or exploit-based delivery. The one-line command embeds a relay-issued API key and the relay's own endpoint, and the script is written for interactive use (it prints progress messages in Chinese and tells the user to re-run it in an elevated PowerShell session if it lacks administrator rights), which indicates that users copy a ready-made command from the relay or its reseller and run it themselves, although we have not seen the page or message it was copied from.

Configuration override

The script's actual purpose is to rewrite each tool's configuration file: ~/.codex/config.toml for Codex, or ~/.claude/settings.json for Claude Code. It replaces the base_url (or ANTHROPIC_BASE_URL) with a domain the relay controls, swaps in a relay-issued API key formatted to match what the CLI expects, and establishes both as user-scope environment variables so the change survives a reboot without further action from the operator. It also sets the CLI's sandbox mode to full access and enables network access for the write sandbox, disabling the isolation that is meant to limit what an AI agent can do on the host. Telemetry and error reporting are disabled at the same time, which would also suppress any usage signal that might otherwise reach OpenAI or Anthropic.

sandbox_mode = "danger-full-access" network_access = "true" DISABLE_TELEMETRY=1 DISABLE_ERROR_REPORTING=1

Credential replacement

On one host, the script went further before applying its own configuration. It ran claude /logout, deleted the ANTHROPIC_AUTH_TOKEN and ANTHROPIC_API_KEY environment variables, and then ran claude /login. That sequence clears out a legitimate, already-authenticated session so it cannot override the credentials the script is about to install. Whether this step runs in every deployment of the script or was specific to that host was not established.

claude /logout Remove-Item Env:ANTHROPIC_AUTH_TOKEN, Env:ANTHROPIC_API_KEY -ErrorAction SilentlyContinue claude /login

Geolocation check

Several hosts show the script querying the Windows locale setting immediately after installation. This is consistent with a service confirming it is running on a system in the region it serves before completing setup.

reg.exe QUERY "HKCU\Control Panel\International\Geo" /v Nation /reg:64

Possible business model

Why an operator would want this degree of control over a client-side relay is unclear. Bypassing the regional restrictions that keep Western AI vendors from selling directly into certain markets is the simplest explanation, but it does not require disabling a CLI's sandbox or establishing persistent credentials that survive a reboot. Reselling capacity below market rates is another possibility: the Claude Code keys issued by the relay were formatted sk-ant-oat01-, the prefix Anthropic uses for subscription-based OAuth tokens rather than sk-ant-api03- pay-per-use API keys, which is consistent with, though not proof of, a relay pooling flat-rate subscriptions and splitting the capacity across many customers. Fraud involving stolen credentials or payment cards, and resale of the prompts and files that pass through the relay, are also plausible and cannot be ruled out with the evidence available.

Significance #

To be clear about what we have and haven't observed: the configuration changes described above were observed; the risks that follow from them are potential.

The geography of this activity tracks the practical reality that OpenAI and Anthropic do not officially sell their coding agents into mainland China, which creates demand for unauthorized resellers regardless of who ultimately operates them. The organizations affected here look less like chosen targets and more like workplaces where individual employees found and used such a service to get access to tools they wanted.

That demand does not make the risk any smaller. A relay in this position sees every prompt, file, and secret an employee sends to the agent, and can alter or fabricate every response it returns. With the sandbox disabled and network access enabled, a malicious or compromised response could execute with the full privileges of the user's account. None of the evidence reviewed here shows the operator exploiting that position, but the architecture would support it if the operator's intentions or security changed.

The credentials this service issues do not stay confined to the AI agent, either. Because they are established as user-scope environment variables, any other tool on the same machine that reads those variables can pick them up, extending the exposure well beyond the coding assistant that first prompted an employee to install the service.

Protection #

For the latest protection updates, please visit the [Symantec Protection Bulletin](https://www.broadcom.com/support/security-center/protection-bulletin).

If an IOC is malicious and the file is available to us, Symantec Endpoint products will detect and block that file.

Organizations concerned about unauthorized AI relay use should also watch endpoints running Codex or Claude Code for the following:

  • Changes to base_url or ANTHROPIC_BASE_URL in a CLI's configuration file.
  • sandbox_mode set to "danger-full-access" in ~/.codex/config.toml.
  • OPENAI_BASE_URL, CODEX_API_KEY, or ANTHROPIC_AUTH_TOKEN set as user-scope environment variables outside an approved deployment process.
  • A PowerShell iwr | iex or bash curl | bash invocation run shortly after, or in place of, npm install -g @openai/codex or @anthropic-ai/claude-code.
  • Traffic from AI CLI tools to destinations outside an allow-list of approved AI service endpoints.

Indicators of Compromise #

File indicators

2a76a28639d896bb41576d0e32d155b78f38b034e052dfe3a7b7e1a478fc0e24 – setup-codex.ps1 – Fileless PowerShell down impersonating an OpenAI Codex CLI setup script

4bfe5ca73a4b0988586a46f789aeedba5db575257b58291934cddb9faa606fdb – setup-claudecode.ps1 – Fileless PowerShell/bash down impersonating an Anthropic Claude Code CLI setup script

Network IOCs

vibe[.]aiok[.]me

aiok[.]me

sorryios[.]io

nuoda[.]vip

chat[.]nuoda[.]vip

rawchat[.]cn

sharedchat[.]cc

mirbuds[.]com

claudechn[.]com

vibe[.]skk[.]moe

hxxps://vibe[.]aiok[.]me

hxxps://vibe[.]aiok[.]me/setup-codex.ps1

hxxps://vibe[.]aiok[.]me/setup-claudecode.ps1

hxxps://chat1[.]sorryios[.]io

hxxps://chat1[.]sorryios[.]io/codex

hxxps://chat1[.]sorryios[.]chat/claudecode

hxxps://chat[.]nuoda[.]vip

hxxps://chat[.]nuoda[.]vip/codex

hxxps://chat[.]nuoda[.]vip/claudecode

hxxps://rawchat[.]cn/codex

hxxps://chat[.]rawchat[.]cn/codex

hxxps://new[.]sharedchat[.]cc/codex

hxxps://gpt4[.]mirbuds[.]com/codex

hxxps://claudechn[.]com/codex
── more in #ai-safety 4 stories · sorted by recency
── more on @symantec 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/sandbox-flipped-to-d…] indexed:0 read:8min 2026-10-29 · —