Malicious code in tpreplacecrafthacked (pypi)

tpreplacecrafthacked Updated 02 Oct 2025

Summary

26/02/2023
CRITICAL
No i
Critical
Not published

MAL-2023-7555: Malicious code in tpreplacecrafthacked (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

The tpreplacecrafthacked package is an open-source Python package available on PyPI. It is used for replacing specific characters in a text file. The package is vulnerable to a malicious code injection attack.

Vulnerability Detail

The tpreplacecrafthacked package has been compromised by the EsqueleSquad group, who published nearly 6000 malicious PyPi and NPM packages. These packages execute spyware and information-stealing malware. The specific vulnerability in tpreplacecrafthacked allows an attacker to inject and execute arbitrary code on the target system, potentially leading to unauthorized access, data theft, or other malicious activities.

How To Fix

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

pip uninstall tpreplacecrafthacked

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 provided for this vulnerability. The best course of action is to remove the affected package and replace it with a secure alternative.

Conclusion

The tpreplacecrafthacked package on PyPI has been compromised by the EsqueleSquad group, leading to the execution of malicious code. It is crucial to remove this package from your project and replace it with a trusted alternative. Regularly reviewing and updating your project's dependencies is essential to mitigate the risk of using compromised or malicious packages. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for tpreplacecrafthacked →

Share this vulnerability

FAQ

You can check your project's dependencies or requirements files to see if tpreplacecrafthacked is listed. Additionally, you can use tools like Vulert (https://vulert.com) to scan your project and identify any vulnerable packages.

The consequences of this vulnerability can vary depending on the attacker's intentions. It could lead to unauthorized access to sensitive data, installation of malware or spyware, or compromise of the entire system.

No, there is no fix available for the tpreplacecrafthacked package itself. The best solution is to remove the package and find a secure alternative.

To ensure the security of your Python packages, it is recommended to regularly update them to the latest versions, review their source code and dependencies, and use tools like Vulert to monitor for vulnerabilities.

While PyPI is a widely used package repository, it is essential to exercise caution and review the packages before including them in your project. Check the package's popularity, community support, and any reported vulnerabilities before using it.

How To Fix

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

pip uninstall tpreplacecrafthacked

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