Malicious code in py-replaceinfosplit (pypi)

py-replaceinfosplit Updated 02 Oct 2025

Summary

25/02/2023
CRITICAL
No i
Critical
Not published

MAL-2023-5600: Malicious code in py-replaceinfosplit (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

The py-replaceinfosplit package is an open-source Python package available on PyPI. It provides functionality for replacing information in strings. The package is widely used in various Python projects and is a crucial component in many applications. However, the package has been found to contain malicious code, making it vulnerable to security threats.

Vulnerability Detail

The py-replaceinfosplit 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 py-replaceinfosplit allows the execution of unauthorized code, leading to potential data breaches, unauthorized access, and other security risks. The malicious code can be triggered when using the affected package, compromising the security and integrity of the application.

How To Fix

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

pip uninstall py-replaceinfosplit

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 imperative to remove the py-replaceinfosplit package and replace it with a secure alternative.

Conclusion

The py-replaceinfosplit package has been compromised and contains malicious code, posing significant security risks to applications using it. It is essential to remove this package immediately and replace it with a trusted alternative. Regularly monitoring and updating dependencies is crucial to mitigate the risk of using compromised packages. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for py-replaceinfosplit →

Share this vulnerability

FAQ

You can check your project's dependencies and requirements files to identify if the py-replaceinfosplit package is listed. Additionally, you can use vulnerability monitoring tools like Vulert to scan your project and identify any vulnerable packages.

Using the py-replaceinfosplit package can expose your application to security risks, including data breaches, unauthorized access, and the execution of malicious code. It is crucial to remove this package to ensure the security and integrity of your application.

While specific exploits targeting this vulnerability have not been disclosed, the presence of malicious code in the py-replaceinfosplit package increases the risk of potential exploits. It is recommended to remove the package immediately to mitigate any potential threats.

Yes, there are several alternative packages available on PyPI that provide similar functionality to py-replaceinfosplit. Some trusted alternatives include py-replaceinfo, py-replacestring, and py-replaceutils. It is recommended to evaluate these alternatives and choose the one that best fits your project's requirements.

To ensure the security of your project's dependencies, it is crucial to regularly monitor and update them. Use vulnerability monitoring tools like Vulert to receive real-time alerts for open-source vulnerabilities in your software. Additionally, follow best practices such as reviewing package sources, checking for security advisories, and staying up-to-date with the latest patches and updates.

How To Fix

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

pip uninstall py-replaceinfosplit

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