Executive Summary
Two malicious agent-framework releases on PyPI executed credential-stealing code at Python startup and enabled victim-data exfiltration. Teams using AI agents, developer AI tools, or related CI/CD systems should address AI supply-chain and credential risks.
What Happened
Dope Security reported that two malicious releases of the Python package agent-framework executed credential-stealing code when Python started and were available on PyPI for less than an hour. The analysis highlights risks across agent packages, models, datasets, plugins, CI/CD systems, and credentials, including successful exfiltration of victim data.
Affected Products
- agent-framework
- PyPI
- Python
Vulnerability / Attack Technique
Malicious package release and credential exfiltration
Technical Mechanism
The malicious agent-framework releases executed credential-stealing code when Python started. The affected ecosystem included agent packages, models, datasets, plugins, CI/CD systems, and credentials, with successful exfiltration of victim data reported.
AI Security Category
LLM03:2025 Supply Chain
Part of the AI Supply Chain and AI SBOM topic.
Relevant Frameworks
RealGround Analysis
This matters because compromised dependencies can provide an exfiltration path into AI-agent environments and their connected credentials, data, and CI/CD systems. Teams running AI agents or LLM applications should maintain an AI-focused software and component inventory, validate dependency provenance, and limit credential and data access.
Recommended Controls
- Maintain an inventory of agent packages, models, datasets, plugins, CI/CD integrations, and related credentials.
- Pin and verify dependency versions, use trusted package sources, and review package integrity before deployment.
- Run dependency and package scanning for malicious releases across AI-agent development environments.
- Use least-privilege, short-lived credentials for AI tools, CI/CD systems, and agent workloads.
- Monitor Python startup behavior, credential access, and outbound data transfers for anomalous activity.
Related RealGround Service
AI Agent SBOM and LLM Mapping · or start with the free AI Agent Security Scanner.
Sources
Dope Security: https://dope.security/post/ai-supply-chain-security
Summary and analysis written by RealGround from the source above; last updated 2026-11-25.
