Loading SecureCyberVM…
SecureCyberVM
CVE Lookup Daily Threat Briefing Exploited CVEs Ransomware Zero-day
SecureCyberVM
Get the Patch Brief

Perplexity details two-week autonomous Cairn agent attack hunting Amazon Bedrock keys

Perplexity has published a post-mortem of an autonomous AI attacker built on the open-source Cairn harness that spent two weeks trying to steal cloud credentials for Amazon Bedrock. Perplexity says nothing was accessed, but the agent's own records show it got further at two other companies.

Perplexity details two-week autonomous Cairn agent attack hunting Amazon Bedrock keys

Perplexity has published a detailed account of a two-week campaign in which an autonomous AI agent tried to break into its platform to steal cloud credentials. The attacker’s goal, according to the company, was an AWS access key or Amazon Bedrock token capable of invoking two latest-generation frontier models. Perplexity says every attempt against its own systems was blocked and that no customer data, internal services or platform secrets were reached.

The report, published on 2 December, matters because it is one of the most detailed public looks at an AI-driven intrusion operation in the wild. After finding the attacker’s own server exposed online, Perplexity recovered the agent’s working files, which suggest it got considerably further at two other unnamed companies. Perplexity notified both on 4 November and has shared indicators of compromise.

What happened

According to Perplexity’s timeline, the attacker began creating disposable accounts and carrying out low-volume reconnaissance on 24 October. On 2 November it launched rapid sweeps of Perplexity’s APIs and of features that fetch external links, which triggered alerts from Perplexity Computer, the company’s own agent platform. The largest burst sent roughly 48,000 requests across about 28,000 guessed routes in 13 minutes, at more than 200 requests per second, BleepingComputer reported. Over the campaign the attacker used more than 40 disposable-email accounts and around 290 residential and cloud proxy addresses. Probing stopped between 6 and 8 November.

Perplexity lists six techniques, all of which failed against its platform:

  • Server-side request forgery aimed at the AWS metadata service, localhost and private ranges, using decimal and hex encodings of 169.254.169.254, redirects through tunnel services and DNS rebinding domains.
  • Object storage enumeration: CloudTrail logged 3,681 failed S3 lookups for more than 3,300 keys, including names such as .env.production, .aws/credentials and state.tfstate.
  • API route discovery, privilege escalation and cross-tenant access attempts against admin endpoints and other users’ files and workspaces.
  • Evasion through rotating accounts, proxies and callback domains.

On 4 November Perplexity found the attacker’s server. A port scan revealed 207 open ports, including redirectors, mock MCP servers and callback receivers. Twenty-nine of them served unauthenticated directory listings exposing more than 10,000 files, among them live campaign workspaces for the agent’s other targets.

Who is affected

The workspaces show the agent was built on Cairn, an open-source harness that coordinates AI worker agents towards an operator-defined goal and has been seen in other offensive campaigns. Its workers ran as command-line coding agents in a Kali Linux container. From a single bootstrap task, the agent for one target spawned 276 further tasks over 19.5 hours, running up to 14 at once, mining certificate logs, public code repositories, package registries, container images and mobile app files for secrets.

According to the agent’s own records, at one company it found a live customer OAuth credential in deleted git history, took admin control of that customer’s workspace, ran code on managed compute and obtained short-lived AWS credentials that could not call Bedrock. At the second, it logged into an exposed management API on a demo environment, installed a persistent command runner and collected password stores, Kubernetes secrets and EC2 instance-role credentials, but its Bedrock requests were rejected. Perplexity cautions that these findings come from the agent’s compressed notes and may overstate its access.

Severity and exploitation

No CVE is involved; the agent relied on common weaknesses such as leaked secrets, exposed management interfaces and SSRF-prone fetch features. Perplexity calls what it saw almost certainly one slice of a larger operation and says the operator’s purpose remains unknown. It has not attributed the activity. Separately, Cyber Kendra notes that Amazon reported in November that agents run by a Chinese-nexus operator using Cairn found a zero-day on their own, showing the framework is already in hostile use.

What defenders should do now

  1. Validate outbound URLs at connection time, after DNS resolution, and block link-local, loopback and private destinations, including 169.254.169.254 and 169.254.170.2. Enforce IMDSv2 on EC2.
  2. Scan git history, including deleted commits and forks, plus published packages, container layers and mobile apps for secrets, and rotate anything found.
  3. Remove management APIs and directory listings from the internet, including on demo and test environments.
  4. Restrict who can invoke Amazon Bedrock models and alert on unusual bedrock API calls or sts:GetCallerIdentity checks from unfamiliar addresses.
  5. Watch for bursts of new accounts from disposable email domains, and correlate activity across accounts by IP and callback host.
  6. Hunt for Perplexity’s published indicators, including the attacker server 185.87.121[.]140, probing sources 147.124.211[.]248 and 35.73.178[.]124, the email domains arcadehearth[.]com, roomsranked[.]com and marchslurp[.]com, and rebinding hosts under rbndr[.]us.

SCVM analysis

Two things stand out. The first is the target: the agent was not after customer data but after paid access to frontier AI models, which suggests that model inference itself has become a resource worth stealing, much as cryptomining once made cloud compute worth hijacking. The second is persistence at machine scale. The agent’s techniques were not novel, but it tried them tirelessly, picked up dead ends within half an hour and worked through thousands of repository forks that a human operator would never bother with. That shifts the economics of attack: any secret left in a deleted commit or any forgotten demo server is now likely to be found. Perplexity’s defence held because of conventional controls applied correctly, and its use of its own agents to correlate dozens of throwaway accounts is a useful model for defenders facing the same volume.

Sources

About this article: produced by the SCVM Newsroom with AI assistance from the public sources linked above, enriched with NVD, FIRST EPSS and CISA KEV data, and checked by automated quality controls under our editorial policy. Spotted an error? Request a correction.

SecureCyberVM

Install SecureCyberVM

Get the Daily Threat Briefing and exploited-CVE alerts one tap away, full screen, like an app.