Critical Malicious Code Vulnerability in caracas4check Package

caracas4check Updated 27 Sep 2026

Summary

27/09/2026
CRITICAL
No i
Critical
Not published

MAL-2026-17198: Malicious code in caracas4check (PyPI). Affects caracas4check versions 1.1.1 – 1.1.2. 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

The caracas4check package, available on PyPI, is intended for use in Python environments to facilitate certain functionalities. However, it has been compromised, embedding malicious code that executes upon installation. This vulnerability poses significant risks to users, as it can lead to unauthorized access and execution of harmful payloads on targeted systems.

Vulnerability Detail

The vulnerability originates from the installation process of the caracas4check package, which installs a boot.pth file in the site-packages directory. This file triggers the execution of c4c_boot.py on every Python interpreter startup. The script exploits the '--extra-index-url=' argument to extract sensitive information from the invoking pip or CI process. It hashes the URL values and compares them against a hardcoded allow-list to determine if the payload should be executed. If matched, it decrypts a hex-encoded blob and executes it, potentially leading to severe security breaches. The malicious code is designed to target specific hosts, making it a targeted attack.

How To Fix

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

pip uninstall caracas4check

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 workaround, users can avoid using the caracas4check package until a complete fix is verified. Additionally, consider using a virtual environment to isolate your Python projects and limit the impact of any malicious packages.

Conclusion

The caracas4check package has been identified as containing malicious code that poses a significant threat to users. It is crucial to update the package to the latest version to mitigate risks. Users are encouraged to utilize tools like Vulert for ongoing monitoring of vulnerabilities in their applications.

See every vulnerability recorded for caracas4check →

Share this vulnerability

FAQ

The caracas4check package is a Python package available on PyPI, designed for specific functionalities within Python environments.

The vulnerability allows malicious code to execute on your system, potentially leading to unauthorized access and execution of harmful actions.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

If you have installed the affected package, immediately update it to the latest version using 'pip install --upgrade caracas4check' to mitigate the risk.

Vulert monitors and alerts for open-source vulnerabilities in your software using just the Pipfile.lock. It provides real-time insights into potential vulnerabilities.

How To Fix

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

pip uninstall caracas4check

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