Malicious Code Injection in sure_python_z3n: A Threat to npm Ecosystem

sure_python_z3n Updated 27 Nov 2025

Summary

11/11/2025
CRITICAL
No i
Critical
Not published

MAL-2025-96888: Malicious code in sure_python_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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The package 'sure_python_z3n' is part of the npm ecosystem, which is widely used for JavaScript package management. It is designed to facilitate the development and sharing of reusable code. However, this package has been identified as part of a malicious campaign that aims to exploit the npm registry by flooding it with derivative packages that inflate developer reputation scores for token rewards.

Vulnerability Detail

The vulnerability in 'sure_python_z3n' arises from its association with the tea.xyz token reward campaign. The package contains scripts that automatically generate and publish derivative packages with randomized names, which can lead to the pollution of the npm registry. The malicious payload modifies the package.json file to remove private flags, alters version numbers, and continuously republishes variants, potentially compromising the integrity of the npm ecosystem and affecting developers relying on legitimate packages.

How To Fix

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

npm uninstall sure_python_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 measure, you can avoid using the 'sure_python_z3n' package and replace it with a similar, trusted package that does not exhibit malicious behavior. Always verify the source and reputation of packages before including them in your project.

Conclusion

The 'sure_python_z3n' package poses a significant threat to the npm ecosystem due to its malicious behavior. It is crucial for developers to be vigilant and proactive in managing their dependencies to safeguard their projects from such vulnerabilities.

See every vulnerability recorded for sure_python_z3n →

Share this vulnerability

FAQ

The primary risk is that it can pollute the npm registry with malicious packages, potentially compromising the integrity of your project and affecting other developers.

You can use tools like Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can check your application against this vulnerability using the Vulert playground without any signup.

If you have installed the package, it is recommended to uninstall it immediately and replace it with a trusted alternative.

The malicious code modifies the package.json file to remove private flags and generates random package names, which are then republished to inflate developer reputation scores.

Yes, you can prevent similar vulnerabilities by regularly auditing your dependencies, using trusted sources, and employing tools like Vulert to monitor for vulnerabilities.

How To Fix

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

npm uninstall sure_python_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