Malicious code in ultraurl (PyPI)

ultraurl Updated 02 Oct 2025

Summary

24/02/2023
CRITICAL
No i
Critical
Not published

MAL-2023-7773: Malicious code in ultraurl (PyPI). 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

ultraurl is a Python package available on PyPI that provides functionality for URL manipulation and parsing. It is commonly used in Python applications to handle URL-related tasks. However, the ultraurl package has been found to contain malicious code, making it a security risk for applications that depend on it.

Vulnerability Detail

The ultraurl package has been compromised by the EsqueleSquad group, who published nearly 6000 malicious PyPi and NPM packages. These packages execute spyware and information-stealing malware. The specific vulnerability in ultraurl allows attackers to gain unauthorized access to sensitive information and potentially compromise the entire system. The malicious code can be triggered when using certain features or functions provided by the ultraurl package.

How To Fix

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

pip uninstall ultraurl

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 workaround, you can manually inspect the code of the ultraurl package and remove any suspicious or malicious code. However, this approach is not recommended as it can be time-consuming and error-prone. It is best to completely remove the package and replace it with a secure alternative.

Conclusion

The ultraurl package on PyPI has been compromised by the EsqueleSquad group, leading to the inclusion of malicious code. This vulnerability poses a significant risk to applications that depend on ultraurl, as it can result in unauthorized access and data theft. To mitigate this risk, it is recommended to remove the ultraurl package and replace it with a trusted alternative. Additionally, regularly monitoring for open-source vulnerabilities using tools like Vulert can help ensure the security of your software.

See every vulnerability recorded for ultraurl →

Share this vulnerability

FAQ

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability. Simply provide your Pipfile.lock file, and Vulert will analyze it for any open-source vulnerabilities, including the malicious code in ultraurl.

The malicious code in ultraurl can lead to unauthorized access to sensitive information, such as user credentials or confidential data. Attackers can exploit this vulnerability to compromise the entire system, steal data, or perform other malicious activities.

There is no official fix available for the ultraurl package since it has been compromised by malicious actors. The best course of action is to remove the package from your application and replace it with a trusted alternative.

While the ultraurl package has been compromised, it does not mean that all packages on PyPI or NPM are malicious. However, it is crucial to exercise caution and regularly audit the packages used in your application to ensure they are free from known vulnerabilities. Tools like Vulert can help in this process.

To prevent similar vulnerabilities, it is essential to follow secure coding practices, regularly update and audit the packages used in your application, and use tools like Vulert to monitor for open-source vulnerabilities. Additionally, maintaining awareness of security news and updates can help you stay informed about potential risks.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

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

pip uninstall ultraurl

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