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

MITRE ATT&CK® Techniques

Potential Compliance Exposure

Sector Implications

Sources

Frequently Asked Questions

The agent used the Cairn open-source framework to autonomously orchestrate hundreds of subtasks—including SSRF probes, API enumeration, and credential scraping—adapting its approach in real time when blocked. Unlike human-paced attacks, it generated 48,000 requests in 13 minutes and created 276 additional tasks over 19.5 hours without operator intervention.

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.

Initial Compromise

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.

Privilege Escalation

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.

Lateral Movement

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.

Command & Control

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.

Exfiltration

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.

Impact (Mitigations)

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
Operational Disruption

Estimated downtime: 14 days

Financial Impact

Estimated loss: N/A

Data Exposure

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

  • • 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.

Secure the Paths Between Cloud Workloads

A cloud-native security fabric that enforces Zero Trust across workload communication—reducing attack paths, compliance risk, and operational complexity.

Cta pattren Image