Malicious Code Injection in Sheer Shark Z3N Package
Summary
MAL-2025-90482: Malicious code in sheer_shark_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 sheer_shark_z3n package is part of the npm ecosystem, typically used for various JavaScript functionalities. However, it has been identified as part of a malicious campaign that exploits the npm registry by flooding it with derivative packages. This package is designed to inflate developer reputation scores through automated publishing scripts, which can lead to significant pollution of the npm registry.
Vulnerability Detail
The vulnerability in the sheer_shark_z3n package originates from its involvement in the tea.xyz token reward campaign. It contains malicious scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior not only compromises the integrity of the package but also affects the broader npm ecosystem by creating numerous derivative packages that can confuse developers and lead to security risks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall sheer_shark_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 sheer_shark_z3n package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can use the following command to audit your npm packages for vulnerabilities: 'npm audit'.
Conclusion
The sheer_shark_z3n package poses a significant risk due to its malicious code that modifies package files and floods the npm registry. It is crucial for developers to remove this package from their projects and monitor their dependencies for vulnerabilities to maintain the integrity of their applications.
See every vulnerability recorded for sheer_shark_z3n →
FAQ
The sheer_shark_z3n package is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores.
This vulnerability can lead to the pollution of the npm registry and may introduce security risks into your project by allowing malicious code to be executed.
You should uninstall the sheer_shark_z3n package immediately and check for any alternative packages that do not have known vulnerabilities.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time. You can also check your application using the Vulert playground without any signup.
Regularly auditing your dependencies and using tools like npm audit can help identify vulnerabilities early. Additionally, keeping your packages updated and using trusted sources for packages can mitigate risks.