Malicious Code Injection in yappiest_mockingbird-apptea: A Threat to npm Users
Summary
MAL-2025-111238: Malicious code in yappiest_mockingbird-apptea (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 package yappiest_mockingbird-apptea is part of the tea.xyz token reward campaign, which has been known to flood the npm ecosystem with malicious packages. These packages are designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names. This behavior poses a significant risk to developers and users relying on npm for secure package management.
Vulnerability Detail
The vulnerability originates from the malicious intent behind the yappiest_mockingbird-apptea package, which contains scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. This results in the continuous republishing of variants that pollute the npm registry, potentially leading to security risks and integrity issues for users who unknowingly install these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall yappiest_mockingbird-apptea
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, avoid using the yappiest_mockingbird-apptea package and consider using alternative packages that provide similar functionality without the associated risks. Additionally, regularly audit your package dependencies using tools like npm audit.
Conclusion
The yappiest_mockingbird-apptea package poses a significant threat to npm users due to its malicious code designed to manipulate package metadata and inflate developer reputation scores. It is crucial to remove this package and monitor your dependencies to maintain a secure development environment.
See every vulnerability recorded for yappiest_mockingbird-apptea →
FAQ
yappiest_mockingbird-apptea is an npm package involved in a malicious campaign that aims to inflate developer reputation scores through the automatic generation of derivative packages.
You can check if your application is affected by using Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.
If you have installed yappiest_mockingbird-apptea, you should uninstall it immediately using 'npm uninstall yappiest_mockingbird-apptea' and check for any other affected packages.
The main impact of this vulnerability is the potential pollution of the npm registry, which can lead to security risks and integrity issues for developers and users who may unknowingly install compromised packages.
To prevent similar vulnerabilities, regularly audit your dependencies, use trusted packages, and monitor your projects with tools like Vulert for real-time alerts on open-source vulnerabilities.