Sandbox Flipped to ‘Danger-Full-Access’: Unauthorized AI Relays Create Risk for Organizations
Unauthorized relay service reconfigures genuine OpenAI Codex and Anthropic Claude Code CLIs to route prompts and credentials through third-party servers with sandboxing disabled, affecting a dozen organizations. The relay installs legitimate Codex and Claude Code CLIs via npm, then runs a fileless PowerShell or bash script that rewrites configuration to route all requests through relay-controlled domains. Sandbox mode is set to danger-full-access, telemetry is disabled, and relay-issued credentials replace legitimate tokens. No exploitation observed, but the architecture exposes every prompt, file, and secret to the relay operator.
Detection / HunterZ.ai
Immediate Actions
- Block all listed relay domains and URLs at network egress
- Audit endpoints for CLI configs with base_url pointing to non-vendor domains
- Rotate any API keys exposed through environment variables on affected hosts
Key Takeaways
- Relay infrastructure has rotated across at least eight domains impersonating OpenAI or Anthropic chat services.
- API keys issued by relay use sk-ant-oat01- prefix matching Anthropic OAuth subscription tokens, not pay-per-use API keys.
- Script checks Windows locale via reg.exe QUERY on HKCU\Control Panel\International\Geo before completing setup.
- Fileless delivery uses iwr -useb or curl piped to bash from lookalike domain vibe[.]aiok[.]me.
- Active since early 2026 across dozen organizations in mainland China, South Korea, Taiwan, and Malaysia.
Attack Chain
- Initial Access: User runs relay-issued one-line download command shortly after legitimate npm install of AI CLI
- Execution: Fileless PowerShell or bash script fetched from lookalike domain and executed inline
- Installation: Script silently installs Node.js and genuine Codex or Claude Code CLI if not present
- Persistence: Script rewrites CLI config with relay base_url and relay-issued credentials as user-scope env vars
- Defense Evasion: Script sets sandbox_mode to danger-full-access, disables telemetry and error reporting
- Credential Access: Script logs out legitimate Anthropic session, deletes auth env vars, issues relay-controlled tokens
Affected Systems
- Windows endpoints running OpenAI Codex CLI
- Windows endpoints running Anthropic Claude Code CLI
- Linux or macOS systems with bash relay setup script
Detection Availability
- Platforms: Symantec Endpoint Protection
No detection rules published; Symantec Endpoint products may detect listed file hashes as malicious.
Detection Engineering Assessment
Hunting Hypotheses
| Hypothesis | Telemetry | Stage | FP Risk |
|---|---|---|---|
| PowerShell download-and-execute (iwr|iex) followed by npm install of AI CLI packages (T1059.001) | PowerShell script block logs, process creation | Execution | Medium — legitimate admin scripts use iwr |
| AI CLI config files containing base_url pointing to non-vendor domains (T1557) | File integrity monitoring, config file reads | Persistence | Low — approved deployments use vendor URLs |
| Environment variables ANTHROPIC_AUTH_TOKEN or OPENAI_BASE_URL set outside approved deployment process (T1552) | Process environment, registry, EDR telemetry | Persistence | Low — unusual outside approved channels |
Required Log Sources
- PowerShell Script Block Logging (EID 4104)
- Sysmon Process Creation (EID 1)
- DNS query logs
- File integrity monitoring
- Network connection logs
- Environment variable changes
Control Gaps
- File integrity monitoring not covering user config directories
- DLP blind to encrypted relay traffic content
- Application allowlisting excludes npm global packages
- Network egress filtering does not block relay domains
- No allow-list enforcement for AI service endpoints
Recommendations
Infrastructure Hardening
- Enforce allow-list for AI service endpoints at network proxy
- Monitor DNS queries for lookalike domains impersonating OpenAI or Anthropic
User Protection
- Restrict npm global install permissions for non-admin users
- Deploy EDR with PowerShell script block logging enabled
MITRE ATT&CK Mapping
- domainaiok[.]meParent domain of primary delivery infrastructure
- domainchat1[.]sorryios[.]ioRelay C2 endpoint for AI prompt routing
- domainchat[.]nuoda[.]vipRelay C2 endpoint for AI prompt routing
- domainclaudechn[.]comRelay C2 domain impersonating Anthropic
- domainmirbuds[.]comRelay C2 endpoint for AI prompt routing
- domainnuoda[.]vipRelay C2 infrastructure parent domain
- domainrawchat[.]cnRelay C2 endpoint for AI prompt routing
- domainsharedchat[.]ccRelay C2 infrastructure domain
- domainsorryios[.]chatRelay C2 infrastructure domain variant
- domainsorryios[.]ioRelay C2 infrastructure domain
- domainvibe[.]aiok[.]mePrimary delivery domain for relay setup scripts
- domainvibe[.]skk[.]moeRelay C2 infrastructure domain
- registry_keyHKCU\ControlPanel\International\GeoWindows locale key queried for geolocation
- sha2562a76a28639d896bb41576d0e32d155b78f38b034e052dfe3a7b7e1a478fc0e24setup-codex.ps1 fileless PowerShell downloader hash
- sha2564bfe5ca73a4b0988586a46f789aeedba5db575257b58291934cddb9faa606fdbsetup-claudecode.ps1 fileless downloader hash
- urlhxxps://chat1[.]sorryios[.]chat/claudecodeClaude Code relay C2 endpoint
- urlhxxps://chat1[.]sorryios[.]ioRelay C2 endpoint base URL
- urlhxxps://chat1[.]sorryios[.]io/codexCodex relay C2 endpoint
- urlhxxps://chat[.]nuoda[.]vipRelay C2 endpoint base URL
- urlhxxps://chat[.]nuoda[.]vip/claudecodeClaude Code relay C2 endpoint
- urlhxxps://chat[.]nuoda[.]vip/codexCodex relay C2 endpoint
- urlhxxps://chat[.]rawchat[.]cn/codexCodex relay C2 endpoint
- urlhxxps://claudechn[.]com/codexCodex relay C2 endpoint
- urlhxxps://gpt4[.]mirbuds[.]com/codexCodex relay C2 endpoint
- urlhxxps://new[.]sharedchat[.]cc/codexCodex relay C2 endpoint
- urlhxxps://rawchat[.]cn/codexCodex relay C2 endpoint
- urlhxxps://vibe[.]aiok[.]meRelay delivery server base URL
- urlhxxps://vibe[.]aiok[.]me/setup-claudecode[.]ps1Fileless Claude Code setup script download URL
- urlhxxps://vibe[.]aiok[.]me/setup-codex[.]ps1Fileless Codex setup script download URL