Malicious code in networkpackage (PyPI)

networkpackage Updated 02 Oct 2025

Summary

25/06/2024
CRITICAL
No i
Critical
Not published

MAL-2024-5403: Malicious code in networkpackage (PyPI). Affects networkpackage versions 1. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The networkpackage is an open-source Python package available on PyPI. It is designed to provide networking functionality for Python applications. The package allows developers to establish network connections, send and receive data over various protocols, and handle network-related tasks. However, the package has been found to contain malicious code, posing a security risk to applications that utilize it.

Vulnerability Detail

The networkpackage (PyPI) has been identified to contain malicious code. The origin of this vulnerability is a specific version (1) of the package, which has been flagged as malicious by ReversingLabs. The presence of this malicious code can lead to various security issues, including unauthorized access, data breaches, and potential compromise of the affected system. It is crucial to address this vulnerability promptly to mitigate the associated risks.

How To Fix

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

pip uninstall networkpackage

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 mentioned for this vulnerability. However, as a general best practice, developers can consider implementing security measures such as input validation, output encoding, and access control to mitigate the risk of potential attacks.

Conclusion

The networkpackage (PyPI) has been found to contain malicious code in a specific version (1). This vulnerability poses a significant security risk to applications utilizing the package, potentially leading to unauthorized access, data breaches, and compromise of the affected system. It is crucial to promptly remove or update the affected version and implement necessary security measures to mitigate the associated risks.

See every vulnerability recorded for networkpackage →

Share this vulnerability

FAQ

This vulnerability can lead to unauthorized access, data breaches, and potential compromise of the affected system. It poses a significant security risk to applications utilizing the networkpackage.

You can use Vulert's playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities, using just Pipfile.lock without requiring access to the code or installation.

Yes, the recommended fix is to remove or update the affected version (1) of the networkpackage. It is crucial to ensure that you are using a clean and trusted version of the package.

To verify the integrity and authenticity of the networkpackage, you can check the package's source code repository, review its commit history, and ensure that it is maintained by a reputable developer or organization.

In addition to addressing this specific vulnerability, it is recommended to implement security measures such as input validation, output encoding, and access control. Regularly monitoring and updating dependencies can also help prevent the inclusion of malicious code in the future.

How To Fix

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

pip uninstall networkpackage

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