Malicious Code Vulnerability in printed_squirrel_z3n Package
Summary
MAL-2025-89518: Malicious code in printed_squirrel_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 printed_squirrel_z3n package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores. However, it has been identified to contain malicious code that modifies package.json files and republishes variants to pollute the npm registry.
Vulnerability Detail
The vulnerability originates from the malicious intent behind the printed_squirrel_z3n package, which is part of a broader scheme to exploit the npm registry. The malicious payload alters the package.json file by removing private flags, changing version numbers, and generating random package names. This can lead to significant ramifications, including the compromise of project integrity, pollution of the npm registry, and potential security risks for developers who unknowingly use these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall printed_squirrel_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 workaround, you can monitor your project's dependencies using tools like Vulert. By utilizing Vulert, you can check if your application is affected by this vulnerability without requiring access to the code or installation. Use the Vulert playground at https://vulert.com/scanner to analyze your package-lock.json file for vulnerabilities.
Conclusion
The printed_squirrel_z3n package contains a serious vulnerability that can affect the integrity of your projects. It is crucial to remove this package and monitor your dependencies for any potential threats. Utilizing tools like Vulert can help you stay informed about vulnerabilities in your open-source software.
See every vulnerability recorded for printed_squirrel_z3n →
FAQ
The printed_squirrel_z3n package is an npm package associated with a token reward campaign that generates and publishes derivative packages.
The vulnerability can compromise your project's integrity by introducing malicious code and polluting the npm registry with unwanted packages.
You should uninstall the printed_squirrel_z3n package immediately and monitor your dependencies for any further vulnerabilities.
Yes, you can use Vulert to monitor and alert for open-source vulnerabilities in your software by analyzing your package-lock.json file.
Regularly update your dependencies, monitor for vulnerabilities using tools like Vulert, and review packages before adding them to your project.