The alarm has been rung
For most of my career, “an AI that hacks on its own” was a keynote hypothetical. In October 2026 it stopped being one. ARTEX, an autonomous AI penetration-testing agent, was observed running live intrusions against IT and software vendors, operated by a China-aligned actor that overlaps with the cluster Microsoft tracks as Storm-0940. The same actor was tied to the ConnectWise Cloud Backup supply-chain compromise, and ARTEX-linked tooling has since turned up against South Korean banks and dozens of Japanese companies.
The targets tell you what the operators wanted. The campaigns went after identity providers: Okta, Microsoft Entra ID and AWS Cognito, plus the proprietary login and recovery flows that software vendors build around them. Get into a vendor’s identity layer and you inherit its customers.
I want to be clear about why this is an alarm and not just another threat-intel headline. ARTEX did not bring a new vulnerability class. It brought a new operator: one that reads your error responses, adapts in real time, never sleeps, and costs almost nothing to run against a thousand targets at once. That changes the economics of identity attacks, and the preparation has to change with it.
What ARTEX is
ARTEX is an LLM-driven, multi-agent penetration-testing framework, written in Go and released as an authorized-testing tool. That origin matters. It was not built in the dark; it was built to help red teams move faster, and it does. The same qualities that make it useful to a legitimate tester, autonomy, persistence and the ability to chain findings into next steps, make it dangerous the moment it lands in the wrong hands. It did, within weeks of becoming available.
For defenders, the internals matter less than the behavior. What you need to know is that an operator points it at a target and it works through reconnaissance, authentication testing and exploitation attempts on its own, keeping what it learns and feeding it forward. It does not need a skilled human at the keyboard for each step. That is the whole shift, and the rest of this article is about what that shift looks like in your logs and what to do about it.
The identity playbook it runs
Strip away the novelty and ARTEX runs a disciplined, repeatable playbook against the identity layer. Every step is textbook application security, which is exactly why it should unsettle us. The agent is not inventing new attacks. It is running the fundamentals, in parallel, at machine speed, against everyone at once.
- Map the application. It harvests what the front end gives away: JavaScript bundles, source maps, runtime config files and any Swagger or OpenAPI document it can reach, and uses them to enumerate internal API routes. It baselines what a “not found” response looks like before it starts guessing.
- Probe authentication. It restarts sign-in flows repeatedly, tampers with OAuth callbacks and
statevalues, submits unsigned JWTs, and works through SSO and Microsoft 365 integration endpoints looking for anything that validates when it should not. - Attack the identity providers. It password-sprays Okta and Entra ID tenants and hits proprietary login pages directly, favoring accounts that belong to software engineers because those reach source, pipelines and customer data.
- Abuse account recovery. It confirms which usernames exist, then works the password-reset, username-recovery, activation and reset-token endpoints, which are usually the least protected authenticated surface an app has.
- Test tenant isolation. Where self-registration is open, it signs up with a throwaway mailbox and then manipulates predictable identifiers to reach other tenants’ data.
- Evade. When blocked it rotates source IPs and cycles user agents, one per burst.
The agentic fingerprint shows in the cadence. Spray campaigns run hundreds of accounts with a near-constant one-second gap between attempts, in bursts of 20 to 60 minutes, and some sessions persist for more than a day. No human operator sustains that rhythm. A loop does.
Why an agent changes the math
It is tempting to file this under “automated scanning” and move on. Scanners have existed for decades. What an agent adds is judgment at scale, and three properties follow from it.
It reasons. It reads an identity provider’s error responses and adjusts its next move, reuses what it found earlier, and chains steps a scanner would treat as separate jobs. It does not tire. Spraying, callback tampering and recovery abuse run continuously, with no analyst on the other side waiting for the attacker to go to bed. And it collapses the clock. The time between first reconnaissance and a meaningful foothold shrinks from days to hours, because nothing in the chain waits for a human decision.
That compression is the real threat. The gap between recon and compromise used to be the defender’s margin, the window where a human attacker paused, pivoted and left traces a tired analyst might still catch up with. Agentic tooling erases the pause.
The second-order effect is diffusion. Once a capable offensive agent is open and free, the skill floor for operating at this tempo drops for everyone: state crews, criminal crews, and the opportunist who would never have hand-built this playbook. Preparation can no longer assume a human-paced adversary on the other end of the login form.
Preparation guidelines for the storm ahead
Here is the reassuring part. Because ARTEX runs the fundamentals, the defenses are fundamentals too. Nothing below is exotic. The difference is that these controls are no longer hygiene you can defer to next quarter. Against an adversary that works your recovery endpoints at one-second intervals for 30 hours, a gap you were planning to close is a gap that gets found first.
I group the work into seven areas, roughly in the order the agent attacks them.
1. Identity and sign-in
This is where the campaign lives, so this is where to spend first.
- Require MFA for every user through conditional access, and phishing-resistant MFA (FIDO2 or passkeys) for every administrator. Block legacy authentication protocols outright; they bypass the modern controls.
- Turn on risk-based sign-in policies so that medium- and high-risk attempts are challenged or blocked automatically. Machine-speed spraying needs machine-speed response, and a human-reviewed alert queue is not that.
- Deploy password protection with a custom banned-word list, and tune smart lockout so that guessing slows down without locking out real users.
- Extend conditional access to workload identities. Service principals, app registrations and OAuth apps need policy too, because an agent that cannot get a user will try to get an application.
2. OAuth and token validation
The agent tampers with callbacks, forges state, and submits unsigned tokens. Close those doors.
- Reject unsigned JWTs. An
alg: nonetoken must never validate anywhere in your stack. Verify the signature, issuer, audience and expiry on every token, every time, with an allowlist of accepted algorithms. - Validate OAuth
codeandstatestrictly and server-side. Treat a fabricated or malformedstateas hostile and fail closed. - Instrument your SSO and Microsoft 365 integration endpoints. These are the places an agent will throw dozens of variants at in minutes, so they need to be observable, not just functional.
3. Account recovery and enumeration
Recovery endpoints are a primary target because they are usually the softest surface an app exposes.
- Return identical responses from username checks, password-reset and activation endpoints whether or not the account exists. If the response reveals valid usernames, the agent will map your whole directory.
- Rate-limit and monitor reset-token, forgot-password and resend-confirmation flows as seriously as the login page itself.
- Block self-registration from disposable and temporary email domains, which is how the agent gets its foothold for cross-tenant probing.
4. Rate limiting, done consistently
The agent’s cadence is both a weapon and a tell.
- Apply rate limits across every variant and alias of an endpoint, not one canonical path. Attackers route around the one route you remembered to protect.
- Pair IP blocking with behavioral signals. Expect rotation, so a block list alone will always be a step behind; velocity per account and per device fingerprint holds up better.
- Run your WAF in prevention mode with bot protection on. Detection-only mode watches the storm pass through.
5. API surface and authorization
Source maps and OpenAPI docs hand the agent your route map; object-level authorization is what stops it from walking through.
- Enforce server-side authorization on every object identifier. Cross-tenant probing is central to the playbook, and predictable IDs without per-request checks are how it succeeds. This is the broken object level authorization problem, and it is still the most common API failure I see.
- Enforce authentication and rate limits at the API layer, not only in the UI.
- Reduce what you leak. Strip or restrict production source maps, lock down config and environment files, and do not serve OpenAPI documentation to anonymous callers. You cannot remove all reconnaissance value, but you do not need to gift-wrap your route map.
6. Secrets, privilege and blast radius
A compromised identity is survivable if it cannot reach much. Constrain what any single identity can do.
- Enforce least privilege and replace standing admin rights with just-in-time, time-bound elevation.
- Set secret standards and rotation, move workloads to managed identities, and enable secret scanning and push protection in your repositories. Replace any exposed secret immediately.
- Restrict who can register applications and what users can consent to, so an attacker cannot quietly stand up a malicious app and escalate through it.
7. Reduce the exposure you present
- Inventory internet-facing assets continuously and prioritize what is both exposed and exploitable. You defend what you can see.
- Map attack paths in advance and find the choke points, so you know which single control failure leads to a bad day.
- Run authorized red-team exercises against your own recovery and OAuth flows. If an autonomous agent will probe them, you want to have probed them first.
Detection, hunting and deception
Prevention buys time; detection is how you survive the attempts that land. The encouraging news is that an autonomous agent is noisy in characteristic ways, and that noise is huntable.
Start with the honest prerequisite: empty hunting results mean nothing if you are not collecting the logs. Make sure identity-provider sign-in and audit logs, API activity logs, web server access logs and WAF logs all flow somewhere you can query. Everything below depends on it.
Then hunt the agentic fingerprint:
- Spray cadence. A near-constant one-second gap between authentication attempts, bursts of 20 to 60 minutes, and a single distinct user agent per burst. Correlate failed-login spikes and mass access-denied events across identity telemetry and web logs together, not in isolation.
- Recon artifacts in access logs. Requests for
.js.mapfiles, runtime config andenvfiles, and OpenAPI or Swagger paths, followed by a request to a nonsense path used to baseline a 404, all arriving within minutes of first contact. - Recovery and OAuth abuse. Username-existence checks followed by repeated reset-token calls; Cognito
InitiateAuth,ForgotPassword,ResendConfirmationCodeandSignUpevents in volume; callbacks with fabricated codes and malformedstate; and SSO requests carrying unsigned tokens. - Illogical persistence. Agents test things a human would skip, like heavily scrutinized OAuth flows, and they keep going for a day or more. That tirelessness is itself an anomaly worth alerting on.
A caution on indicators. Published user-agent strings and IP addresses are useful to seed a hunt, but generic client strings like curl and python-requests are common enough to be noisy on their own, and IPs rotate by design. Lean on behavior over static IOCs. Most SIEM and detection vendors have already shipped rules for password spraying and mass access-denied patterns; map these behaviors to detections now rather than writing them during an incident.
Finally, turn the agent’s autonomy against it. Deploy honeytokens, decoy accounts and honeypot recovery endpoints. An agent that cannot tell a real reset endpoint from an instrumented decoy will walk into the trap at one-second intervals and announce itself while doing it.
The storm ahead
ARTEX is the first autonomous attack agent most of us will have to defend against by name. It will not be the last. A capable offensive agent was published for legitimate testing, and it was in criminal and state hands within weeks. That diffusion curve is the forecast.
What I keep coming back to is how ordinary the defenses are. Phishing-resistant MFA. Reject unsigned tokens. Uniform recovery responses. Object-level authorization. Least privilege. Collect your logs. None of this is new, and that is precisely the uncomfortable lesson. The agent did not beat anyone with a zero-day. It beat inconsistent rate limits, leaky recovery flows, standing admin rights and unmonitored OAuth endpoints, by running the basics faster and more patiently than the humans defending them.
So the preparation is not a new product. It is closing the gap between what we know we should do and what we have actually finished doing, on a clock now set by an adversary that never pauses. The alarm has sounded. The work is the work we already knew. The only variable left is whether we finish it before the agent arrives.
Sources: SOC Prime and Cybersecurity Dive.
