Autonomous AI hacking agent probing a cloud vault protected by a defensive shield in a dark server environment

Autonomous AI Hacking Agent Targeted Perplexity: How to Defend

Key takeaways

  • An autonomous AI hacking agent targeted Perplexity in a failed attempt to steal cloud credentials that would unlock AI models on Amazon Bedrock, according to BleepingComputer.
  • The attack ran for roughly two weeks, peaking at about 48,000 requests in 13 minutes, and used SSRF probes against AWS metadata services.
  • Perplexity's investigation exposed the attacker's server, which showed evidence of breaches at two other unnamed companies, though neither yielded Bedrock access.
  • The agent used the open-source Cairn tool and adapted when blocked, creating 276 extra tasks in 19.5 hours in one campaign.
  • Teams can reduce risk by hardening SSRF paths, removing exposed secrets, scoping cloud credentials, and monitoring for machine-speed probing.

An autonomous AI hacking agent targeted Perplexity in an attempt to steal cloud credentials that would grant access to advanced AI models through Amazon Bedrock. According to BleepingComputer, Perplexity blocked the attack, but its investigation exposed the attacker’s own infrastructure and evidence of breaches at two other companies.

The case is a useful look at how AI-driven offense works in practice. One operator goal turned into hundreds of self-directed tasks that adapted every time a request failed. Below is what happened, how the agent operated, and what teams can do to protect cloud keys and AI model access.

What happened in the Perplexity attack?

Perplexity says the attacks began in late October and continued for about two weeks. Perplexity Computer, the company’s AI agent platform, detected them on November 2. It spotted newly registered accounts probing APIs and features that fetch content from external URLs.

The attacker used server-side request forgery (SSRF), a technique that tricks a server into making requests on the attacker’s behalf. The aim was to reach AWS metadata services and internal systems. The agent also tried to enumerate cloud storage for sensitive files, discover API endpoints, escalate privileges, and reach other customers’ data.

Perplexity reports that its existing controls stopped the attempt. The attacker did not reach internal services, private customer data, or platform secrets.

The scale of the probing

Metric Reported figure
Peak request volume ~48,000 requests in 13 minutes
Endpoints targeted ~28,000 potential API endpoints
Peak rate 200+ requests per second
Disposable-email accounts 40+
Residential and cloud proxy IPs ~290

Those numbers show why rate limits alone are a weak defense. Disposable accounts and rotating proxies are designed to spread traffic thin.

How did Perplexity uncover the attacker’s server?

Several probes pointed to an external server the attacker used to stage payloads and receive responses. Scanning it, Perplexity found 207 open ports, nearly all running ad-hoc Python HTTP services built for individual attack steps. As the company put it, “We went looking for copper and found gold.”

Twenty-nine of those ports exposed web servers with unauthenticated directory listings. They held more than 10,000 files, including custom scripts, logs, and active attack workspaces aimed at two other companies. The files showed the attacker was using Cairn, an open-source penetration testing tool that coordinates AI agents to carry out security tasks based on an operator’s goal. BleepingComputer notes that threat actors have already abused Cairn to find and exploit a zero-day and gain root access to a server.

What did the autonomous agent actually do?

Across all three targets, the goal was to obtain cloud credentials or service tokens that could reach two unnamed, latest-generation AI models via Amazon Bedrock. Bedrock is an AWS service offering API access to models from Amazon and other AI companies.

The agent searched public code repositories, Git history, software packages, container images, and applications for exposed credentials. When that failed, it registered disposable accounts to gain authenticated access and keep looking.

The files also showed independence. In one campaign, the agent created 276 additional tasks over 19.5 hours, with up to 14 running at once. It changed tactics when it hit roadblocks, which is what separates an agent from a static scanner.

The two other companies

According to the report, at one company the agent found exposed credentials that gave it administrative control of a customer’s workspace, access to internal systems, and AWS credentials. At the second, it breached a demo environment, set up persistent access, and collected password stores, Kubernetes secrets, and AWS credentials. Neither intrusion produced Bedrock access. Perplexity notified both companies on November 4, while the attacks were still running.

