Malicious Code Detected in petite_lamprey-gooddev Package - npm Vulnerability Alert
Summary
MAL-2025-107054: Malicious code in petite_lamprey-gooddev (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 petite_lamprey-gooddev package is part of the npm ecosystem, often used for various development tasks. However, it has been identified as part of a malicious campaign that floods the npm registry with derivative packages. These packages are designed to inflate developer reputation scores through automated publishing scripts, which can lead to severe security risks.
Vulnerability Detail
This vulnerability originates from the package being associated with the tea.xyz token reward campaign, which has been known to introduce malicious code into npm packages. The malicious payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior can lead to the pollution of the npm registry and compromise the integrity of projects relying on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall petite_lamprey-gooddev
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 workaround, you can avoid using the petite_lamprey-gooddev package altogether. If it is already part of your project, consider removing it and replacing it with a trusted alternative.
Conclusion
The petite_lamprey-gooddev package has been identified as a source of malicious code that can compromise the integrity of npm projects. It is crucial to remove this package and monitor for any updates or patches to ensure the security of your applications.
See every vulnerability recorded for petite_lamprey-gooddev →
FAQ
It is an npm package that has been identified as part of a malicious campaign aimed at inflating developer reputation scores.
The vulnerability can lead to the pollution of the npm registry and may compromise the security and integrity of your project.
You should remove the petite_lamprey-gooddev package from your project and monitor for any updates or patches.
You can use tools like Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without any signup.