Key facts
- Five minutes after the search began, the agent started extracting data from Azure Key Vault.
- A few days after the Microsoft disclosure, the FBI issued a FLASH alert on ARTEX stating that some intrusions progressed from initial targeting to privileged access in less than three hours.
- Researchers have linked an ARTEX-derived framework named AntiFox to comparable activity targeting AWS environments.
- Security firm Apiiro counted 2,539 credentials spread across nearly 2,000 public GitHub repositories and linked some of the exposed data to Claude Code.
Microsoft Threat Intelligence disclosed an intrusion from early November 2026 involving an AI agent based on ARTEX, an open-source penetration-testing framework. The agent searched public GitHub repositories, located a leaked application client secret, and used it to authenticate to Microsoft Entra ID under a service principal identity, an identity used by automated workloads.
Early requests failed over an incorrect API version, but about 28 seconds later the agent tried the same secrets again with the correct version, succeeded, logged the errors, modified its requests, and kept going without human help. Microsoft’s documentation shows the agent secured a usable identity, listed what it could reach, and then discovered additional access and resources.
A few days after the Microsoft disclosure, the FBI issued a FLASH alert on ARTEX, stating that some intrusions progressed from initial targeting to privileged access in less than three hours. Researchers have also linked an ARTEX-derived framework named AntiFox to comparable activity targeting AWS environments.
Since July 2026, threat actors have used ARTEX for web application exploitation, credential attacks, and faster network reconnaissance. Microsoft Threat Intelligence said that, as of November 2026, state-sponsored and financially motivated actors such as Storm-0940, Storm-3358, Onyx Sleet, Pearl Sleet, Crystal Typhoon, and Salt Typhoon had ARTEX in their tooling. Microsoft said recent campaigns used ARTEX to hunt public repositories for leaked credentials, break into supply chains, and scan internet-facing systems for exploitation.
ARTEX sends out AI agents that set verifiable goals, map out tactical moves for each stage of an operation, run tools against targets, keep graphs of systems and findings they uncover, and send results back to the threat actor. Based on its configuration and the target’s defenses, ARTEX can progress from reconnaissance to persistent, privileged access inside an organization within minutes. ARTEX runs on a Go-based backend that coordinates several large language model agents, and it includes an embedded Next.js web interface with PostgreSQL storage.
Autumn-27, a GitHub user, released ARTEX to the public in July 2026, and it came with a Chinese-language interface. The original developer took ARTEX source code down in October 2026, though forked versions are still being published in many languages. China-based ThreatBook said in November 2026 that it owns ARTEX and began selling commercial access to ARTEX Pro. Alongside ARTEX Pro, ThreatBook also offers CyberStrikeAI Enterprise Edition.
ARTEX is primarily a penetration testing tool for web applications and APIs that run on HTTP. It covers authentication bypass, insecure direct object references, file upload flaws, SQL injection, server-side template injection, and XML external entity injection. ARTEX agents are able to read cloud keys and tokens from cloud secret management stores, map cloud permissions, conduct Microsoft Graph reconnaissance, add application credentials for persistence, and assign privileged roles to escalate privileges. Once inside, ARTEX agents can pivot through interactive shells.
Built-in tools include nmap, nc, telnet, whois, dig, curl, wget, Playwright plus Chromium, node, python3, git, ripgrep and jq, while actors frequently add sqlmap, hydra, medusa, ncrack, nuclei, nikto, gobuster, ffuf, Msfconsole, john, hashcat and Metasploit. Behavioral patterns offer the strongest sign of ARTEX activity: numerous varied requests within a short period and rapid retries at machine speed. ARTEX makes no effort to conceal its malicious activity. Researchers at OX Security said “the framework keeps working normally and the compromise is easy to miss.”
A planner agent reviews a knowledge graph and issues attack directions called intents. Worker agents carry them out using a real shell, and a reporter agent documents the findings. Threat actors can set ARTEX to work with frontier models, open-weight models, or abliterated models, which means activity is not limited by one provider’s safety controls. ARTEX also offers an optional model pool that switches to a different model after a failure, following a configurable priority order and cooldown period.
GitGuardian counted roughly 45 agentic attack frameworks, including forks and variants, and found that only four connect a secrets scanner to the agent. GitGuardian researchers ran a controlled test using an ARTEX build without a secrets scanner against a simulated GitHub repository with nine planted credentials. In every run where the agent searched, it recovered eight of the nine credentials. The agent started searching within 6 to 13 seconds, even when the prompt did not mention credentials, and it independently decided that secrets were the most useful item in the repository.
The agent still recovered one AWS key after developers deleted it in the commit right after adding it, because the agent reviewed the commit history and switched branches. During GitGuardian’s controlled test, the model refused to use the credentials it uncovered, ending the test at the discovery stage. Because every Git commit is a snapshot, a credential removed in a later commit stays intact in the earlier one and keeps authenticating until it is revoked. A secret without an explicit expiration lasts indefinitely, so a leaked key from four years ago can still open a production database.
GitGuardian’s 2026 State of Secrets Sprawl report counted 28.65 million secrets hardcoded in public GitHub commits in 2025, up 34 percent from 2024, or roughly 78,500 new secrets daily. When GitGuardian retested secrets in January 2026, more than 64 percent of those confirmed valid in 2022 still worked. GitGuardian sent nearly 12 million emails to about 6 million developers who had pushed production system code into personal accounts through the GitGuardian Good Samaritan Program.
Apiiro’s count reached 2,539 credentials across nearly 2,000 public GitHub repositories, and some of the exposed data was linked to Claude Code. Apiiro looked at 104,185 publicly available copies of .claude/settings.local.json on GitHub and found that 1,122 files contained real secrets. Those 1,122 files held 1,379 distinct secrets: 636 provider-specific keys and 743 passwords or tokens tied to public hosts. Reviewers examined 1,105 repositories containing real secrets, and 539 of them had a settings file changed by a commit Claude Code co-authored.

