Malicious Code Vulnerability in repocket: A Threat to PyPI Users

repocket Updated 02 Oct 2025

Summary

31/07/2025
CRITICAL
No i
Critical
Not published

MAL-2025-6576: Malicious code in repocket (PyPI). Affects repocket versions 0.0.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 'repocket' package is a Python library available on the Python Package Index (PyPI) that is designed for specific functionalities related to data management. However, it has been found to contain malicious code that poses a significant risk to users who install it. The package version 0.0.1 is particularly affected, making it crucial for users to be aware of this vulnerability.

Vulnerability Detail

The vulnerability identified as MAL-2025-6576 originates from malicious code embedded within the 'repocket' package. This code can lead to unauthorized access to user data, potential data breaches, and exploitation of the user's environment. The specific technical aspects include the use of obfuscated code that may execute harmful actions without the user's consent, making it difficult to detect and mitigate.

How To Fix

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

pip uninstall repocket

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 temporary workaround, users can avoid using the 'repocket' package until a secure version is released. Additionally, consider using alternative packages that provide similar functionality without the associated risks.

Conclusion

The discovery of malicious code in the 'repocket' package highlights the importance of vigilance when using open-source libraries. Users are advised to take immediate action to uninstall the affected version and monitor for updates. Utilizing tools like Vulert can further enhance security by providing real-time alerts for vulnerabilities.

See every vulnerability recorded for repocket →

Share this vulnerability

FAQ

The 'repocket' package is a Python library available on PyPI, designed for specific data management tasks.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Check your application against this vulnerability using the Vulert playground at Vulert Scanner.

If you have installed the 'repocket' package, you should uninstall it immediately to prevent any potential security risks.

Yes, consider exploring other Python packages that offer similar functionalities without the associated risks of malicious code.

Utilize tools like Vulert to monitor your dependencies for vulnerabilities and receive alerts in real-time.

How To Fix

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

pip uninstall repocket

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