Malicious Code Injection in young_sparrow_z3n: A Threat to npm Ecosystem
Summary
MAL-2025-92670: Malicious code in young_sparrow_z3n (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 'young_sparrow_z3n' is part of the npm ecosystem, which is widely used for managing JavaScript packages. This package is associated with the tea.xyz token reward campaign, which has been linked to a series of malicious activities aimed at inflating developer reputation scores. The functionality of this package is compromised, making it a vector for malicious code that can affect developers and users alike.
Vulnerability Detail
The vulnerability in 'young_sparrow_z3n' originates from its malicious intent to modify the package.json file by removing private flags and changing version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior not only affects the integrity of the npm ecosystem but also poses risks to developers who may unknowingly use these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall young_sparrow_z3n
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 avoid using 'young_sparrow_z3n' and instead look for alternative packages that provide similar functionality without the associated risks. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The 'young_sparrow_z3n' package poses a significant threat to the npm ecosystem due to its malicious code injection capabilities. It is crucial for developers to be aware of this vulnerability, take immediate action to remove the package, and utilize monitoring tools like Vulert to safeguard their projects.
See every vulnerability recorded for young_sparrow_z3n →
FAQ
It is an npm package that has been linked to malicious activities aimed at inflating developer reputation scores through the tea.xyz token reward campaign.
The vulnerability can lead to the introduction of malicious code into your project, potentially compromising its integrity and security.
You should remove the 'young_sparrow_z3n' package from your project immediately and monitor for any updates or patches.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without requiring any signup.