Malicious Code Injection in linear_asp_z3n Package
Summary
MAL-2025-105191: Malicious code in linear_asp_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 linear_asp_z3n package is part of the npm ecosystem, which is widely used for JavaScript development. This package is designed to facilitate specific functionalities within applications but has been compromised. It is part of a broader campaign that exploits npm's publishing mechanisms to inflate developer reputation scores through malicious practices.
Vulnerability Detail
The vulnerability in the linear_asp_z3n package stems from its association with a malicious campaign that modifies the package.json file. This modification removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants. This behavior not only pollutes the npm registry but also poses significant risks to developers who may unknowingly use these compromised packages, potentially leading to 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 linear_asp_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 linear_asp_z3n package from your project by executing: npm uninstall linear_asp_z3n. This will prevent any malicious code from executing until a secure version is available.
Conclusion
The linear_asp_z3n package has been identified as compromised, posing significant risks to developers and their applications. It is essential to take immediate action by updating or removing the package to safeguard your projects. Utilizing tools like Vulert can help monitor and alert you to such vulnerabilities in real-time.
See every vulnerability recorded for linear_asp_z3n →
FAQ
The linear_asp_z3n package is an npm package used in JavaScript development, but it has been compromised with malicious code.
The malicious code modifies your package.json, removes private flags, and can lead to the republishing of harmful variants, potentially compromising your application's security.
You can use Vulert, which monitors open-source vulnerabilities in real-time. By utilizing the Vulert playground, you can check if your application is affected by this vulnerability without any signup.
If you are using the compromised linear_asp_z3n package, you should uninstall it immediately and check for any updates or patches from the package maintainers.
More information can be found in the vulnerability report and by checking the package's repository for updates and security advisories.