Malicious code in setup-codex (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (957e8b8d535ccc5e5d7e84e99a51695f7a50a4417bfca5f3582ae2817ca75846) The package's lib/report.js requires child_process, fs, https, and os at the top of the module and constructs an HTTPS POST to a hardcoded destination at hooks.zapier.com (see line 12). The report body includes host identity fields collected via os.hostname() and os.userInfo() (lines 160, 168), the output of execSync() shell commands (line 20), and filesystem reads via fs.readFileSync() (lines 31, 72). The combination of installer-side host identity, shell-command output, and file contents shipped to a hardcoded third-party webhook is the credential- and host-reconnaissance exfiltration shape rather than any documented setup behavior for a legitimate 'codex' helper.
Malicious code in setup-codex (npm)
Description
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (957e8b8d535ccc5e5d7e84e99a51695f7a50a4417bfca5f3582ae2817ca75846) The package's lib/report.js requires child_process, fs, https, and os at the top of the module and constructs an HTTPS POST to a hardcoded destination at hooks.zapier.com (see line 12). The report body includes host identity fields collected via os.hostname() and os.userInfo() (lines 160, 168), the output of execSync() shell commands (line 20), and filesystem reads via fs.readFileSync() (lines 31, 72). The combination of installer-side host identity, shell-command output, and file contents shipped to a hardcoded third-party webhook is the credential- and host-reconnaissance exfiltration shape rather than any documented setup behavior for a legitimate 'codex' helper.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-14219
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a85b4c7acd9273b4925282b
Added to database: 08/19/2026, 13:51:03 UTC
Last updated: 08/19/2026, 13:51:35 UTC
Views: 1
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.