Malicious Code Injection in steep_goat_z3n: npm Package Vulnerability
Summary
MAL-2025-96771: Malicious code in steep_goat_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 steep_goat_z3n package 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 with the intent to inflate developer reputation scores for token rewards. The package's functionality is compromised due to the presence of malicious scripts that manipulate its metadata.
Vulnerability Detail
The vulnerability in steep_goat_z3n originates from its association with a token reward campaign that floods the npm registry with spammy packages. The malicious payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names, which leads to pollution of the npm registry. This can result in developers unknowingly using compromised packages, potentially leading to security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall steep_goat_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, avoid using the steep_goat_z3n package and consider using alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your project for vulnerabilities using tools like Vulert, which analyzes your package-lock.json file for any open-source vulnerabilities.
Conclusion
The steep_goat_z3n package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry. It is crucial for developers to remove this package and monitor their projects for vulnerabilities to maintain the security of their applications.
See every vulnerability recorded for steep_goat_z3n →
FAQ
steep_goat_z3n is an npm package that has been identified as part of a malicious campaign to exploit the npm registry.
The vulnerability can lead to the inclusion of compromised packages in your application, potentially exposing it to security risks.
You should uninstall the package immediately and monitor your project for any vulnerabilities.
You can use tools like Vulert, which allows you to check your package-lock.json for vulnerabilities without requiring installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without signing up.