No customers affected
In a compelling case of AI-versus-AI warfare, Perplexity announced on December 2, 2026, that it had defended against a sustained attack from a sophisticated, autonomous AI agent. The campaign, which lasted from October 24 to November 8, 2026, was orchestrated by an AI built using Cairn, an open-source autonomous agent framework. The attacker's primary objective was to steal cloud service credentials, with a specific focus on hijacking Perplexity's access to Amazon Bedrock. Despite the agent's use of advanced evasion techniques and a high-volume request flood, Perplexity's internal AI-powered monitoring systems successfully detected the campaign, and its security controls prevented any breach of customer data or internal systems.
The attack represents a new class of threat where adversaries deploy autonomous agents to conduct entire hacking campaigns with minimal human intervention. The agent systematically probed Perplexity's infrastructure for a range of vulnerabilities, including Server-Side Request Forgery (SSRF), insecure object storage configurations, exposed API routes, and privilege escalation paths. The ultimate goal was to find a flaw that would expose credentials for Amazon Bedrock, which would give the attacker access to powerful foundation models at Perplexity's expense.
To evade detection, the attacker employed several tactics:
The attack was carried out by an agent built on the Cairn framework, described as being similar to the notorious ARTEX framework. These frameworks provide a harness for large language models to execute complex tasks, such as penetration testing, autonomously. The agent was programmed with a clear objective: find and exfiltrate cloud credentials.
Interestingly, Perplexity's defense was also AI-driven. An internal AI monitoring agent, nicknamed "Computer," was able to correlate the thousands of seemingly disparate requests coming from various IPs and accounts into a single, coordinated campaign. This ability to see the larger pattern amidst the noise was critical for a successful defense.
Perplexity's security controls, including outbound URL validation and strict authorization, proved effective in blocking the agent's probes. The company also discovered the attacker's exposed server, which contained working directories and logs, providing a full view of the campaign's TTPs and revealing that the same agent was also targeting two other unnamed companies.
T1595.002 - Vulnerability Scanning: The agent's systematic probing for SSRF and other flaws is a form of vulnerability scanning.T1580 - Cloud Infrastructure Discovery: The entire campaign was focused on discovering and exploiting cloud infrastructure weaknesses.T1078.004 - Cloud Accounts: The ultimate goal was to compromise Perplexity's cloud accounts, specifically for Amazon Bedrock.T1599 - Network Boundary Bridging: The attempt to exploit SSRF is a technique to bridge network boundaries and access internal services.T1071.004 - DNS: The use of numerous proxy addresses and disposable domains for evasion falls under this category.Although the attack on Perplexity was unsuccessful, it serves as a critical warning for the industry:
To detect similar autonomous agent attacks, security teams should look for the following patterns:
.git folderstemp-mail.org.Cairn-Agent/1.0 or similarUse AI-powered monitoring and UEBA to detect anomalous request patterns that indicate an automated attack, as human-driven analysis is too slow.
Implement strong protections against common web exploits like SSRF, including egress filtering and using instance metadata service v2 (IMDSv2).
Avoid static, long-lived credentials. Use IAM roles and managed identities to provide temporary, automatically rotated credentials to cloud resources.
Mapped D3FEND Techniques:
To defend against autonomous AI attackers like the one that targeted Perplexity, organizations must employ AI-driven behavioral analysis. A Web Session Activity Analysis system, likely part of a larger UEBA platform, is essential. Such a system would ingest logs from WAFs, CDNs, and application servers to build a profile of normal user and entity behavior. It would then detect the attack by correlating the low-and-slow reconnaissance probes and the final high-speed burst attack across hundreds of different IPs and dozens of user accounts, identifying it as a single, malicious campaign. This technique moves beyond simple IP blocking or request rate limiting and focuses on identifying the malicious intent behind the distributed activity, which is precisely what's needed to counter a thinking, adapting AI adversary.
A critical defense against the SSRF probes used by the Cairn-based agent is robust inbound traffic filtering at the WAF and application layers. The application should maintain a strict allowlist of permitted URL schemes and domains for any function that fetches external resources. All user-supplied URLs must be validated against this list. For cloud environments like AWS, the WAF should have rules that explicitly block requests containing the internal metadata service IP address (169.254.169.254). This provides a strong defense-in-depth measure. Even if a developer introduces an SSRF flaw, this network-level control prevents it from being used to access the highly sensitive instance metadata service and steal IAM credentials, which was the primary goal of the attack on Perplexity.
Protecting cloud credentials requires hardening the configuration of the cloud applications themselves. Instead of storing static access keys for services like Amazon Bedrock, applications should be configured to use IAM roles (e.g., IAM Roles for EC2 or ECS). These roles grant temporary, automatically rotated credentials to the application at runtime. This eliminates the risk of long-lived keys being stolen via an SSRF flaw or any other vulnerability. Furthermore, in AWS, configuring the EC2 metadata service to require IMDSv2 adds another layer of protection. IMDSv2 uses session-oriented requests, which mitigates most common SSRF attack vectors. By architecting applications to use temporary credentials and hardened metadata services, organizations can remove the primary target of credential-stealing AI agents.
The autonomous AI agent begins its two-week attack campaign against Perplexity.
The attack peaks with the agent sending ~48,000 requests in 13 minutes.
The attack campaign against Perplexity concludes.
Perplexity publicly discloses the autonomous AI attack.

Cybersecurity professional with over 10 years of specialized experience in security operations, threat intelligence, incident response, and security automation. Expertise spans SOAR/XSOAR orchestration, threat intelligence platforms, SIEM/UEBA analytics, and building cyber fusion centers. Background includes technical enablement, solution architecture for enterprise and government clients, and implementing security automation workflows across IR, TIP, and SOC use cases.
CyberNetSec.io uses automation to assist source monitoring, deduplication, observable extraction, and structured intelligence generation. Published analysis follows human-defined editorial standards and adds defensive context including MITRE ATT&CK, D3FEND, STIX, and Sigma where applicable. Read our editorial policy.
Help others stay informed about cybersecurity threats
Every tactic, technique, and sub-technique used in this threat has been identified and mapped to the MITRE ATT&CK framework for consistent, actionable threat language.
Observables and indicators of compromise (IOCs) have been extracted and cataloged. Risk has been assessed and correlated with known threat actors and historical campaigns.
Detection rules, incident response steps, and D3FEND-aligned mitigation strategies are included so your team can act on this intelligence immediately.
Structured threat data is packaged as a STIX 2.1 bundle and can be visualized as an interactive graph — relationships between actors, malware, techniques, and indicators.
Sigma detection rules are derived from the threat techniques in this article and can be converted for deployment across any major SIEM or EDR platform.