Malicious Code Injection in Substantial Pony Z3N Package
Summary
MAL-2025-96841: Malicious code in substantial_pony_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 substantial_pony_z3n package is part of the npm ecosystem, often utilized in JavaScript projects for various functionalities. However, it has been identified as part of a malicious campaign that floods the npm registry with derivative packages. This package is designed to manipulate developer reputation scores through automated publishing scripts, which can lead to significant security risks.
Vulnerability Detail
The vulnerability originates from the substantial_pony_z3n package being involved in a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior not only pollutes the npm registry but also poses a risk of unintentional dependency on compromised packages, potentially leading to further exploitation or data breaches.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall substantial_pony_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 the substantial_pony_z3n package and any of its derivatives. Additionally, consider using npm audit to identify and address vulnerabilities in your dependencies.
Conclusion
The substantial_pony_z3n package poses a significant security risk due to its involvement in a malicious campaign that alters package metadata and floods the npm registry. It is crucial to remove this package from your projects and stay vigilant about dependency management to safeguard your applications.
See every vulnerability recorded for substantial_pony_z3n →
FAQ
It is an npm package that has been identified as part of a malicious campaign to manipulate developer reputation scores.
The vulnerability can lead to the introduction of malicious code into your project, potentially compromising its security and integrity.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.
You should immediately remove the substantial_pony_z3n package and any related derivatives from your project to mitigate the risk.
Regularly audit your dependencies using tools like npm audit and monitor for updates on vulnerabilities through platforms like Vulert.