HighBleepingComputer

One Prompt, 276 Tasks: The AI Attacker That Went After Perplexity

Perplexity says an autonomous AI agent running the Cairn framework probed it for two weeks seeking cloud credentials for Amazon Bedrock models. It was blocked, but the attacker's exposed server showed two other companies were breached.

Perplexity says an autonomous AI hacking agent spent about two weeks trying to break into its platform to steal cloud credentials, and that the attacker’s own exposed server showed it had already got into two other companies. According to BleepingComputer’s account of Perplexity’s Dec. 2 report, the goal in all three attacks was credentials that would unlock two top-tier AI models through Amazon Bedrock. Perplexity says it blocked everything aimed at it, and the agent never got the Bedrock access it was after.

For defenders

What hit Perplexity: the activity began in late October and was flagged on November 2, when newly registered accounts started probing APIs and features that fetch content from external URLs. The agent tried server-side request forgery against the AWS instance metadata service and internal systems, enumerated cloud storage, hunted for API endpoints and tried to escalate privileges and reach other customers’ data (T1552.005 (Unsecured Credentials: Cloud Instance Metadata API)). At its peak it sent about 48,000 requests in 13 minutes against 28,000 candidate endpoints, over 200 a second, spread across more than 40 throwaway-email accounts and about 290 residential and cloud proxy IPs (T1090.002 (Proxy: External Proxy)).

The attacker’s server: some probes called back to an external staging host. Perplexity found 207 open ports, mostly throwaway Python web servers, 29 of them with open directory listings exposing more than 10,000 files: scripts, logs and live workspaces. They showed the operator running Cairn, an open-source framework that sets AI agents loose on a goal; in one campaign the agent spawned 276 sub-tasks over 19.5 hours, up to 14 at once. Before trying accounts, the agent searched public repos, Git history, packages and container images for leaked keys (T1593.003 (Search Open Websites/Domains: Code Repositories)).

The two other victims (unnamed): at one, exposed credentials reportedly gave the agent admin control of a customer workspace, internal systems and AWS credentials; at the other, it reportedly broke into a demo environment, set up persistence and took password stores, Kubernetes secrets and AWS keys. Perplexity notified both on November 4 and warns these findings come from the agent’s own logs, which may overstate what happened. Neither company has commented publicly.

No indicators (IPs, domains or account patterns) are given in BleepingComputer’s report. We’ve covered Cairn’s earlier abuse in a zero-day server takeover and Unit 42’s tracking of it.

What it means for you

Nothing here touches Perplexity users’ data; the company says the attacker got nothing. The bigger point is what’s coming for everyone: one person typed a goal into an AI tool, and it spent weeks probing, getting blocked, changing tactics and trying again on its own. For a small business, the most likely way in is still a password or access key left somewhere it shouldn’t be, like an old code file or a shared document, and these tools are very good at finding those.

Do this now

  1. Search your code, Git history and shared drives for cloud access keys and passwords, and rotate any you find. Free scanners like GitHub’s secret scanning do much of this for you.
  2. If you run on AWS, require IMDSv2 on every instance so a tricked server can’t hand out its credentials.
  3. If your product fetches URLs for users, block requests to internal and metadata addresses such as 169.254.169.254.
  4. Rate-limit and watch new sign-ups that use disposable email addresses and immediately start hammering your API.

More from the Roundup