Malicious npm package exfiltrates OpenAI Codex tokens

The 30-Second Skim
- What happened: A malicious npm package, codexui-android, has been quietly stealing OpenAI Codex authentication tokens from developers and sending them to a fake Sentry server. The attack, uncovered by Aikido Security, also spreads through an Android app that runs the same code, giving attackers indefinite, silent access to Codex accounts via non‑expiring refresh tokens.
- Key facts & numbers: codexui-android npm package silently exfiltrates OpenAI Codex authentication tokens (access_token, refresh_token, id_token, account ID) from users' ~/.codex/auth.json files to the attacker‑controlled server sentry.anyclaw.store. Aikido Security researcher Charlie Eriksen disclosed that the malicious code was added about a month after the package’s initial release and has been active for every invocation since version 0.1.82. friuns (Igor Levochkin) is the npm account publishing codexui-android, which has attracted over 29,000 weekly downloads on npm while its GitHub repo appears clean.
- What happens next: That npm UI looks legit but is actually stealing your OpenAI tokens, giving a hacker indefinite control over your Codex.
- codexui-android npm package silently exfiltrates OpenAI Codex authentication tokens (access_token, refresh_token, id_token, account ID) from users' ~/.codex/auth.json files to the attacker‑controlled server sentry.anyclaw.store.
- Aikido Security researcher Charlie Eriksen disclosed that the malicious code was added about a month after the package’s initial release and has been active for every invocation since version 0.1.82.
- friuns (Igor Levochkin) is the npm account publishing codexui-android, which has attracted over 29,000 weekly downloads on npm while its GitHub repo appears clean.
- OpenClaw Codex Claude AI Agent Android app (package name gptos.intelligence.assistant) runs the codexui-android package inside a PRoot sandbox and forwards the same credential data to sentry.anyclaw.store.
Why It Matters
Attackers gain persistent, silent access to Codex accounts, while developers lose credential security; with 29,000 weekly downloads, the breach lets hackers issue API calls and retrieve proprietary code.
Sources Cited
- The Hacker News — OpenAI Codex Authentication Tokens Stolen in codexui-android npm Supply Chain Attack
- TechRadar — OpenAI Codex tool with over 29,000 downloads linked to malicious npm supply chain attack stealing authentication tokens
- Aikido Security — Legitimate-Looking Codex Remote UI Secretly Steals Your AI Tokens
- Hackread — 27,000-Download Codex UI Tool Secretly Stole OpenAI Refresh Tokens
- Let's Data Science — Codex UI Package Steals OpenAI Authentication Tokens
Related Coverage
- npm mouse5212-super-formatter steals Claude AI dataThe Hacker News
- Malicious Sicoob NuGet Steals Banking Credentials as npm Packages Target Cloud SecretsThe Hacker News
- Mini Shai-Hulud Hits 323 npm Packages, Steals 20+ credsThe Hacker News
- Ghost Campaign Plants 7 Malicious npm Packages to Steal CryptoThe Hacker News
Ask SkimNews