Malicious Code Injection in yawning_scallop-gooddev Package
Summary
MAL-2025-111256: Malicious code in yawning_scallop-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 yawning_scallop-gooddev package is part of the npm ecosystem, often used in JavaScript applications. It is associated with the tea.xyz token reward campaign, which has been linked to various malicious activities. This package is designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names, making it a potential target for exploitation.
Vulnerability Detail
The vulnerability originates from the package's design to include autopublish scripts that modify the package.json file. This includes removing private flags, changing version numbers, and generating random package names, which can lead to pollution of the npm registry. The malicious payload can compromise the integrity of the npm ecosystem, allowing for further exploitation and misuse of developer credentials.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall yawning_scallop-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 temporary measure, you can remove the yawning_scallop-gooddev package from your project by executing the following command: npm uninstall yawning_scallop-gooddev. This will prevent any malicious code from executing until a secure version is available.
Conclusion
The yawning_scallop-gooddev package contains a significant vulnerability that can lead to malicious code execution and npm registry pollution. It is crucial to update or remove the package to mitigate risks. Utilizing tools like Vulert can help monitor and identify vulnerabilities in your applications effectively.
See every vulnerability recorded for yawning_scallop-gooddev →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to inflate developer reputation scores.
The vulnerability can lead to the modification of your package.json file and the pollution of the npm registry, potentially compromising your application's integrity.
Check the npm registry for any updated versions of the yawning_scallop-gooddev package that may contain security patches.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json.
You can use the Vulert playground at Vulert Scanner to check if your application is affected without requiring any signup.