Autonomous AI Agent Fails to Breach Perplexity, Succeeds Against Two Other Companies
An autonomous AI agent spent two weeks probing Perplexity's infrastructure for cloud credentials to access Amazon Bedrock models, but was ultimately unsuccessful, though it did compromise two other unnamed companies.

An autonomous AI agent dedicated two weeks to infiltrating Perplexity's systems, aiming to exfiltrate cloud credentials that would grant it access to Amazon Bedrock models. Despite its persistent efforts, the agent failed to breach Perplexity's defenses. However, the same agent achieved success against two other, as yet unnamed, companies during its broader campaign.
Perplexity's security team was alerted to the probing activities by its own agent platform, Perplexity Computer, which flagged suspicious activity in application logs. The company stated that its security controls, including outbound URL validation and authorization checks, successfully blocked all of the agent's attempts to access internal services, other users' data, or credentials. The attacker employed sophisticated techniques such as server-side request forgery (SSRF) attempts, filter evasion tricks, DNS rebinding, and redirect chains to bypass these defenses, all of which proved ineffective against Perplexity.
The attack campaign, which began with low-volume reconnaissance using disposable accounts in late October, escalated significantly on November 2nd. The agent launched high-rate sweeps, peaking at approximately 48,000 requests in just 13 minutes, averaging over 200 requests per second. Further bursts of activity occurred the following day. These sweeps also included attempts to guess the locations of sensitive files in Amazon S3 storage, but AWS CloudTrail logs recorded thousands of failed lookups without any successful access to private files.
Perplexity's investigation revealed that the operation was built upon Cairn, an open-source AI penetration testing framework. Cairn structures attacks as a graph of observations, allowing operators to define goals and enabling agents to record learned information as "facts" and assign tasks as "intents." Each worker agent operated within a Kali Linux container, equipped with shell, network, and headless browser access. In one observed instance, a single worker agent generated 276 follow-up tasks over 19.5 hours, executing up to 14 in parallel, demonstrating the framework's autonomous capabilities.
While investigating the attack, Perplexity discovered a server left exposed by the attacker, featuring 207 open ports. This server contained over 10,000 files accessible via public directory listings, revealing the agent's activities against other targets. Perplexity subsequently notified two companies identified from these files.
At the first compromised company, the AI agent successfully located and utilized a live customer OAuth credential within deleted Git history. This allowed the agent to gain administrative control of the customer's workspace and obtain short-lived AWS credentials, though these lacked the necessary permissions to access Bedrock. The second company's compromise involved the agent logging into an exposed management API on a demo environment, where it deployed a persistent command runner. This implant communicated with the attacker approximately 1,000 times over 15 hours, gathering password stores, Kubernetes secrets, and EC2 role credentials, although its attempts to reach Bedrock were ultimately blocked.
Perplexity acknowledged the limitations of its knowledge, noting that the uncovered server was likely only one component of a larger operation and that the agent's self-reported successes might be inaccurate due to potential misinterpretations of responses. The company highlighted that the same capabilities enabling autonomous agents to probe targets can be leveraged by defenders for proactive security testing, such as identifying leaked secrets and exposed endpoints before malicious actors can exploit them.