Malicious Code Exfiltration in ci-metadata-python-logging Package

ci-metadata-python-logging Updated 11 Feb 2026

Summary

26/07/2024
CRITICAL
No i
Critical
Not published

MAL-2024-12374: Malicious code in ci-metadata-python-logging (PyPI). Affects ci-metadata-python-logging versions 0.1.0. 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

The ci-metadata-python-logging package is a Python library available on PyPI, designed to log metadata about the CI environment. However, it has been identified as containing malicious code that compromises user data. The package's primary function is overshadowed by its vulnerability, which allows it to exfiltrate sensitive information from the host system.

Vulnerability Detail

The vulnerability originates from the package's design, which includes malicious code that executes upon installation. This code is capable of exfiltrating basic information about the host, such as the IP address and username, posing a risk to user privacy and security. The package overrides the install command in setup.py to run this malicious code, making it a significant threat despite its limited risk profile.

How To Fix

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

pip uninstall ci-metadata-python-logging

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, avoid using the ci-metadata-python-logging package until a secure version is released. If you need similar functionality, consider using alternative packages that do not have known vulnerabilities.

Conclusion

The ci-metadata-python-logging package has been identified as containing malicious code that can exfiltrate sensitive information from users' systems. It is crucial to uninstall this package and monitor for updates to ensure your environment remains secure. Utilizing tools like Vulert can help you stay informed about vulnerabilities in your software.

See every vulnerability recorded for ci-metadata-python-logging →

Share this vulnerability

FAQ

It is a Python library designed to log metadata about the CI environment, but it has been compromised with malicious code.

The malicious code can exfiltrate basic information such as the host's IP address and username.

You can use the Vulert playground at Vulert Scanner to check if your application is affected without needing to sign up.

You should uninstall the ci-metadata-python-logging package immediately and update to a patched version if available.

Uninstalling the package should not result in data loss, but it is advisable to back up any important data before making changes to your environment.

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 ci-metadata-python-logging

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