Perplexity cautions that these findings come from the agent’s own recorded observations, which may misread responses or overstate the damage. It also remains unclear what the attacker planned to do with the models.

Why this matters: analysis

This is commentary, not reporting. The attacker’s targets were not exotic. Exposed credentials in repos and images, SSRF-prone URL fetchers, and loosely guarded demo environments are familiar weaknesses. What changed is the cost of exploring them: an agent can try thousands of paths in minutes and keep going for hours without fatigue.

The goal also stands out. Stolen model access is a resource to abuse, much like stolen compute. Any team that holds keys to paid AI services is a plausible target, not only AI companies. For related context, see our look at OpenAI’s agent behavior postmortem and the debate around autonomous hacking capabilities and federal AI safety legislation.

How to protect Bedrock and cloud keys: a practical checklist

None of these steps are new, but an autonomous AI hacking agent punishes gaps in them quickly.

  1. Harden SSRF paths. Any feature that fetches external URLs should use allow lists, block private and link-local ranges, and resolve DNS safely. On AWS, require IMDSv2 for instance metadata, as described in the AWS documentation.
  2. Hunt for exposed secrets. Scan repositories, Git history, packages, and container images for keys. Rotate anything found, even if the repo is private.
  3. Scope credentials tightly. Use short-lived roles and least-privilege IAM policies. Limit which identities can invoke specific Bedrock models.
  4. Lock down demo and staging environments. The second victim’s demo environment held Kubernetes secrets and AWS keys. Treat non-production as reachable.
  5. Watch for machine-speed behavior. Alert on new accounts that probe many endpoints, URL-fetch features hit repeatedly, and bursts of requests across thousands of paths.
  6. Limit free sign-ups. Add friction for disposable emails and review accounts that hit sensitive features right after registration.
  7. Monitor model usage. Set budgets and anomaly alerts on Bedrock invocations so stolen access surfaces fast.

For framing, the OWASP SSRF guidance, MITRE ATT&CK cloud techniques, and NIST guidance on access control are solid references. CISA’s cloud security resources are another place to start.

Defending with agents of your own

Perplexity’s own agent platform detected the activity, a sign that defenders can use automation too. If you are exploring agent workflows, our SIM review covers building and deploying them, and our piece on OpenClaw’s VirusTotal integration looks at securing agent tooling. Whatever you deploy, give agents narrow permissions and log what they do.

The Bottom Line

The Perplexity case shows an autonomous AI hacking agent in action: one prompt, hundreds of adaptive tasks, and a patient search for cloud credentials. It failed against Perplexity, and it did not obtain Bedrock access at the other two companies, but it did reportedly reach sensitive systems there. This week, search your repos and images for live keys, enforce IMDSv2, and set usage alerts on your AI model accounts.

Frequently Asked Questions

What is an autonomous AI hacking agent?

It is software that uses AI to pursue a security goal on its own, planning steps, running tools, and adjusting when something fails. In the Perplexity case, the operator gave one goal and the agent created hundreds of self-directed tasks.

Did the attack on Perplexity succeed?

No. Perplexity says its existing controls blocked access to internal services, private customer data, and platform secrets. The attacker did not obtain credentials for the targeted models on Amazon Bedrock.

What tool did the attacker use?

Perplexity's investigation found the attacker used Cairn, an open-source penetration testing tool that coordinates AI agents to perform security tasks from an operator-supplied goal. BleepingComputer notes it has been abused before.

Why did the attacker want Amazon Bedrock credentials?

The goal was cloud credentials or service tokens that could access two latest-generation AI models through Bedrock. It is unclear what the attacker planned to do with that access.

How can I protect against SSRF attacks on cloud metadata?

Restrict URL-fetching features with allow lists, block private and link-local address ranges, and require IMDSv2 on AWS instances. Pair this with least-privilege roles so a successful request yields little.

Sources

Enjoyed this? Subscribe to the InnoVirtuoso newsletter for practical AI, security and tech insights — and share your thoughts in the comments.

Browse InnoVirtuoso for more!