Malicious Code Vulnerability in nump Package: Typosquatting and Dependency Confusion

nump Updated 21 Mar 2026

Summary

21/03/2026
CRITICAL
No i
Critical
Not published

MAL-2026-2013: Malicious code in nump (PyPI). Affects nump versions 1 – 5.5.5.5. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The nump package, available on PyPI, is a Python library that appears to be a legitimate package but is actually a malicious entity. It is designed to exploit users through typosquatting and dependency confusion, potentially leading to harmful actions during installation. Users may mistakenly install this package thinking it is a legitimate library, unaware of its malicious intent.

Vulnerability Detail

The vulnerability stems from the nump package being a typosquatting attempt, where the package name closely resembles a legitimate package. It overrides the install command in setup.py to execute malicious code during installation. This could lead to unauthorized actions on the user's system, such as creating flag files or other low-harm local actions. The package is categorized under PROBABLY_PENTEST, indicating it mimics typical pentesting tools but poses risks due to its deceptive nature.

How To Fix

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

pip uninstall nump

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, avoid installing packages that are similar in name to well-known libraries. Always verify the package source and check for any reported vulnerabilities before installation.

Conclusion

The nump package poses a significant risk due to its malicious nature, exploiting users through typosquatting and dependency confusion. It is essential to be vigilant when installing packages and to utilize tools like Vulert for monitoring vulnerabilities in your software.

See every vulnerability recorded for nump →

Share this vulnerability

FAQ

Typosquatting is a malicious practice where attackers create a package with a name similar to a legitimate package, hoping users will mistakenly install it.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

If you have installed the nump package, uninstall it immediately using 'pip uninstall nump' and ensure you install the correct package you intended to use.

Installing malicious packages can lead to unauthorized access, data loss, or other harmful actions on your system, even if the immediate actions seem low-harm.

Always verify the source of packages, check for reported vulnerabilities, and use tools like Vulert to monitor your dependencies for known issues.

How To Fix

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

pip uninstall nump

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