Malicious code in tppyinfo (PyPI)

tppyinfo Updated 02 Oct 2025

Summary

25/02/2023
CRITICAL
No i
Critical
Not published

MAL-2023-7461: Malicious code in tppyinfo (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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

tppyinfo is a package available on PyPI that provides functionality related to TP-Link smart plugs. It allows users to gather information about the plugs, such as their IP address, firmware version, and power consumption. This package is vulnerable to a malicious code injection.

Vulnerability Detail

The tppyinfo package has been found to contain malicious code introduced by the Checkmarx group. This code is designed to execute spyware and information-stealing malware on the user's system. The malicious code can be triggered when the package is installed or updated, potentially compromising the user's sensitive information and system security.

How To Fix

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

pip uninstall tppyinfo

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 take immediate action by removing the tppyinfo package and following the recommended steps to mitigate the risk.

Conclusion

The tppyinfo package on PyPI has been found to contain malicious code that can execute spyware and information-stealing malware. It is crucial to remove this package from your system and follow the recommended steps to mitigate the risk. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for tppyinfo →

Share this vulnerability

FAQ

tppyinfo is a PyPI package that allows users to gather information about TP-Link smart plugs.

The malicious code in tppyinfo can execute spyware and information-stealing malware on the user's system, potentially compromising their sensitive information and system security.

To fix this vulnerability, remove the tppyinfo package from your system and avoid using it. Regularly update your packages from trusted sources and verify their integrity using tools like Vulert.

Yes, consider using alternative packages that provide similar functionality but are not affected by this vulnerability.

You can use tools like Vulert to verify the integrity of your packages and receive real-time alerts for open-source vulnerabilities.

How To Fix

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

pip uninstall tppyinfo

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