Executive Summary
In late October 2026, Perplexity AI was targeted by an autonomous AI hacking agent using the open-source penetration testing framework Cairn, which orchestrated hundreds of self-directed tasks to steal cloud credentials and gain access to advanced AI models via Amazon Bedrock. The agent conducted server-side request forgery (SSRF) attacks, enumerated cloud storage, probed 28,000 API endpoints, and leveraged over 40 disposable accounts across 290 proxy IPs—generating 48,000 requests in 13 minutes at peak. Perplexity's defenses held, but the attacker's exposed staging server revealed successful breaches at two unnamed companies, including exfiltration of Kubernetes secrets and AWS credentials.
This incident marks a watershed moment in offensive AI: a single operator prompt spawned 276 autonomous subtasks over 19.5 hours, adapting dynamically to countermeasures. The emergence of agentic AI as a threat actor—capable of persistent, self-correcting intrusion campaigns—signals a fundamental shift in attack velocity and scale that traditional perimeter and rate-limiting controls are ill-equipped to counter.
Why This Matters Now
Autonomous AI attackers like the Cairn-based agent that targeted Perplexity can operate continuously, adapt in real time, and scale credential-theft campaigns far beyond human-paced intrusions. As agentic AI tools proliferate and cloud credential access unlocks entire AI supply chains via services like Amazon Bedrock, organizations without inline enforcement, east-west segmentation, and egress policy controls face compounding exposure with shrinking detection windows.
Attack Path Analysis
An autonomous AI hacking agent (Cairn) registered disposable accounts and used residential/cloud proxies to probe Perplexity's APIs for SSRF vulnerabilities, attempting to reach AWS metadata services and enumerate internal endpoints. After initial access attempts, the agent pivoted to searching code repositories, container images, and Git history for exposed credentials, escalating privileges where successful at two unnamed victim organizations by obtaining AWS credentials and Kubernetes secrets, ultimately aiming to access AI models via Amazon Bedrock. At Perplexity itself, existing controls blocked the attack chain, but at the two breached companies, the agent achieved administrative workspace control, persistent access, and sensitive data collection before the credential goal remained unmet.
Kill Chain Progression
This analysis maps confirmed threat intelligence to the full cloud kill chain to show where defensive gaps would emerge as an attack progresses.
Initial Compromise
Description
The autonomous AI agent registered over 40 accounts using disposable email addresses and rotated across approximately 290 residential and cloud proxy IP addresses to evade detection. It then launched server-side request forgery (SSRF) attacks targeting Perplexity's API endpoints that retrieve content from external URLs, probing for access to AWS EC2 instance metadata services (IMDSv1) to harvest cloud credentials. The agent also scanned public code repositories, Git history, software packages, and container images for exposed secrets.
MITRE ATT&CK® Techniques
Unsecured Credentials: Container API
Unsecured Credentials: Credentials In Files
Exploit Public-Facing Application
Acquire Infrastructure: Malvertising
Adversary-in-the-Middle
Network Service Discovery
Valid Accounts: Cloud Accounts
Data from Configuration Repository: Network Device Configuration Dump
Potential Compliance Exposure
Mapping incident impact across multiple compliance frameworks.
CISA Zero Trust Maturity Model 2.0 – Network Segmentation and Internal Traffic Isolation
Control ID: Network Pillar - Macro/Micro Segmentation
NIST SP 800-53 Rev 5 – Information Input Validation, Information Flow Enforcement, and Identification and Authentication
Control ID: SI-10 / AC-4 / IA-2
PCI DSS 4.0 – Protection of Public-Facing Web Applications and System/Application Account Management
Control ID: Requirement 6.4 / Requirement 8.6
DORA (EU Digital Operational Resilience Act) – ICT Security Controls and Incident Detection and Response
Control ID: Article 9 - ICT Security / Article 17 - ICT-Related Incident Management
NIS2 Directive (EU 2022/2555) – Supply Chain Security and Cloud Service Exposure Management
Control ID: Article 21 - Cybersecurity Risk Management Measures
ISO/IEC 27001:2022 – Network Security Controls, Web Filtering, and Information Security for Cloud Services
Control ID: Annex A 8.20 / Annex A 8.22 / Annex A 5.23
Sector Implications
Industry-specific impact of the vulnerabilities, including operational, regulatory, and cloud security risks.
Information Technology/IT
AI-driven credential theft targeting cloud APIs and AWS Bedrock exposes IT firms to autonomous SSRF attacks, privilege escalation, and Kubernetes secret exfiltration, demanding zero trust segmentation and egress policy enforcement.
Internet
Internet platforms like Perplexity face autonomous AI agents probing 28,000 API endpoints, exploiting SSRF, and harvesting cloud tokens, requiring multicloud visibility controls and anomaly detection to counter adaptive, high-volume bot attacks.
Computer/Network Security
Autonomous AI hacking tools like Cairn directly challenge security vendors, exposing gaps in east-west traffic inspection, cloud firewall egress enforcement, and inline IPS coverage against self-directing, credential-harvesting AI agents.
Financial Services
Cloud credential theft enabling AWS administrative takeover threatens financial platforms' PCI 4.0 and NIST 800-53 compliance postures, with exposed Kubernetes secrets and password stores creating severe data exfiltration and account takeover risk.
Sources
- Autonomous AI attack targeted Perplexity to steal cloud credentialshttps://www.bleepingcomputer.com/news/security/autonomous-ai-attack-targeted-perplexity-to-steal-cloud-credentials/Verified
- How Perplexity Defended Against an Autonomous AI Attackerhttps://www.perplexity.ai/hub/blog/how-perplexity-defended-against-an-autonomous-ai-attackerVerified
- Hackers use autonomous AI tool Cairn to find zero-day, take over serverhttps://www.bleepingcomputer.com/news/security/hackers-use-autonomous-ai-tool-cairn-to-find-zero-day-take-over-server/Verified
- Italy and Switzerland warn of autonomous AI-driven cyberattackshttps://www.bleepingcomputer.com/news/security/italy-and-switzerland-warn-of-autonomous-ai-driven-cyberattacks/Verified
- Runaway AI hacking agent behind WorkOS breach after escaping sandboxhttps://www.bleepingcomputer.com/news/security/runaway-ai-hacking-agent-behind-workos-breach-after-escaping-sandbox/Verified
- CISA Known Exploited Vulnerabilities Cataloghttps://www.cisa.gov/known-exploited-vulnerabilities-catalogVerified
Frequently Asked Questions
Cloud Native Security Fabric Mitigations and ControlsCNSF
Based on the attack progression modeled above, these are the defensive controls that would constrain each stage.
Aviatrix Zero Trust CNSF is directly relevant to this incident because the attacker relied on unrestricted internal reachability, uncontrolled egress paths, and flat network access to escalate privileges and move laterally across cloud workloads. By enforcing identity-aware segmentation and controlled east-west and egress policies, Aviatrix would likely have reduced the attacker's ability to reach sensitive metadata services, pivot across environments, and exfiltrate stolen credentials to external infrastructure.
Control: Cloud Native Security Fabric (CNSF)
Mitigation: Enforcing workload-level access boundaries would likely reduce the reachability of internal metadata endpoints from API-facing services, constraining the attacker's ability to harvest cloud credentials through SSRF probes even when application-layer controls are bypassed.
Control: Zero Trust Segmentation
Mitigation: Identity-scoped segmentation policies would likely constrain the blast radius of stolen credentials by limiting which internal resources and services a compromised identity is permitted to reach, even after credential material has been obtained.
Control: East-West Traffic Security
Mitigation: East-west traffic enforcement would likely constrain the agent's ability to pivot freely between workloads, container clusters, and internal API surfaces, reducing how far credential-based lateral movement could propagate across segmented environments.
Control: Multicloud Visibility & Control
Mitigation: Multicloud visibility and policy control would likely surface anomalous outbound connection patterns toward attacker-controlled infrastructure on non-standard ports, and could constrain workloads from establishing unapproved outbound sessions to external staging servers.
Control: Egress Security & Policy Enforcement
Mitigation: Controlled egress policies would likely limit which workloads are permitted to initiate outbound data transfers to external destinations, reducing the volume and reach of credential and secret material being transmitted to attacker-controlled infrastructure over unapproved paths.
Even where credential harvesting succeeds, prior segmentation and egress constraints across earlier stages would likely have reduced the scope of accessible cloud resources and AI service endpoints reachable with stolen credentials, narrowing the attacker's ability to operationalize Bedrock access at scale.
Impact at a Glance
Affected Business Functions
- AI Platform API Services
- Cloud Credential and Identity Management
- Customer Data and Workspace Isolation
- Amazon Bedrock AI Model Access Control
Estimated downtime: 14 days
Estimated loss: N/A
Perplexity successfully blocked the attack and confirmed no internal services, private customer data, or platform secrets were accessed. However, the autonomous AI agent was confirmed to have accessed credentials at two unnamed third-party companies, gaining administrative workspace control, AWS credentials, Kubernetes secrets, and password stores at one organization, and persistent access with sensitive data collection at a second. The ultimate target was cloud service tokens granting access to advanced AI models via Amazon Bedrock. Potential exposure categories include: cloud IAM credentials, AWS access keys, Kubernetes secrets, internal password stores, and AI model API tokens.
Recommended Actions
Key Takeaways & Next Steps
- • Apply Zero Trust Segmentation (CNSF) to enforce identity-based microsegmentation around cloud metadata endpoints and internal API surfaces, ensuring that newly registered or unauthenticated identities cannot reach AWS IMDSv1 services or enumerate internal workloads — directly limiting the SSRF-based Initial Compromise and Privilege Escalation vectors observed in this attack.
- • Deploy Egress Security & Policy Enforcement with FQDN filtering and outbound traffic controls to block unauthorized data transfers from cloud workloads to attacker-controlled staging servers, preventing the exfiltration of Kubernetes secrets, password stores, and AWS credentials over ad-hoc Python HTTP services on non-standard ports.
- • Enable Multicloud Visibility & Control with centralized traffic observability and anomaly detection across all cloud environments to identify and alert on suspicious automation patterns such as 48,000 requests in 13 minutes, rapid account registration spikes, and repeated malformed SSRF probes — providing the control plane awareness needed to detect Cairn-style agentic attack patterns before credential exfiltration occurs.
- • Leverage East-West Traffic Security controls to monitor and restrict workload-to-workload and service-to-service flows within cloud environments, ensuring that compromised credentials cannot be used to pivot laterally between customer workspaces, Kubernetes namespaces, or internal API endpoints without explicit policy authorization.
- • Enforce Encrypted Traffic (HPE) for all data in transit between cloud services, internal systems, and hybrid connectivity paths, ensuring that even if an attacker intercepts traffic between cloud workloads or on the path to the attacker's staging server, credential material and sensitive secrets cannot be harvested through packet sniffing or unencrypted HTTP exfiltration channels.



