MAL-2026-14219 Malicious code in setup-codex (npm)

Malicious package Published
Package
setup-codex
Registry
npm

What is MAL-2026-14219?

MAL-2026-14219 is a malicious package in setup-codex, published on 19 Aug 2026.

Official description

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.

What should I do about MAL-2026-14219?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

Sources

Is MAL-2026-14219 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free