Skip to main content
MalwarePublished

foodi (npm) · Malicious Code

Affects foodiSource GCVE Database

0

Malicious package : remove foodi and rotate any secrets on hosts that installed it.

Data as of 5 Aug 2026, 17:46 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-12383

What to do

Remove foodi from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npmfoodiAffected
  • =99.99.1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The npm package 'foodi' version 99.99.1 contains malicious preinstall and postinstall scripts that execute commands to collect the username, hostname, and environment variables, then exfiltrate this data via an insecure POST request to an external server. The package's main module is empty, indicating its primary purpose is to perform install-time data exfiltration, potentially leaking sensitive credentials and tokens from developer or CI environments.

References

Community reviews

Loading reviews…