AI Shield Brief W4716 Nov – 22 Nov 2026
Poisoned AI agent framework, an exploited LiteLLM gateway and leaking inference providers
This week the AI supply chain itself was the attack surface. A compromised release of Microsoft's agent framework stole cloud and CI credentials on every Python start, an exploited LiteLLM flaw turned the AI gateway many teams route all model traffic through into a foothold, and canary prompts showed that secrets pasted into prompts can end up with attackers inside inference providers. Google's threat intelligence group confirmed the attackers are automating too. The answer is the same in each case: pin and verify what you install, lock down the gateway, and keep secrets out of prompts.
Published by Mr.D for ScanComb · RSS
TL;DR in 60 seconds
- Search lockfiles, images and CI caches for agent-framework 1.26.1 or 1.26.2; rebuild affected hosts and rotate every secret they could reach.
- Upgrade LiteLLM to v1.83.14-stable or later, block the custom-code guardrail endpoints from the network and audit who holds proxy_admin.
- Treat any credential that ever appeared in a prompt to a third-party model as exposed: rotate it, and choose your inference providers explicitly.
- Alert on LLMjacking signals in your cloud accounts: new Bedrock keys, model enablement and key-validation bursts from unknown sources.
This week at a glance
- AI supply chainIncidentMicrosoft's agent-framework package on PyPI shipped a credential stealer in two releasesVersions 1.26.1 and 1.26.2 of agent-framework, published on 17 November, ran a stealer on every Python start that collected cloud, CI and model-provider secrets; 1.26.0 is the last clean release.
- AI gateway · KEVVulnerabilityCISA added an exploited LiteLLM guardrail sandbox escape to its KEV catalogCVE-2026-40217 lets code submitted as a LiteLLM custom guardrail run on the proxy, as root in the default image; CISA listed it as exploited on 18 November with a 2 December federal due date.
- Model providersIncidentDragos canary prompts caught prompt theft at AI providers, and OpenRouter dropped three of themCanary credentials in about two million test prompts were stolen and used from at least three inference providers; OpenRouter removed three providers and pulled 125 endpoints from zero data retention.
- AI agents · threat intelThreatGoogle's threat intelligence group saw attackers run fully automated exploitation with AI agentsGTIG's AI Threat Tracker reports autonomous offensive agent frameworks in the wild, patch-to-exploit pipelines, LLMjacking bills above $100,000 a day and a tampered coding-agent config used to plant malware.
Microsoft's agent-framework package on PyPI shipped a credential stealer in two releases
What happened
On 17 November two malicious releases of agent-framework, the PyPI meta-package of Microsoft's agent framework, were published about half an hour apart: 1.26.1 at 20:35 UTC and 1.26.2 shortly after. Wiz, Socket and Orca reported that both were gone from PyPI within roughly an hour; Help Net Security reports PyPI quarantined them. The package has close to 200,000 monthly downloads, according to the researchers.
Both releases dropped a .pth file into site-packages. Python runs such files at every interpreter start, so the stealer ran even if the framework was never imported. It collected secrets from environment variables and other processes, Azure managed-identity tokens, Azure DevOps and (in 1.26.2) GitHub Actions OIDC tokens, and credential files for the Azure CLI, npm, pip, git, Docker and Hugging Face, then sent them out in a single HTTPS request. Wiz says its review of the exfiltration endpoint found three distinct victims.
How the attacker got publishing rights is not confirmed; Wiz suggests a stolen credential for Microsoft's internal publishing service. The Hacker News reports Microsoft made some repositories private while it investigates. No CVE or GitHub advisory had been issued at the time of the reports.
Who is exposed
Any developer laptop, CI runner or container image that installed or upgraded agent-framework without a pinned version on 17 November. CI is the worst case: build agents hold cloud deployment credentials, package publishing tokens and federated identities that let an attacker move from one stolen token into production or into your own published packages.
Defend
- Search lockfiles, virtual environments, container images, CI caches and pip logs for agent-framework 1.26.1 or 1.26.2, and site-packages for unexpected `.pth` files.
- Isolate affected hosts and runners, rebuild them from a clean base and pin agent-framework 1.26.0 with hash verification.
- Rotate every secret the host could reach: cloud CLI sessions, DevOps tokens, package registry and Hugging Face tokens, git credentials and environment secrets.
- Review cloud sign-in logs, managed identities and federated credentials that trust affected pipelines; stolen short-lived tokens stay valid for hours.
- Install AI packages through an internal mirror or proxy with a short quarantine for new releases, so a hijacked version never reaches CI directly.
WardBee checks this
- CodeBuild project has no sensitive credentials in plaintext environment variables
codebuild_project_no_secrets_in_variables - Secrets Manager secret has rotation enabled
secretsmanager_automatic_rotation_enabled - No potential privilege escalation activity detected in CloudTrail
cloudtrail_threat_detection_privilege_escalation
Runs on each AWS sync while a framework it maps to, such as ISO 27001, is enabled. Run it on your account
Go deeper: AI supply chain: models, packages and tools · OWASP Top 10 for LLM Applications explained
CISA added an exploited LiteLLM guardrail sandbox escape to its KEV catalog
What happened
CISA added CVE-2026-40217 in LiteLLM, the open-source proxy that many teams put in front of all their model providers, to its Known Exploited Vulnerabilities catalog on 18 November, with a remediation date of 2 December for US federal agencies. The flaw is in custom-code guardrails: the filter meant to sandbox submitted Python code could be bypassed, so code sent to the guardrail test endpoint ran on the proxy itself, which runs as root in the default Docker image. The fix replaced the filter with RestrictedPython.
The vendor advisory says the endpoint needs a proxy-admin credential in default configurations, but researchers reported two further LiteLLM flaws (CVE-2026-47101 and CVE-2026-47102) that let an ordinary internal user raise their role to proxy admin, which makes the chain reachable with a low-privilege key. Google's threat intelligence group reported the flaw in use in LLMjacking intrusions, where attackers elevated purchased virtual keys to admin. Sources differ on the score and on the first fixed release; v1.83.14-stable is reported as the first release that fixes the whole chain.
Who is exposed
Anyone running a self-hosted LiteLLM proxy, especially one reachable from the internet or used by many internal teams. The proxy holds every upstream provider key, the master key and often database and cloud credentials, so code execution there means stolen model keys, LLMjacking bills and a path into the network the proxy runs in.
Defend
- Upgrade LiteLLM to v1.83.14-stable or later, pinned by version and image digest rather than a floating tag.
- Block the custom-code guardrail endpoints at the reverse proxy unless you need them, and keep the admin UI and management API on a private network.
- Audit who holds proxy_admin, revoke unused virtual keys and review stored guardrails and callbacks, because a patch does not remove code already saved.
- Run the container as a non-root user, and rotate provider keys, the master key and database credentials if an unpatched proxy was reachable by untrusted users.
WardBee checks this
- Security group has no 0.0.0.0/0 or ::/0 ingress to any port, or is attached only to allowed interface types or instance owners
ec2_securitygroup_allow_ingress_from_internet_to_any_port - No potential LLM jacking activity detected in CloudTrail
cloudtrail_threat_detection_llm_jacking - Amazon Bedrock long-term API key has expired
bedrock_api_key_no_long_term_credentials - Secrets Manager secret has rotation enabled
secretsmanager_automatic_rotation_enabled
Runs on each AWS sync while a framework it maps to, such as ISO 27001, is enabled. Run it on your account
Go deeper: AI supply chain: models, packages and tools · Secure Amazon Bedrock in production · OWASP Top 10 for LLM Applications explained
Dragos canary prompts caught prompt theft at AI providers, and OpenRouter dropped three of them
What happened
On 19 November Dragos published research in which it sent about two million prompts to widely used AI services between July and November 2026, each carrying unique links and working canary credentials such as AWS keys tied to empty, fully logged accounts. Data from at least three AI hosting providers was exposed, the earliest from mid-July, and none of them knew until Dragos told them. In the largest case attackers took a couple of hundred AWS keys in late October, tested them within hours, searched for more secrets and tried to create users and Bedrock keys. Dragos also found resellers that could read prompts through ordinary request logging and links fetched by third parties months later. Its summary of zero-data-retention flags: "A privacy flag doesn't help when the attacker is already inside."
On 22 November OpenRouter said it had removed three providers and withdrawn zero-data-retention eligibility from 125 endpoints, and that the findings showed no breach of OpenRouter itself, as reported by The Next Web and Notebookcheck. OpenRouter did not name the providers; press reports name Together AI, Phala and Novita, several of which published their own incident notices.
Who is exposed
Teams that send prompts to third-party inference providers, routers or model marketplaces, and above all coding agents and support tools that paste logs, code or configuration containing secrets into prompts. A privacy or retention flag is a promise from the first provider; it does not bind the hops behind it.
Defend
- Rotate any API key, token or password that appeared in prompts sent through affected providers, then check those accounts for activity you did not cause.
- Pick upstream providers explicitly instead of a default pool, and prefer direct contracts with first-tier providers for sensitive work.
- Filter secrets out of prompts before they leave your network, and give agents short-lived, narrowly scoped credentials.
- Seed your own canary credentials in agent workspaces and treat any use as an incident.
WardBee checks this
- No potential LLM jacking activity detected in CloudTrail
cloudtrail_threat_detection_llm_jacking - CloudTrail logs show no potential enumeration activity
cloudtrail_threat_detection_enumeration - Amazon Bedrock long-term API key has expired
bedrock_api_key_no_long_term_credentials
Runs on each AWS sync while a framework it maps to, such as ISO 27001, is enabled. Run it on your account
Go deeper: Shadow AI: a usage policy people follow · AI supply chain: models, packages and tools · OWASP Top 10 for LLM Applications explained · ISO/IEC 42001 explained
Google's threat intelligence group saw attackers run fully automated exploitation with AI agents
What happened
On 16 November Google Threat Intelligence Group published its latest AI Threat Tracker. It says it saw, for the first time, LLM frameworks automate vulnerability discovery and exploitation with no human in the loop. It found an exposed staging server running a multi-agent tool that analyzed newly released web application patches, drafted exploits and ran them, and it observed offensive agent frameworks such as CAIRN and PentAGI deployed against real targets.
On LLMjacking, GTIG reports fraudulent model charges above $100,000 in a single day in some cases and up to $1 million in total before remediation, driven by credentials taken from public repositories, new admin identities in cloud accounts and the LiteLLM flaw above. It also describes a suspected North Korean group that changed a coding agent's project configuration in internal repositories, so that starting the agent downloaded a backdoor.
Who is exposed
Every organization with internet-facing applications, because the time between a patch and working exploits keeps shrinking, and every team with model API keys or coding agents. Agent configuration files in a repository now execute on developers' machines and deserve the same review as build scripts.
Defend
- Shorten patch times for internet-facing applications and remove what does not need to be public.
- Set spend limits and alerts on every model-provider account, and alert on new admin identities and model enablement in cloud accounts.
- Protect coding-agent configuration files with CODEOWNERS and review any change to hooks or startup commands like code.
- Scan repositories and CI for committed model API keys and revoke them at the provider, not only in git.
WardBee checks this
- No potential LLM jacking activity detected in CloudTrail
cloudtrail_threat_detection_llm_jacking - No potential privilege escalation activity detected in CloudTrail
cloudtrail_threat_detection_privilege_escalation - GuardDuty detector is enabled and not suspended
guardduty_is_enabled
Runs on each AWS sync while a framework it maps to, such as ISO 27001, is enabled. Run it on your account
Go deeper: AI agents and MCP servers: least privilege · Secure Amazon Bedrock in production · OWASP Top 10 for LLM Applications explained · NIST AI RMF explained
Defense of the week
Pin AI packages by hash and install them through a quarantine
The agent-framework stealer reached victims because a plain pip install agent-framework picked up whatever was newest that evening. Two habits would have stopped it: install only versions you have locked with their hashes, and let new releases age before your builds can see them.
Lock dependencies with hashes, so pip refuses any file that differs from what you reviewed:
bash# requirements.in lists agent-framework==1.26.0 and your other direct dependencies pip-compile --generate-hashes requirements.in -o requirements.txt pip install --require-hashes -r requirements.txt
Then point builds at an internal package proxy that holds back releases younger than a few days and lets you block known-bad versions, such as agent-framework 1.26.1 and 1.26.2, in one place. The same rule applies to container images: pin the LiteLLM image by digest, not by latest. A hijacked release is usually spotted and pulled within hours; a short quarantine means your CI never runs it.
Shift-left tip
Review agent configs and dependency bumps like code
Two of this week's attacks rode on files that look harmless in a pull request: a dependency version bump and a coding agent's project settings. Require review from code owners for lockfiles and for agent configuration such as hooks and startup commands, and fail the build when a dependency is unpinned or lacks a hash.
WardBee's optional code scanning on GitHub and GitLab flags vulnerable dependencies and committed secrets, including model API keys, so a pinned package with a known advisory or a key pasted into a config file shows up before merge. A local pre-commit secret scanner adds the same protection before code ever leaves the laptop.
Dates to watch
2 Dec 2026 · CISA KEV
US federal remediation date for the exploited LiteLLM guardrail sandbox escape, CVE-2026-40217.
2 Dec 2026 · EU AI Act
2 Dec 2027 · EU AI Act
2 Aug 2028 · EU AI Act
Obligations for high-risk AI built into products covered by EU product law (Annex I) apply.
Find these gaps in your own stack before someone else does.
WardBee checks the AWS accounts your AI runs in and, optionally, your GitHub or GitLab code, and turns every result into ISO 27001 and SOC 2 evidence.
The AI Shield Brief summarises public sources in our own words and links to them. It describes defenses, not attack techniques. It is not legal advice; check the primary text before you act on a date or requirement.


