Malicious Code Injection in whispering_prawn_z3n: A Threat to npm Ecosystem
Summary
MAL-2025-110830: Malicious code in whispering_prawn_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 'whispering_prawn_z3n' is part of the npm ecosystem, which is widely used for JavaScript package management. This package has been identified as part of a malicious campaign that aims to exploit the npm registry by generating and publishing numerous derivative packages. These packages are designed to inflate developer reputation scores for token rewards in the tea.xyz protocol. The malicious nature of this package compromises the integrity of the npm ecosystem and poses risks to developers and users alike.
Vulnerability Detail
The vulnerability in 'whispering_prawn_z3n' originates from its involvement in a token reward campaign that floods the npm registry with malicious packages. The package contains scripts that automatically modify the package.json file to remove private flags, change version numbers, and generate random package names. This results in the continuous republishing of variants, polluting the npm registry and potentially leading to security risks for users who inadvertently install these packages. The malicious payload can compromise the integrity of applications relying on affected packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall whispering_prawn_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 prevent the installation of this malicious package by using the following command to uninstall it: npm uninstall whispering_prawn_z3n. Additionally, you can use tools like Vulert to monitor your project for vulnerabilities. Vulert allows you to check your package-lock.json for vulnerabilities without requiring code access or installation. You can use the Vulert playground at https://vulert.com/scanner to check if your application is affected by this vulnerability.
Conclusion
The 'whispering_prawn_z3n' package poses a significant threat to the npm ecosystem due to its malicious nature. It is crucial for developers to be vigilant and take immediate action to remove this package and monitor their projects for vulnerabilities. Utilizing tools like Vulert can aid in maintaining the security of your applications.
See every vulnerability recorded for whispering_prawn_z3n →
FAQ
'whispering_prawn_z3n' is an npm package identified as part of a malicious campaign to exploit the npm registry.
The vulnerability can lead to the installation of malicious code, compromising the security and integrity of your application.
You should uninstall the package immediately and check for any other affected packages in your project.
Yes, you can use Vulert to monitor your project for open-source vulnerabilities in real-time by analyzing your package-lock.json.
Regularly update your dependencies, use tools like Vulert for monitoring, and review the packages you include in your project.