MAL-2026-14219 Malicious code in setup-codex (npm)
Malicious package
Published
MAL-2026-14219 is a malicious package: setup-codex (npm). Every version was published to cause harm.
Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.
Reference: https://insights.sbomify.com/MAL-2026-14219/ (Markdown: https://insights.sbomify.com/MAL-2026-14219/index.md)
- 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.