Apiiro’s findings included exposed SSH root logins, API tokens, cloud keys, and database passwords. Examples included an admin-level cloud key for a database vendor, a production Azure Postgres password, a Square production token, and a medical-records database owner password. Most secrets belonged to individual developers across 63 organizations, from student groups and startups to software agencies and established vendors, investigators found. “Ask Claude Code to check a database or call an API, and the command it proposes carries the secret from your config file,” said Shmulik Cohen and Matan Giladi, Apiiro researchers.
When a user chooses “Yes, and don’t ask again” in Claude Code, the system saves the proposed command, along with its secret, to .claude/settings.local.json. The repository does not mark .claude/settings.local.json as private, so the file gets committed along with the rest of the code. Claude Code adds the file to the developer’s global Git ignore list, yet that rule does not travel with the repository when it is cloned.
Before publishing its findings, Apiiro contacted Anthropic about the issue. Boris Cherny, Anthropic’s head of Claude Code, said the company is looking into prevention because the tool historically has not done secrets scrubbing. According to Boris Cherny, Anthropic may prototype auto-mode exposure detection or basic secrets scanning before shipping the next version of Claude Code.
Apiiro recommends rotating every credential a file has ever held and deleting every rule that contains a secret, even if the rule was never committed. Apiiro also advises treating every AI agent folder as secret-bearing on laptops and in repositories, and adding those folders to pre-commit and secret scans that cover history.
Help Net Security declares that autonomous AI agent attacks have entered a new era, and states that long-standing technical debt and weak secrets management let these attacks succeed at a rate never seen before. The outlet says attackers ultimately win by logging in instead of breaking in. When a valid credential is used, it creates a valid sign-in that mimics an application doing its job, so brute-force controls stay quiet. These attacks move through the credential layer, covering repos, pipelines, vaults, developer laptops, collaboration tools, and public code.
Developers often keep personal and open-source projects on the same machines they use for work-related code. A secret leaked from a personal side project grants the same level of access as one taken from the primary product codebase.
Defenders should watch public GitHub activity connected to the organization, including personal accounts and repositories outside corporate ownership. Internal repositories across full histories deserve the same scrutiny, as do CI/CD pipelines, ticketing, and messaging platforms. Developer machines belong to the credential layer since credentials are created and copied there well before reaching a repository.
Teams need to identify who owns each exposed credential, confirm it is still valid, and figure out what it can access. Deleting a secret from code does not make it safe if the repository has already been copied. Until the key is revoked or rotated, treat it as compromised. Remediation priorities should start with valid credentials linked to production infrastructure, sensitive data, or privileged identities.
Before rotating a credential, teams must identify which applications depend on it so the change does not trigger an outage. After rotating credentials, teams should check sign-in and access logs for new role assignments, new accounts, and new keys created during the exposure period. Help Net Security states that remediation must be automated since a human-speed ticket queue cannot outpace machine-speed agents.
Defensive tools include AI coding assistant guardrails that block secrets from showing up in prompts, tool calls, or generated code, along with pre-commit scanning and push protection. A token valid for one hour cuts the maximum exposure window versus a key that lasts a year, and narrow scoping limits blast radius. GitGuardian offers a free GitHub Security Audit that maps developers tied to a company’s domain, including personal repositories outside the organization, and flags exposed credentials that remain valid.
Microsoft Perception directs red, blue, and green team agents to locate weaknesses, examine threats, and fix risks, with security teams approving critical actions. Microsoft recommends honeypots, tarpits, and fake wins to draw AI attacks away from real targets, plus honeytokens for early warning of AI compute hijacking. Microsoft’s testing found that deception controls reduced the volume of attack traffic reaching actual assets and produced high-confidence attribution-quality signal.
Signs of ARTEX system activity include web servers launching sh, bash, cmd.exe, or PowerShell, rapid reads of /etc/shadow and .env files, and bursts of database extraction. Microsoft recommends using Defender External Attack Surface Management to inventory internet-facing hosts, websites, and services, including ones that are unknown. Microsoft recommends putting Web Application Firewall on Application Gateway into prevention mode and adding rate limiting on Application Gateway or Azure Front Door.
Microsoft advises using attack paths in Microsoft Security Exposure Management and Defender for Cloud to show how far a stolen credential or exposed asset could reach. Microsoft advises adding Perception’s Recon Agent to map connections among Azure resources, Microsoft Entra ID identities, and their permissions.

Join the discussion