Malicious Code Injection in net_peacock_bronze-34: A Threat to npm Ecosystem
Summary
MAL-2025-106274: Malicious code in net_peacock_bronze-34 (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
net_peacock_bronze-34 is an npm package that has been identified as part of a malicious campaign targeting the npm registry. This package is designed to exploit developers by automatically generating and publishing derivative packages with randomized names, aiming to inflate reputation scores for token rewards. Its functionality is compromised by the presence of malicious scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability in net_peacock_bronze-34 originates from its association with the tea.xyz token reward campaign, which has flooded the npm ecosystem with malicious packages. The malicious payload alters the package.json file by removing private flags, changing version numbers, and generating random package names. This behavior not only pollutes the npm registry but also poses significant risks to developers who may unknowingly use these compromised packages, leading to potential security breaches and loss of trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall net_peacock_bronze-34
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 avoid using the net_peacock_bronze-34 package altogether. If it is already included in your project, consider removing it and replacing it with a trusted alternative. You can execute the following command to uninstall the package: npm uninstall net_peacock_bronze-34.
Conclusion
The net_peacock_bronze-34 package poses a significant security risk due to its malicious code designed to manipulate the npm registry. It is essential for developers to be vigilant and remove any instances of this package from their projects. Utilizing tools like Vulert can help monitor for such vulnerabilities in real-time.
See every vulnerability recorded for net_peacock_bronze-34 →
FAQ
net_peacock_bronze-34 is an npm package that has been identified as part of a malicious campaign aimed at manipulating the npm registry.
The vulnerability can lead to the injection of malicious code, which may compromise your project's security and integrity.
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.
If you have used net_peacock_bronze-34, it is crucial to remove it from your project and replace it with a secure alternative.
Currently, there is no patched version available for net_peacock_bronze-34. Regularly check the package repository for any updates.