Malicious Code Injection in native_sole_z3n Package
Summary
MAL-2025-88759: Malicious code in native_sole_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 native_sole_z3n package is part of the npm ecosystem, often utilized for various JavaScript 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 the generation of random package names and autopublishing scripts.
Vulnerability Detail
The vulnerability stems from the malicious code embedded within the native_sole_z3n package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the pollution of the npm registry. The malicious payload is part of a broader scheme to inflate developer reputation scores for token rewards associated with the tea.xyz protocol. The ramifications include potential security risks for applications relying on this package, as it can lead to unauthorized access and manipulation of project dependencies.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall native_sole_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 remove the native_sole_z3n package from your project by executing the command: npm uninstall native_sole_z3n. This will prevent any malicious code from executing while you seek a secure alternative.
Conclusion
The native_sole_z3n package poses a significant security risk due to its malicious code that alters project dependencies. It is crucial for developers to take immediate action by uninstalling the package and monitoring their projects for vulnerabilities using tools like Vulert.
See every vulnerability recorded for native_sole_z3n →
FAQ
The native_sole_z3n package is an npm package that has been identified as part of a malicious campaign to manipulate developer reputation scores.
The vulnerability can lead to unauthorized changes in your project's dependencies, potentially compromising the security and integrity of your application.
You should immediately uninstall the package and check for any updates or secure alternatives to mitigate the risk.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just the package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.