Malicious code in tpstrgethydra (PyPI)

tpstrgethydra Updated 02 Oct 2025

Summary

26/02/2023
CRITICAL
No i
Critical
Not published

MAL-2023-7602: Malicious code in tpstrgethydra (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 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

tpstrgethydra is a package available on PyPI that is used for [provide brief description of the package's functionality]. It is vulnerable to a malicious code injection attack, as a result of which it can execute spyware and information-stealing malware. This vulnerability was discovered by the Checkmarx research team.

Vulnerability Detail

The vulnerability (MAL-2023-7602) in tpstrgethydra arises from the inclusion of a malicious package in the PyPI repository. The malicious package, which has been identified as b48c0e408fabe198b704aa1fec5b6fbf5c711bd50a26f1072749c675bed579bb, contains spyware and information-stealing malware. This can lead to unauthorized access to sensitive information and compromise the security and privacy of the affected systems. The malicious code can be triggered when the tpstrgethydra package is installed or updated.

How To Fix

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

pip uninstall tpstrgethydra

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 available for this vulnerability. It is essential to take immediate action by removing the tpstrgethydra package and following the recommended steps to fix the issue.

Conclusion

The tpstrgethydra package on PyPI has been found to contain malicious code that can execute spyware and information-stealing malware. It is crucial to remove this package from your project and replace it with a trusted alternative. Regularly updating packages, implementing security monitoring, and following best practices for package management are essential to ensure the security of your Python applications. For further support and assistance in vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for tpstrgethydra →

Share this vulnerability

FAQ

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability. Simply provide your Pipfile.lock file, and Vulert will analyze it in real-time to identify any open-source vulnerabilities, including this one.

The malicious code in tpstrgethydra can execute spyware and information-stealing malware, leading to unauthorized access to sensitive information. This can result in data breaches, compromised user privacy, and potential financial losses.

Yes, the recommended fix is to remove the tpstrgethydra package from your project and replace it with a trusted alternative. Regularly updating your packages from trusted sources and implementing a robust security monitoring system are also crucial to mitigate such vulnerabilities.

To ensure the security of your Python packages, it is important to follow best practices such as regularly updating packages, using trusted sources, and implementing security monitoring tools. Additionally, conducting regular security audits and vulnerability assessments can help identify and address any potential vulnerabilities.

While PyPI is a widely used package repository, it is important to exercise caution and verify the authenticity and integrity of the packages you install. Stick to well-known and trusted packages, review package metadata, and consider using security tools like Vulert to monitor for vulnerabilities.

How To Fix

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

pip uninstall tpstrgethydra

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