Malicious Code Exfiltration in hostlists-plugins-default Package

hostlists-plugins-default Updated 06 Mar 2026

Summary

06/03/2026
CRITICAL
No i
Critical
Not published

MAL-2026-1275: Malicious code in hostlists-plugins-default (PyPI). Affects hostlists-plugins-default versions 0.0.0 – 1.0.0. 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 hostlists-plugins-default package, available on PyPI, is designed for use in penetration testing and related activities. It is intended to assist users in gathering information about hosts in a network. However, this package has been found to contain malicious code that compromises its intended functionality, posing a risk to users who install it.

Vulnerability Detail

The vulnerability originates from the package's design, which includes code that exfiltrates sensitive information such as the host's IP address and username upon installation. This malicious behavior is executed by overriding the install command in the setup.py file, ensuring that the harmful code runs automatically during the installation process. The risk is categorized as limited, but it still poses a significant threat to user privacy and security.

How To Fix

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

pip uninstall hostlists-plugins-default

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, users can utilize alternative packages that do not exhibit malicious behavior. Additionally, consider using virtual environments to isolate installations and minimize risk. For example, create a virtual environment using the following commands:

python -m venv myenv
source myenv/bin/activate

Then, install only trusted packages within this environment.

Conclusion

The hostlists-plugins-default package contains malicious code that compromises user security by exfiltrating sensitive information. Users are advised to uninstall the package and seek safer alternatives. Regular monitoring of dependencies using tools like Vulert can help maintain a secure software environment.

See every vulnerability recorded for hostlists-plugins-default →

Share this vulnerability

FAQ

It is a package available on PyPI intended for penetration testing and host information gathering.

The malicious code exfiltrates basic information such as the host's IP address and username.

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

You should uninstall the package immediately using the command: pip uninstall hostlists-plugins-default.

Yes, consider using other trusted packages for penetration testing that do not exhibit malicious behavior.

How To Fix

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

pip uninstall hostlists-plugins-default

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