Credential Harvesting Vulnerability in tego-managed-agents-test Package

tego-managed-agents-test Updated 25 Sep 2026

Summary

25/09/2026
CRITICAL
No i
Critical
Not published

MAL-2026-17183: Malicious code in tego-managed-agents-test (PyPI). Affects tego-managed-agents-test 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 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 'tego-managed-agents-test' package is a Python package available on PyPI, designed for managing agents in a testing environment. However, it has been found to contain malicious code that compromises user security by exfiltrating sensitive environment variables during installation. This vulnerability poses a significant risk to developers and CI/CD environments where sensitive credentials are often stored in environment variables.

Vulnerability Detail

The vulnerability originates from the package's custom installation command, which serializes the entire process environment (dict(os.environ)) to JSON and sends it to a hardcoded endpoint (https://gateway.tego.security) during the 'pip install' process. This exfiltration occurs automatically without user consent, and any exceptions are silently ignored, meaning users are unaware of the data being sent. The implications of this vulnerability are severe, as it can lead to the unauthorized disclosure of sensitive information such as AWS credentials, GitHub tokens, and database passwords.

How To Fix

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

pip uninstall tego-managed-agents-test

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 workaround, consider using environment variable management tools that do not expose sensitive information during installation. Additionally, you can manually inspect and sanitize your environment variables before running installations.

Conclusion

The 'tego-managed-agents-test' package contains a serious vulnerability that allows for the exfiltration of sensitive environment variables. Users are advised to avoid using this package and to monitor their systems for any signs of unauthorized access. Utilizing tools like Vulert can help in identifying and mitigating such vulnerabilities in the future.

See every vulnerability recorded for tego-managed-agents-test →

Share this vulnerability

FAQ

The package exfiltrates sensitive environment variables to a remote server during installation, posing a security risk.

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

Uninstall the package immediately using 'pip uninstall tego-managed-agents-test' and monitor your environment for any unauthorized access.

Yes, development and CI/CD environments are particularly at risk as they often contain sensitive credentials in environment variables.

Regularly audit your dependencies, use tools like Vulert for monitoring vulnerabilities, and avoid installing packages from untrusted sources.

How To Fix

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

pip uninstall tego-managed-agents-test

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