Malicious code in tpinforandcpu (PyPI)

tpinforandcpu Updated 02 Oct 2025

Summary

27/02/2023
CRITICAL
No i
Critical
Not published

MAL-2023-7142: Malicious code in tpinforandcpu (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

tpinforandcpu is a package available on PyPI that provides information about the CPU. It is commonly used in Python projects to gather CPU-related data. However, this package has been found to contain malicious code.

Vulnerability Detail

The tpinforandcpu 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 tpinforandcpu allows the execution of malicious code, which can lead to unauthorized access, data theft, and other malicious activities.

How To Fix

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

pip uninstall tpinforandcpu

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 remove the malicious package and replace it with a secure alternative.

Conclusion

The tpinforandcpu package on PyPI has been found to contain malicious code, potentially leading to unauthorized access and data theft. It is crucial to remove this package from your project and replace it with a trusted alternative. Regularly updating and reviewing your project's dependencies is essential to mitigate the risk of similar vulnerabilities. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for tpinforandcpu →

Share this vulnerability

FAQ

You can check your project's dependencies or requirements file to see if tpinforandcpu is listed. Additionally, you can use tools like Vulert (https://vulert.com) to scan your project for known vulnerabilities.

This vulnerability can lead to unauthorized access to sensitive data, data theft, and the execution of malicious code on the affected system. It can also compromise the security and integrity of the entire project.

While specific exploits targeting this vulnerability have not been disclosed, the presence of malicious code in the tpinforandcpu package increases the risk of exploitation. It is crucial to address this vulnerability promptly.

The fix for this vulnerability involves removing the tpinforandcpu package from the project and replacing it with a trusted alternative. Regularly updating and reviewing the project's dependencies is also recommended.

To prevent similar vulnerabilities, it is important to only use packages from trusted sources and regularly update and review the packages used in your project. Additionally, consider using vulnerability scanning tools to identify and address potential security issues.

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 tpinforandcpu

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