Malicious Code Detected in terminalcolornew Package - Camera Exfiltration Vulnerability

terminalcolornew Updated 03 Dec 2025

Summary

16/09/2025
CRITICAL
No i
Critical
Not published

MAL-2025-191892: Malicious code in terminalcolornew (PyPI). Affects terminalcolornew versions 0.0.1 – 0.0.3. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The terminalcolornew package, available on PyPI, is designed for terminal color manipulation in Python applications. It allows developers to enhance the visual output of their command-line interfaces. However, a recent vulnerability has been identified that compromises user privacy by enabling unauthorized access to the computer's camera.

Vulnerability Detail

The vulnerability originates from malicious code embedded in the terminalcolornew package, specifically in versions 0.0.1, 0.0.2, and 0.0.3. When this package is used, it attempts to take a photo using the computer's camera without the user's consent and exfiltrates the captured image. This poses significant risks, including unauthorized surveillance and data theft, making it a serious infostealer threat.

How To Fix

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

pip uninstall terminalcolornew

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

As a temporary measure, users can avoid using the terminalcolornew package until a secure version is released. Additionally, consider using alternative packages that provide similar functionality without the associated risks.

Conclusion

The terminalcolornew package has been identified as containing malicious code that compromises user privacy by accessing the camera and exfiltrating images. Users are advised to uninstall the package immediately and remain vigilant for updates or alternative solutions. Utilizing tools like Vulert can help monitor for such vulnerabilities in the future.

See every vulnerability recorded for terminalcolornew →

Share this vulnerability

FAQ

terminalcolornew is a Python package that enhances terminal output by allowing developers to manipulate text colors and styles.

The vulnerability allows the package to access the computer's camera and exfiltrate images, compromising user privacy and security.

You should uninstall the terminalcolornew package immediately using 'pip uninstall terminalcolornew' to protect your system.

Currently, there are no patched versions of terminalcolornew available. It is recommended to avoid using this package until a secure version is released.

You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities in your software. You can check your application against known vulnerabilities using the Vulert playground without any signup.

How To Fix

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

pip uninstall terminalcolornew

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