VDB
KO

MAL-2026-14219

Malicious code in setup-codex (npm)

Details

--- _-= 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.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm / setup-codex

No fixed version published yet for setup-codex (npm). Pin to a known-safe version or switch to an alternative.

References