An autonomous AI agent spent close to two weeks this fall trying to pry cloud credentials out of Perplexity, came away with nothing and was then traced by the AI search company to a server where the same operation had already broken into two other firms, according to a report the company published on Wednesday.
What the operator wanted at all three targets was a way into Amazon Bedrock, in the form of keys or tokens able to call two of the newest frontier models, and the agent, built on an open-source harness called Cairn, never got there at any of them, Perplexity wrote.
Stolen AWS keys that can run models on Bedrock have been in demand for some time, with researchers at Permiso Security telling KrebsOnSecurity in October 2024 that Bedrock had emerged as one of the top targeted cloud services, often after credentials were left exposed in code on sites such as GitHub.
At Perplexity the attempts came to nothing, the company said in a thread on X, where it wrote that “URL validation and authorization checks blocked every probe” and that no internal services, private customer data or credentials had been reached.
The other two targets, identified only as Company A and Company B, fared worse, and Perplexity put it bluntly in that same thread, writing that “unlike Perplexity, the agent found an exploit and accessed both companies’ internal networks.”
How Perplexity Computer spotted the autonomous AI attacker
The burst at issue, some 48,000 requests packed into 13 minutes on Monday, November 2, was spread over some 28,000 guessed API routes and peaked at more than 200 requests a second, and it was flagged by the company’s own agent platform, Computer, as activity “that clearly went beyond routine internet scanning,” according to the report.
That spike had been preceded by low-volume reconnaissance going back to October 24, when the first disposable accounts were opened, with a fresh signup said to have been made each time a rate limit kicked in, according to the timeline in the report.
The throwaway accounts, of which there were said to be more than 40 by November 4 alongside roughly 290 residential and cloud proxy addresses, were linked to one campaign by Computer in part through shared source IPs, disposable email domains and callback hosts.
Much of the probing was server-side request forgery, or SSRF, with URLs and redirect chains pointed at the cloud metadata address 169.254.169.254 and at internal services, and decimal and hex rewrites, malformed links and DNS-rebinding domains were tried once the plain requests had been turned away, according to Perplexity.
The validator at issue in Perplexity’s case was described as resolving each hostname and blocking private or link-local destinations at the moment of connection, which was why the rebinding tricks failed as well, according to the report, and the attacker moved on in part to other endpoints that accepted URLs.
That same campaign also took in a 14-hour window in which some 3,681 failed S3 lookups across more than 3,300 unique keys were logged by AWS CloudTrail, with guesses at paths such as .env.production, .aws/credentials and state.tfstate, according to the company.
Exposed server held campaigns against two other companies
The break in the case came on Wednesday, November 4, when several of the SSRF and callback probes were found to point at 185.87.121.140, a host on which a full port scan turned up 207 open ports, most of them makeshift Python web services built for single attack steps, according to the report.
Some 29 of those ports were said to serve open directory listings to anyone on the internet, and the more than 10,000 files exposed there included probing scripts, receiver logs and live campaign workspaces aimed at the two other organizations, Perplexity wrote.
The workspaces showed that a single operator prompt in the Company A campaign had produced more than 270 agent tasks over 19.5 hours, with up to 14 running in parallel, a median task length of 11 minutes and more than 40 new tasks opened in the busiest hour, according to the report.
The agent was also said to work around dead ends on its own, and when one task concluded that “a GitHub token is mandatory” for code search, three parallel tasks to find a token and mine other sources were opened within 25 minutes, Perplexity said.

The damage at Company A came from a live customer OAuth credential pulled out of deleted git history, which was said to have given the agent admin control of that customer’s workspace, code execution on managed compute, a stored Git token and short-lived AWS workload credentials that could not call Bedrock.
The intrusion at Company B was said to have begun with a login to an exposed management API on a demo environment, where a persistent command runner was planted that phoned home about 1,000 times over 15 hours and gathered password stores, Kubernetes secrets and EC2 instance-role credentials, though its calls through the company’s Bedrock proxy were rejected, according to the report.
| Target | How the agent got in | What it reached | Bedrock access |
|---|---|---|---|
| Perplexity | SSRF, S3 key guessing, API route sweeps and privilege escalation | Nothing, every probe was blocked | Not reached |
| Company A | Live customer OAuth credential found in deleted git history | Admin control of a customer workspace, code execution, a stored Git token and short-lived AWS credentials | Not reached |
| Company B | Exposed management API on a demo environment | Persistent command runner, password stores, Kubernetes secrets and EC2 role credentials | Rejected at the Bedrock proxy |
Warned in November, while the attacks were still running
Somewhere within hours of the server turning up on November 4, technical reports and indicators drafted with help from Computer were sent to the security teams at both companies, which were notified “while the operations were still underway,” according to Perplexity.
The thread on X that went out alongside the report on Wednesday put it more plainly, saying “the campaigns were still active when we notified them,” though neither of the breached companies was named there or in the report, which also made no mention of law enforcement.
The fixes rolled out in the middle of the campaign, which engineers were said to have reviewed after Computer drafted them, included blocks on the DNS services the attacker had leaned on and tighter limits on traffic to internal and metadata addresses, according to the report.
The case also echoes a Microsoft Threat Intelligence warning last month that agentic AI tools were combing public GitHub projects for exposed keys and OAuth tokens, with one intrusion going from code discovery to Azure Key Vault theft in under five minutes, as Homeland411 reported at the time.
That same harness, Cairn, was said by Perplexity to have been “recently observed in other offensive campaigns,” in a nod to earlier work by NorForge and Google Threat Intelligence, and the open-source tool had separately been reported by SecurityWeek as abused to hack more than 100 organizations.
The apparent scale of the operation was likely bigger than what turned up on the one server, which Perplexity called “almost certainly only one slice of a larger operation,” while the account of what happened at Company A and Company B rested in part on the attacking agent’s own notes, since “agents can misread responses or overstate partial access,” the report said.
The lesson drawn at the end of the report was that “core security controls were already in place when the campaign began,” and other firms were urged to point their own agents at their code and public-facing systems to find leaked secrets before an attacker’s agent got there first.
Click Here For The Original Source.