Malicious Code in tpstrstrram (PyPI)

tpstrstrram Updated 02 Oct 2025

Summary

27/02/2023
CRITICAL
No i
Critical
Not published

MAL-2023-7632: Malicious code in tpstrstrram (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 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

tpstrstrram is a package available on PyPI that is vulnerable to a malicious code injection. It is a Python library that provides string manipulation functions. The package is widely used in various Python projects and can be installed using the PyPI package manager. However, a recent security report by Checkmarx has identified a malicious version of tpstrstrram on PyPI, which contains spyware and information-stealing malware.

Vulnerability Detail

The malicious code in tpstrstrram poses a significant security risk to any Python project that includes this package. When the malicious version of tpstrstrram is installed, it can execute spyware and steal sensitive information from the infected system. This can lead to data breaches, unauthorized access, and potential harm to users' privacy. The origin of this vulnerability is traced back to the EsqueleSquad group, which published nearly 6000 malicious PyPi and NPM packages. The specific package identified by Checkmarx has a SHA256 hash of c882294e80ef55e5851ed6d727b5d94085e865ff37dc7554162b9036128e4d86.

How To Fix

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

pip uninstall tpstrstrram

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. The best course of action is to follow the steps mentioned in the 'how_to_fix' section to remove the malicious package and ensure the installation of a clean version of tpstrstrram.

Conclusion

The malicious code in tpstrstrram is a serious security threat that can lead to data breaches and unauthorized access. It is essential to remove the malicious version of tpstrstrram from your Python projects and ensure the installation of a clean and trusted version. Regularly updating dependencies and using security tools like Vulert can help mitigate similar security risks in the future. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for tpstrstrram →

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 for any open-source vulnerabilities, including the malicious version of tpstrstrram.

The malicious code in tpstrstrram can execute spyware and steal sensitive information from the infected system. This can lead to data breaches, unauthorized access, and potential harm to users' privacy.

This vulnerability was discovered by Checkmarx, a security research group. They identified the malicious version of tpstrstrram and reported it to the community.

Yes, Checkmarx has identified nearly 6000 malicious PyPi and NPM packages published by the EsqueleSquad group. These packages contain various forms of malware and pose significant security risks.

To prevent similar security risks, it is crucial to regularly update your dependencies and verify the integrity of the packages you install. Additionally, consider using security tools like Vulert to monitor and alert for open-source vulnerabilities in your software.

How To Fix

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

pip uninstall tpstrstrram

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