TC-2026-0054 · PYPI · MCP
[email protected]
Malicious PyPI package targeting Microsoft AutoGen and MCP users; overrides setup.py install command to exfiltrate AZURE_OPENAI_API_KEY and ~/.azure/accessTokens.json.
Signed ledger verdict
TC-2026-0054
Known bad (exit 2)
pypi:autogen-mcp-tools==0.1.2
IOC & scope: pypi:autogen-mcp-tools==0.1.2. Verified by human review and signed into the CC-BY 4.0 OSV v1.6.0 feed.
Run live in Counter Workbench
Signed in /feed.json (.sig).
Deterministic capability profile and taxonomy mapping.
Every artifact in the threat.cafe ledger is profiled across eight execution vectors and mapped to the OWASP Top 10 for Agentic Applications (ASI01-ASI10) and Agentic Skills & Tools (AST01-AST10).
8-Vector Capability X-Ray (ABOM)
-
1. Filesystem
Sensitive paths touched:
~/.azure/accessTokens.json, .env -
2. Environment
Variables harvested:
AZURE_OPENAI_API_KEY, OPENAI_API_KEY -
3. Network
Outbound egress domains:
autogen-telemetry.invalid:443 -
4. Subprocess
Process execution primitives:
setup.py cmdclass install -
5. Lifecycle
Install / startup hooks:
setup.py_install -
6. OAuth / MCP
Declared scopes:
None observed -
7. Obfuscation
Encoding / steganography:
None observed -
8. Provenance
Attestation status:
typosquat_pypi_package
Governance & detector mapping
- OWASP Agentic ASI (2026): ASI03 (Identity & Privilege Abuse), ASI04 (Agentic Supply Chain Vulnerabilities)
- OWASP Agentic AST (2026): AST01 (Malicious MCP Servers), AST03 (Insecure Credential Handling)
- Deterministic rules matched:
RULE_04_INSTALL_LIFECYCLE_HOOK, RULE_05_PROMPT_EXFIL_SHELL
Version scoping & related records
- No other versions of this package are currently listed on the board. Unlisted versions evaluate to
unknownunder localpolicy.yml.
Local CLI verification
$ threat-cafe-hook check "pypi:autogen-mcp-tools==0.1.2" [threat.cafe] known_bad: pypi:autogen-mcp-tools==0.1.2 (TC-2026-0054) Reason: Malicious PyPI package targeting Microsoft AutoGen and MCP users; overrides setup.py insta Source: https://socket.dev/blog (credited to Checkmarx Zero / Socket)
OSV v1.6.0 machine-readable record
Included in /feed.json under CC-BY 4.0 license and verified by /feed.json.sig.
{
"schema_version": "1.6.0",
"id": "TC-2026-0054",
"modified": "2026-03-11T10:15:00Z",
"published": "2026-03-11T10:15:00Z",
"summary": "Malicious PyPI package targeting Microsoft AutoGen and MCP users; overrides setup.py install command to exfiltrate AZURE_OPENAI_API_KEY and ~/.azure/accessTokens.json.",
"affected": [
{
"package": {
"ecosystem": "pypi",
"name": "autogen-mcp-tools"
},
"versions": [
"0.1.2"
]
}
],
"credits": [
{
"name": "Checkmarx Zero / Socket",
"type": "FINDER"
}
],
"references": [
{
"type": "ADVISORY",
"url": "https://socket.dev/blog"
},
{
"type": "WEB",
"url": "https://threat.cafe/incidents/tc-2026-0054/"
}
],
"database_specific": {
"target": "pypi:autogen-mcp-tools==0.1.2",
"kind": "mcp",
"verdict": "known_bad",
"ioc": "pypi:autogen-mcp-tools==0.1.2",
"artifact_sha256": "be11a261bf07af85bf38b2a108fd7b140158df7da9fbbc618ab732ac8ea3e329",
"owasp_asi": [
"ASI03",
"ASI04"
],
"owasp_ast": [
"AST01",
"AST03"
],
"rules_matched": [
"RULE_04_INSTALL_LIFECYCLE_HOOK",
"RULE_05_PROMPT_EXFIL_SHELL"
],
"abom": {
"fs_sensitive": [
"~/.azure/accessTokens.json",
".env"
],
"env_harvest": [
"AZURE_OPENAI_API_KEY",
"OPENAI_API_KEY"
],
"net_egress": [
"autogen-telemetry.invalid:443"
],
"proc_exec": [
"setup.py cmdclass install"
],
"install_hooks": [
"setup.py_install"
],
"oauth_scopes": [],
"obfuscation": [],
"provenance": "typosquat_pypi_package"
},
"license": "CC-BY-4.0",
"record_digest": "sha256:c32cf782a63e816117b71f83e6ce299b869aaba242b34f257965e3d1c9e7e113",
"release_signature_url": "https://threat.cafe/feed.json.sig"
}
}
Have additional IOCs or a maintainer remediation update for TC-2026-0054?
Maintainer disputes and version-scoping updates are reviewed by a human within our 48-hour dispute SLA.