Malicious code in urlmine (PyPI)

urlmine Updated 02 Oct 2025

Summary

23/02/2023
CRITICAL
No i
Critical
Not published

MAL-2023-7788: Malicious code in urlmine (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 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 urlmine package is an open-source Python package available on PyPI. It is designed to provide functionality for working with URLs. The package allows users to parse, manipulate, and extract information from URLs. However, the package has been found to contain malicious code, which can lead to the execution of spyware and information-stealing malware.

Vulnerability Detail

The urlmine package has been compromised by the EsqueleSquad group, who published nearly 6000 malicious PyPi and NPM packages. These packages include spyware and information-stealing malware. The malicious code can be triggered when using the urlmine package, potentially leading to unauthorized access to sensitive information and compromising the security of the system.

How To Fix

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

pip uninstall urlmine

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

There is no specific workaround for this vulnerability. It is essential to remove the urlmine package and replace it with a trusted alternative.

Conclusion

The urlmine package on PyPI has been found to contain malicious code, potentially leading to the execution of spyware and information-stealing malware. It is recommended to remove the package from your project and replace it with a trusted alternative. Regularly reviewing and updating packages, as well as using tools like Vulert, can help mitigate the risk of similar vulnerabilities. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for urlmine →

Share this vulnerability

FAQ

You can use the Vulert Playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. The Vulert Playground allows you to analyze your Pipfile.lock and provides real-time alerts for open-source vulnerabilities.

While specific exploits targeting the urlmine package have not been disclosed, the presence of malicious code in the package increases the risk of unauthorized access and information theft. It is crucial to address this vulnerability promptly.

Yes, you can continue using other packages from PyPI. However, it is essential to review the packages' integrity and ensure they are not compromised by checking for any reported vulnerabilities or using a tool like Vulert.

There is no official fix for the urlmine package vulnerability. The best course of action is to remove the package and replace it with a trusted alternative.

To prevent similar vulnerabilities, it is crucial to regularly update and review the packages used in your project. Additionally, consider using a dependency management tool like Vulert to monitor and alert for open-source vulnerabilities in real-time.

How To Fix

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

pip uninstall urlmine

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