Malicious code in tpintelrandom (PyPI)

tpintelrandom Updated 02 Oct 2025

Summary

25/02/2023
CRITICAL
No i
Critical
Not published

MAL-2023-7165: Malicious code in tpintelrandom (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

tpintelrandom is a package available on PyPI that provides functionality related to random number generation. It is commonly used in Python projects for various purposes. However, this package has been found to contain malicious code, making it a potential security risk for any project that includes it as a dependency.

Vulnerability Detail

The tpintelrandom package has been identified as part of a larger group of nearly 6000 malicious PyPI and NPM packages. These packages have been found to execute spyware and information-stealing malware. The specific vulnerability in tpintelrandom allows attackers to gain unauthorized access to sensitive information and potentially compromise the security of the entire system. It is crucial to remove this package from any affected projects to mitigate the risk of data breaches and unauthorized access.

How To Fix

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

pip uninstall tpintelrandom

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 for this vulnerability. The best course of action is to remove tpintelrandom and replace it with a trusted package.

Conclusion

The presence of malicious code in tpintelrandom poses a significant security risk to any project that includes it as a dependency. It is crucial to remove this package and replace it with a trusted alternative to mitigate the risk of data breaches and unauthorized access. Regularly updating dependencies and scanning for vulnerabilities are essential practices to maintain the security of your project. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for tpintelrandom →

Share this vulnerability

FAQ

You can use tools like Vulert (https://vulert.com) to scan your project and identify any vulnerable dependencies, including tpintelrandom.

The malicious code in tpintelrandom can lead to unauthorized access to sensitive information, data breaches, and potential compromise of the entire system. It is crucial to address this vulnerability promptly to mitigate these risks.

The fix for this vulnerability is to remove tpintelrandom from the project's dependencies and replace it with a trusted alternative. Regularly updating dependencies is also recommended to prevent the inclusion of other malicious packages.

While specific exploits targeting this vulnerability may exist, the broader concern is the presence of malicious code in tpintelrandom. It is essential to remove this package to eliminate the risk of any potential exploits.

To ensure the security of your project's dependencies, it is recommended to regularly update them, use trusted sources for package installation, and scan for vulnerabilities using tools like Vulert.

How To Fix

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

pip uninstall tpintelrandom

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