# ARTEX AI agents turn exposed GitHub keys into breaches in 5m

https://aycode.ai/blog/artex-github-secrets-breach/ · 2026-11-22 · News

Microsoft Threat Intelligence warns that ARTEX LLM agents scan public GitHub repos, adapt to API errors and hit Azure Key Vault in minutes.

Disclosures from Microsoft Threat Intelligence and a follow-up FBI IC3 advisory detail how attackers are using ARTEX, an open-source LLM-driven penetration testing framework, to turn accidental GitHub leaks into cloud compromises at machine speed.

## Five minutes from commit to Key Vault

In a documented case summarized by Help Net Security, an ARTEX agent scanned public GitHub repositories, spotted an exposed application client secret, authenticated into Microsoft Entra ID as a service principal, and began pulling secrets from Azure Key Vault within five minutes.

What sets this apart from old regex scrapers is recovery from failure: when the agent's initial Key Vault calls failed due to a wrong API version, the model read the error output, adjusted the request payload in roughly 28 seconds, and continued exfiltrating data without human help. Although the original developer pulled the main GitHub repository in October, forks and commercial offshoots remain in circulation.

## Our take

"I will rotate that key after lunch" is dead. Static scripts used to break the moment an API header differed from their template; LLM agents read the 400 error and fix their own curl command in half a minute. Secret scanning and automated revocation are now baseline hygiene, not compliance extras.

## In AyCode

AyCode sends your prompts directly to the provider you select and never resells tokens or proxies your code (Data and privacy). Still, coding agents see whatever files and .env secrets sit in a checked-out repo: review changes in the Changes panel before pushing, and keep live credentials out of tracked files.

Sources:
- Microsoft Security: Threat actors use agentic AI tooling to find and abuse exposed secrets (https://www.microsoft.com/en-us/security/blog/2026/11/05/threat-actors-use-agentic-ai-tooling-to-find-and-abuse-exposed-secrets/)
- Help Net Security: AI agents now hunt leaked GitHub secrets faster than teams can revoke them (https://www.helpnetsecurity.com/2026/12/01/gitguardian-automated-credential-rotation/)
- FBI IC3: Threat Actors Exploit Agentic AI Tooling (CSA 261113) (https://www.ic3.gov/CSA/2026/261113.pdf)
