Malicious code in tpencodesplitpyw (PyPI)

tpencodesplitpyw Updated 02 Oct 2025

Summary

27/02/2023
CRITICAL
No i
Critical
Not published

MAL-2023-7023: Malicious code in tpencodesplitpyw (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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The tpencodesplitpyw package is an open-source Python package available on PyPI. It is used for encoding and splitting text files. The package provides functionality to encode text files into various formats and split them into smaller chunks. It is commonly used in applications that require text file manipulation and processing. However, the package has been found to contain malicious code, which can lead to the execution of spyware and information-stealing malware.

Vulnerability Detail

The vulnerability in tpencodesplitpyw arises from the presence of malicious code within the package. The code can be triggered when using the package's encoding and splitting functionalities. Once triggered, the malicious code can execute spyware and steal sensitive information from the affected system. This can result in unauthorized access to user data, compromise of sensitive information, and potential harm to the affected system. The malicious code was identified by the Checkmarx security group, who discovered nearly 6000 malicious PyPi and NPM packages, including tpencodesplitpyw.

How To Fix

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

pip uninstall tpencodesplitpyw

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. The best course of action is to remove the tpencodesplitpyw package from your project and replace it with a trusted alternative.

Conclusion

The tpencodesplitpyw package on PyPI has been found to contain malicious code that can execute spyware and steal sensitive information. It is crucial to remove this package from your project and replace it with a trusted alternative. Regularly updating and reviewing the packages used in your project is essential to mitigate the risk of open-source vulnerabilities. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for tpencodesplitpyw →

Share this vulnerability

FAQ

tpencodesplitpyw is an open-source Python package available on PyPI. It provides functionality for encoding and splitting text files.

The malicious code in tpencodesplitpyw can execute spyware and steal sensitive information from the affected system, potentially leading to unauthorized access and compromise of user data.

The malicious code in tpencodesplitpyw was discovered by the Checkmarx security group during their analysis of PyPi and NPM packages. They identified nearly 6000 malicious packages, including tpencodesplitpyw.

No, the best way to fix the vulnerability is to remove tpencodesplitpyw from your project and replace it with a trusted alternative.

To ensure your software is free from open-source vulnerabilities, it is recommended to regularly update and review the packages used in your project. You can also use vulnerability monitoring tools like Vulert to receive real-time alerts for open-source vulnerabilities.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

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

pip uninstall tpencodesplitpyw

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