
Imagine a burglar who never sleeps, never gets bored, and can clone himself fourteen times to try fourteen doors at once. When one door is locked, he walks away, changes his disguise, and tries again without anyone telling him to.
That is roughly what Perplexity faced in late October and early November 2026. Perplexity fended off a relentless AI-powered cyberattack that ran through the first week of November, according to a post-mortem the company published. The case matters because of how it was run, how it was caught, and what it shows about the next few years of defense. Security leaders now have to plan for an autonomous AI hacker (K2) as a practical threat, not a conference-talk hypothetical. TechCrunch
This guide covers what happened, how the attack worked, and why the attackers wanted AI model credentials in particular. It ends with a practical playbook you can apply this quarter.
The Quick Version: Key Facts at a Glance
If you only have a minute, here is the short version:
- The target: Perplexity, which was one of at least three companies hit in the same campaign.
- The goal: Stealing cloud credentials that would give access to advanced AI models through Amazon Bedrock. Bleeping Computer
- The tool: Cairn, an open-source agent harness similar to the Artex harness that has been causing problems for defenders.
- The peak: Roughly 48,000 requests in 13 minutes on November 2. techreport
- The outcome: The attacker came away with nothing, according to Perplexity. decrypt
- The twist: Perplexity found an exposed attacker server holding more than 10,000 files, which gave defenders an unusually complete view of the operation. csoonline
What Happened: A Timeline of the Perplexity Incident
Phase 1: Quiet reconnaissance
The attacker spent a few days quietly gathering credentials before escalating. This first phase is the one most teams miss, because low-volume probing looks a lot like background internet noise. Reports describe automated asset discovery, server-side request forgery (SSRF) testing, and credential harvesting. TechCrunch
Phase 2: The privilege-escalation storm
Once the agent had some footholds, the volume jumped. The attacker began spamming Perplexity’s servers with privilege escalation attempts, trying to gain enough access to hijack the company’s Amazon Bedrock account. At the November 2 peak, the request rate was about 3,700 per minute. No human operator types that fast, and no human team coordinates that many parallel attempts. TechCrunch
Phase 3: Detection and counter-intelligence
Perplexity spotted the campaign and went further than blocking it. The company located one of the command-and-control servers directing the attack, which had been left publicly exposed to the internet. That server held campaign workspaces, tooling, and evidence of intrusions into two other organizations. Perplexity alerted those two businesses on November 4, within hours of finding the server. TechCrunchdecrypt
Phase 4: The attack fades
The attacks against Perplexity stopped by November 8. Perplexity said the infrastructure it recovered likely represented only part of a larger operation, so the same actor, or others using the same playbook, may well be active elsewhere. decrypttechreport
Meet Cairn: The Open-Source Engine Behind the Attack
The most important detail for defenders is the tooling. The attack ran on the Cairn agent harness (secondary keyword), which is open source. That means anyone can download it, and the barrier to running a sophisticated campaign is much lower than it used to be.
One prompt, hundreds of tasks
In one recovered workspace, the operator started a single task and the agent generated 276 more over 19.5 hours, with up to 14 running at the same time. That is a 277-task campaign from one instruction. techreport
Why does that matter? Traditional automated scanners follow a fixed script. If a check fails, they move on. An agent harness reasons about the failure, decides what to try next, and spawns new subtasks to try it. The workflow looks less like a scanner and more like a small, tireless red team.
Disposable identities and rotating proxies
Perplexity’s report counts more than 40 disposable accounts and roughly 290 proxy addresses across the campaign. This is how the agent survived blocks. As the Italian outlet Punto Informatico summarized, Cairn can hand work to sub-agents and attempt root access on servers by exploiting vulnerabilities. And as one summary of the post-mortem put it, when rate limits or blocks kicked in, the attacker switched accounts or proxies. How an autonomous AI hacking agent ran 277 tasks on its own +2
For defenders, this breaks a comfortable assumption. Blocking an IP address or banning an account is no longer a durable response, because the attacker’s identity pool is cheap, large, and automatically managed.
The Artex connection
TechCrunch notes that Cairn is similar to Artex, another harness that has been causing problems in recent weeks. Artex-style tools had already been in the news: TechCrunch reported earlier in November that hundreds of Artex hacking tools were found publicly exposed to the web. Two comparable harnesses in the wild, within weeks of each other, suggest a category forming rather than a one-off.
Why Attackers Want AI Model Credentials
You might wonder why a hacker would go after Amazon Bedrock credentials instead of customer databases. The answer is economics.
Stolen credentials could let someone run expensive AI models at another company’s expense. In other words, a compromised cloud account can become free compute for the attacker. Frontier model access is costly, rate-limited, and sometimes restricted, so credentials that unlock it have real black-market value. decrypt
TechCrunch reports that in every case, the goal was to compromise accounts that could access frontier models. Reporting on the other two victims adds detail: the agents found AWS credentials, but their attempts to reach the AI models were blocked. That is a useful reminder that cloud credentials alone are not the end of the story if model access is gated separately. TechCrunchpunto-informatico
What this tells us about attacker incentives
- AI access is now a monetizable asset. Tokens, API keys, and model entitlements are targets in their own right.
- Attackers use AI to steal AI. The tool doing the stealing is itself a frontier-model-driven agent.
- Intent can stay murky. Perplexity said it could not establish the attacker’s ultimate intentions, so defenders should assume resale, abuse, or follow-on access are all possible. decrypt
Human Attacker vs. Autonomous AI Hacker: How the Threat Model Changes
The table below compares the two models side by side. The numbers for the autonomous column come from the Perplexity incident.
| Dimension | Traditional human attacker | Autonomous AI hacker (K3) |
|---|---|---|
| Working hours | Business hours, with breaks | Continuous, around the clock |
| Parallelism | A few tasks at once | Up to 14 concurrent tasks in one recovered workspace |
| Scale from one instruction | One action at a time | 277 tasks from a single starting task |
| Peak request rate | Dozens per minute | About 48,000 requests in 13 minutes |
| Response to blocks | Manual rework | Auto-rotates accounts and proxies |
| Cost per probe | High (human time) | Very low (compute) |
| Skill floor | Requires deep expertise | Lower, because the harness encodes expertise |
| Operational hygiene | Usually careful | Can be sloppy, as the exposed server showed |
The last row is the quiet silver lining. Powerful tooling does not guarantee disciplined operators. Leaving a server with more than 10,000 files open to the internet is the kind of mistake that hands defenders intelligence.
How Perplexity Defended Itself
Perplexity’s response offers a template other teams can learn from.
Strong baselines did the heavy lifting
Perplexity said its existing security controls stopped every attempt, with no internal services, customer data or platform credentials compromised. CEO Aravind Srinivas stressed that basics decide the outcome on day one. He pointed to connection-time URL validation, strict authorization, and cleaning up deleted git history or exposed demo environments. techreporttechreport
None of these are glamorous. All of them are things an agent harness will test relentlessly.
Fighting AI with AI
Perplexity also used its own agent platform defensively. Its Perplexity Computer product continuously monitored the attacker and helped engineers identify targeted code paths and prepare additional defensive changes. That monitoring workflow ran for more than five days after the November 2 detection. As another account describes it, the agent drafted preventive hardening changes that engineers reviewed and shipped while probing continued. Perplexity caught an AI attacker casing its cloud +2
The key design choice here is human review. The AI proposed, and humans approved. That balance keeps defenders fast without handing over production changes blindly.
Responsible disclosure to fellow victims
Perplexity did not hoard what it found. Notifying the two other targets within hours was both ethical and strategic: the more victims close their doors, the less valuable the attacker’s whole campaign becomes.
Your Action Plan: Defending Against an Autonomous AI Hacker
Here is how to translate the Perplexity lessons into work your team can start now. Stopping an autonomous AI hacker (K4) is mostly about doing fundamentals with more rigor and more speed.
1. Harden against SSRF and metadata abuse
SSRF testing was part of the playbook. If your applications fetch URLs on a user’s behalf, validate destinations at connection time, not just at input time, and block access to cloud metadata endpoints and internal ranges. Where your provider supports it, require session-based metadata access.
2. Treat cloud and AI credentials as crown jewels
Because Amazon Bedrock credentials (secondary keyword) and similar tokens are the prize, protect them accordingly:
- Prefer short-lived, role-based credentials over long-lived keys.
- Scope model-access permissions to the narrowest possible set of identities.
- Alert on first-time use of model-invocation APIs from unfamiliar roles or regions.
- Set budget caps and anomaly alerts on AI spend, since cost spikes are an early warning signal.
3. Clean up your forgotten surface area
The Srinivas takeaways about deleted git history and exposed demo environments are worth underlining. Run these checks:
- Scan repositories, including history, for committed secrets, and rotate anything found.
- Inventory demo, staging, and “temporary” environments. Shut down or lock down anything unowned.
- Review which internal tools are reachable from the public internet.
4. Assume your blocklists will be evaded
With 40+ disposable accounts and ~290 proxies in play, reputation-based blocking is a speed bump. Layer in:
- Behavioral rate limits tied to account, session, and request pattern, not just IP.
- Step-up verification when accounts show machine-like cadence.
- Account-creation friction where signups are open.
5. Build detection for machine-speed behavior
An autonomous AI hacker (K5) generates patterns humans do not: huge bursts, systematic enumeration, parallel paths that adapt after each failure. Tune your detections for:
- Sudden request-rate spikes on a single endpoint family
- Sequential probing of internal-style URLs through public parameters
- Repeated authorization failures followed by slight variations in the request
6. Prepare an AI-assisted response loop
You will not out-type a machine. Use your own agents for log triage, code-path analysis, and drafting hardening patches, but keep a human approving anything that ships. Perplexity’s five-day monitoring workflow is a good model.
7. Plan for intelligence sharing
Decide in advance how you would notify peers if you discovered an attacker’s infrastructure or saw indicators of compromise at another company. Having a contact list and a template before the incident saves hours.
A Quick Self-Assessment Checklist
Score yourself honestly. Each “no” is a gap an agent harness could exploit.
- [ ] Do we validate outbound URLs at connection time?
- [ ] Are cloud and AI-service credentials short-lived and tightly scoped?
- [ ] Can we alert on unusual model-invocation activity within minutes?
- [ ] Have we scanned git history for secrets in the last 90 days?
- [ ] Do we know every publicly reachable demo or staging environment?
- [ ] Do our rate limits work beyond simple IP blocking?
- [ ] Do we have an AI-assisted triage process with human approval?
- [ ] Do we have a peer-notification process?
What This Means for Business Leaders
If you are not an engineer, three takeaways matter most.
First, the economics of attack have shifted. When probing is cheap and tireless, the volume of attempts against every internet-facing company goes up. You do not need to be famous to be a target. You just need something an agent can profit from, such as cloud credentials.
Second, boring security work now has a higher return. Perplexity’s baseline controls were enough because the attacker’s creativity ran into well-built walls. Budget for the unglamorous projects: secrets hygiene, authorization reviews, and attack-surface cleanup.
Third, the defense can scale too. The same technology that powers an autonomous AI hacker (K6) can power monitoring, investigation, and patch drafting. Organizations that adopt AI-assisted defense, with proper human oversight, will respond faster than those that do not.
Open Questions Worth Watching
No single incident answers everything. A few questions are worth tracking as more details emerge:
- Who is behind it? The attacker’s identity and ultimate intent remain unclear.
- How big is the campaign? Perplexity itself said the recovered infrastructure likely covered only part of the operation.
- Will Cairn-style and Artex-style tools proliferate? As open-source agent harnesses mature, expect more campaigns of this kind.
- How will cloud providers respond? Expect tighter controls around model-access credentials and more anomaly detection on invocation patterns.
Frequently Asked Questions
What is an autonomous AI hacker? (K7)
It is an attacker workflow in which an AI agent, driven by a large language model, carries out reconnaissance, probing, and exploitation attempts with minimal human direction. It can break goals into subtasks, run them in parallel, and adapt when something fails.
Did Perplexity lose any data?
According to Perplexity, no. The company said no internal services, customer data, or platform credentials were compromised. techreport
What is Cairn?
Cairn is an open-source agent harness used to coordinate autonomous tasks. Because it is freely available, it lowers the skill needed to run complex campaigns.
Why target AI credentials instead of customer data?
Model access is expensive and valuable. A stolen credential can be used to run costly workloads on the victim’s account, and it may be easier to monetize than stolen data.
Can small companies be affected?
Yes. Automated agents do not choose targets by prestige. Any organization with exposed services or weak credential hygiene is a candidate, especially if it holds cloud or AI-service keys.
Conclusion: The Lesson Is Preparation, Not Panic
The Perplexity story is not a tale of doom. The defender won. Solid baselines, fast detection, and smart use of its own AI tooling left the attacker with nothing, and an operational mistake on the attacker’s side exposed a wider campaign and gave two other companies a head start.
But the story is also a clear signal. An autonomous AI hacker (K8) can turn one instruction into hundreds of coordinated tasks, rotate identities without help, and probe at a speed no human team could match. The defenses that worked are known quantities: validate URLs at connection time, enforce strict authorization, scope and monitor credentials, and clean up forgotten surface area. Pair those with AI-assisted monitoring and human review, and you have a realistic path forward.