Malicious Code Injection in glad_sparrow-appteadev: npm Package Vulnerability
Summary
MAL-2025-103263: Malicious code in glad_sparrow-appteadev (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 glad_sparrow-appteadev package is part of the npm ecosystem, primarily used for application development. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. This package, like others in the campaign, is designed to manipulate developer reputation scores by automatically generating and publishing derivative packages.
Vulnerability Detail
The vulnerability in glad_sparrow-appteadev stems from its malicious payload that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, which leads to the pollution of the npm registry. This behavior is part of a broader scheme to inflate developer reputation scores for token rewards, posing significant risks to developers relying on the integrity of npm packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall glad_sparrow-appteadev
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 glad_sparrow-appteadev package from your project until a secure version is released. Use the following command to uninstall the package: npm uninstall glad_sparrow-appteadev.
Conclusion
The glad_sparrow-appteadev package contains a significant vulnerability due to malicious code that alters its package.json file and affects the npm registry. It is essential to update or remove the package to protect your application from potential risks.
See every vulnerability recorded for glad_sparrow-appteadev →
FAQ
The vulnerability involves malicious code that modifies package.json and repackages it with random names, affecting the integrity of the npm registry.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Check your application using the Vulert playground at Vulert Scanner.
The risks include the potential for your application to use compromised packages, leading to security breaches and loss of developer reputation.
Check the npm registry or the package's repository for any updates or patches that address the vulnerability.
As a temporary measure, consider removing the package from your project to mitigate risks until a secure version is available.