Malicious Code Injection in grieving_turkey_requirement Package
Summary
MAL-2025-94754: Malicious code in grieving_turkey_requirement (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 grieving_turkey_requirement package is part of the npm ecosystem, typically utilized for various JavaScript applications. It is often involved in token reward campaigns, which can lead to the proliferation of malicious packages. This package has been identified as part of a scheme that generates and publishes derivative packages to manipulate developer reputation scores.
Vulnerability Detail
The vulnerability in the grieving_turkey_requirement package stems from its association with the tea.xyz token reward campaign. It contains malicious scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially compromising the integrity of applications that depend on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall grieving_turkey_requirement
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, you can remove the grieving_turkey_requirement package from your project by executing the command: 'npm uninstall grieving_turkey_requirement'. This will prevent any malicious code from executing until a secure version is available.
Conclusion
The grieving_turkey_requirement package has been identified as containing malicious code that can compromise applications. It is crucial to update or remove this package to maintain the security and integrity of your software. Utilizing tools like Vulert can help in monitoring and alerting for such vulnerabilities in real-time.
See every vulnerability recorded for grieving_turkey_requirement →
FAQ
It is an npm package often involved in token reward campaigns, which can lead to the creation of malicious derivatives.
The vulnerability can lead to the injection of malicious code, altering your application's behavior and potentially compromising security.
You should update the package to the latest version or remove it entirely until a secure version is released.
You can use tools like Vulert, which monitors your package-lock.json for vulnerabilities in real-time without requiring code access.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities without signing up.