Malicious code in tppyreplacestr (PyPI)

tppyreplacestr Updated 02 Oct 2025

Summary

26/02/2023
CRITICAL
No i
Critical
Not published

MAL-2023-7477: Malicious code in tppyreplacestr (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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The tppyreplacestr package is an open-source Python package available on PyPI. It provides functionality for replacing substrings in text. The package is commonly used in various Python projects and applications.

Vulnerability Detail

The tppyreplacestr package has been found to contain malicious code. This vulnerability was discovered by the Checkmarx security team. The malicious code was introduced in version 0 of the package. The code is designed to execute spyware and information-stealing malware. The malicious code can be found in the following URLs: https://dl.dropbox.com/s/tpykidpdjz99202/esquele.exe and https://cdn.discordapp.com/attachments/1090710876639744062/1102575056925761587/bypass2.ps1. This vulnerability poses a significant risk to any project or application that uses the tppyreplacestr package, as it can lead to unauthorized access and data theft.

How To Fix

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

pip uninstall tppyreplacestr

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 known workaround for this vulnerability. It is essential to address the issue by removing or updating the affected package as mentioned in the 'how_to_fix' section.

Conclusion

The tppyreplacestr package has been found to contain malicious code that can lead to unauthorized access and data theft. It is crucial to take immediate action to remove or update the affected package and scan the system for any signs of compromise. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for tppyreplacestr →

Share this vulnerability

FAQ

tppyreplacestr is a Python package available on PyPI that provides functionality for replacing substrings in text.

The malicious code in tppyreplacestr was discovered by the Checkmarx security team during their routine security analysis.

This vulnerability can lead to unauthorized access and data theft, as the malicious code is designed to execute spyware and information-stealing malware.

To fix this vulnerability, it is recommended to immediately remove or update the tppyreplacestr package to a version that is not affected by the malicious code. Additionally, it is crucial to scan the system for any signs of compromise and take appropriate actions to mitigate the impact of the malware.

There is no known workaround for this vulnerability. It is essential to address the issue by removing or updating the affected package as mentioned in the 'how_to_fix' section.

How To Fix

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

pip uninstall tppyreplacestr

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