Malicious Code Injection in passive_locust_z3n: A Threat to npm Ecosystem

passive_locust_z3n Updated 27 Nov 2025

Summary

11/11/2025
CRITICAL
No i
Critical
Not published

MAL-2025-95853: Malicious code in passive_locust_z3n (npm). Affected versions are not published. No fix is published. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The package 'passive_locust_z3n' is part of the npm ecosystem, which is widely used for JavaScript package management. It is suspected to be involved in a token reward campaign that aims to inflate developer reputation scores through the automatic generation and publication of derivative packages. This behavior poses a significant risk to developers and users relying on npm for secure package management.

Vulnerability Detail

The vulnerability in 'passive_locust_z3n' originates from its association with a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This results in the continuous republishing of variants that pollute the npm registry, potentially leading to security risks for users who inadvertently install these compromised packages. The malicious payload can compromise the integrity of the npm ecosystem by allowing unauthorized access to sensitive data and resources.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall passive_locust_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 'passive_locust_z3n' package until a secure version is released. Additionally, consider using alternative packages that provide similar functionality without the associated risks.

Conclusion

The 'passive_locust_z3n' package poses a significant risk due to its malicious code that alters package metadata and repackages itself. Users are encouraged to update their packages and utilize tools like Vulert to monitor for vulnerabilities. Staying vigilant and proactive in dependency management is crucial for maintaining application security.

See every vulnerability recorded for passive_locust_z3n →

Share this vulnerability

FAQ

The vulnerability involves malicious code that modifies package.json files and repackages the software, leading to potential security risks.

You can use Vulert, which monitors open-source vulnerabilities in real-time. Visit the Vulert playground at Vulert Scanner to check your application without any signup.

If you have installed the package, it is advisable to remove it and update to a secure version or use an alternative package.

While specific exploits have not been detailed, the nature of the vulnerability suggests that it could lead to unauthorized access and data exposure.

Regularly audit your dependencies, use tools like Vulert for monitoring, and stay informed about security updates in the npm ecosystem.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall passive_locust_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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback