Malicious code in selfurlhttp (pypi)

selfurlhttp Updated 02 Oct 2025

Summary

25/02/2023
CRITICAL
No i
Critical
Not published

MAL-2023-6723: Malicious code in selfurlhttp (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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The selfurlhttp package is an open-source Python package available on PyPI. It provides functionality for handling URLs and making HTTP requests. The package is widely used in various Python projects and is a crucial component for web-related functionalities. However, the package has been found to contain malicious code, which poses a significant security risk to applications that utilize it.

Vulnerability Detail

The selfurlhttp 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 the selfurlhttp package allows attackers to inject and execute malicious code within the package, potentially leading to unauthorized access, data theft, and other malicious activities. The malicious code can be triggered when using certain features or functions provided by the package.

How To Fix

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

pip uninstall selfurlhttp

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 known workaround for this vulnerability. It is essential to remove the selfurlhttp package and replace it with a secure alternative.

Conclusion

The selfurlhttp package has been compromised by malicious code, posing a significant security risk to applications that utilize it. It is recommended to remove the package and replace it with a trusted alternative. Regularly monitoring and updating packages in your project is essential to ensure the security of your software. For further support on vulnerability remediation, reach out to DevNack.com.

See every vulnerability recorded for selfurlhttp →

Share this vulnerability

FAQ

The malicious code in selfurlhttp can lead to unauthorized access, data theft, and other malicious activities. It is crucial to remove the package to mitigate these risks.

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

For further support on vulnerability remediation and securing your software, you can reach out to info@devnack.com.

Not addressing this vulnerability can result in unauthorized access to sensitive data, data breaches, and potential damage to your application's reputation. It is crucial to take immediate action to mitigate these risks.

How To Fix

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

pip uninstall selfurlhttp

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