Malicious Code Injection in pancake-notthedevs Package: A Threat to npm Users
Summary
MAL-2025-106888: Malicious code in pancake-notthedevs (npm). Affected versions are not published. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The pancake-notthedevs package is part of the npm ecosystem, primarily used for JavaScript applications. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. These packages often contain scripts designed to manipulate package metadata and inflate developer reputation scores, making them a significant threat to the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in the pancake-notthedevs package originates from its association with malicious scripts that modify the package.json file. These scripts remove private flags, alter version numbers, and generate random package names, leading to the continuous republishing of variants that pollute the npm registry. This not only compromises the security of applications using this package but also affects the overall reliability of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall pancake-notthedevs
If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
As a temporary workaround, consider using alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your dependencies using tools like Vulert, which alerts you in real-time for open-source vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The pancake-notthedevs package poses a significant threat due to its malicious code that alters package metadata and repopulates the npm registry with harmful variants. It is crucial for developers to remove this package and utilize tools like Vulert to monitor their applications for vulnerabilities. Staying informed and proactive is key to maintaining application security.
See every vulnerability recorded for pancake-notthedevs →
FAQ
The pancake-notthedevs package is an npm package that has been linked to malicious activities aimed at manipulating developer reputation scores within the npm ecosystem.
The vulnerability can lead to the injection of malicious code into your application, potentially compromising its security and integrity.
You should uninstall the pancake-notthedevs package immediately and monitor your application for any unusual behavior.
Yes, tools like Vulert can help monitor your dependencies for vulnerabilities in real-time without requiring access to your code.
Regularly update your dependencies, monitor for vulnerabilities using tools like Vulert, and review your package-lock.json file for any suspicious packages.