Perplexity Thwarts Autonomous AI Hacker Targeting Amazon Bedrock Keys

Autonomous AI Agent Attacks Perplexity to Steal Cloud Credentials

HIGH
December 3, 2026
6m read
CyberattackCloud SecurityThreat Intelligence

Impact Scope

People Affected

No customers affected

Industries Affected

TechnologyOther

Related Entities

Products & Tech

Amazon BedrockCairn

Full Report

Executive Summary

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.

Threat Overview

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:

  • IP Rotation: The agent cycled through approximately 290 different residential and cloud proxy addresses.
  • Account Rotation: The campaign used more than 40 disposable email accounts for its probes.
  • Burst Activity: The attack culminated on November 2 with a high-intensity burst, sending around 48,000 requests in just 13 minutes (over 200 requests per second).

Technical Analysis

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.

MITRE ATT&CK Techniques

Impact Assessment

Although the attack on Perplexity was unsuccessful, it serves as a critical warning for the industry:

  • Democratization of Advanced Attacks: Open-source autonomous agent frameworks like Cairn lower the barrier to entry for sophisticated, automated attacks.
  • AI-Speed Attacks: The ability to launch 48,000 requests in 13 minutes demonstrates that attacks are now occurring at a speed and scale that is impossible for human defenders to manage manually.
  • New Detection Challenges: Evasion tactics like rapid IP and account rotation make it difficult for traditional, rule-based security tools to correlate events and identify a coordinated campaign.
  • Cloud Credentials as a Prime Target: The focus on stealing Amazon Bedrock credentials highlights the high value of AI and cloud service access to attackers.

Cyber Observables — Hunting Hints

To detect similar autonomous agent attacks, security teams should look for the following patterns:

Type
Network Traffic Pattern
Value
High-frequency requests from a large, diverse set of IPs
Description
A sudden spike in traffic from hundreds of residential or cloud proxies targeting login pages or API endpoints.
Context
WAF logs, CDN logs, web server access logs.
Type
URL Pattern
Value
Probes for SSRF, open S3 buckets, exposed .git folders
Description
Systematic scanning for common web and cloud vulnerabilities across multiple endpoints.
Context
WAF logs, application logs.
Type
Account Creation Pattern
Value
Rapid creation of accounts using disposable email domains
Description
A large number of sign-ups in a short period from domains like temp-mail.org.
Context
Application database, authentication logs.
Type
User-Agent
Value
Cairn-Agent/1.0 or similar
Description
While easily spoofed, autonomous agents may use a default or unique User-Agent string.
Context
Web server access logs.

Detection & Response

  • AI-Powered Monitoring: As Perplexity's experience shows, defending against AI-powered attacks requires AI-powered defense. Use UEBA and advanced log correlation tools to identify patterns of behavior that indicate a coordinated, automated attack.
  • Rate Limiting and Blocking: Implement aggressive rate limiting on authentication and API endpoints. Automatically block IPs that exhibit scanning behavior or are part of known proxy networks.
  • SSRF Protection: Employ strict egress filtering and use metadata service protection (like IMDSv2 on AWS) to prevent attackers from accessing internal cloud credentials via SSRF vulnerabilities.
  • Log Correlation: Ingest logs from multiple sources (WAF, CDN, application, cloud provider) into a SIEM and build rules that correlate suspicious activity across different IP addresses and user accounts over time.

Mitigation

  1. Assume Automated Attack: Design security controls with the assumption that they will be tested by fast, sophisticated, and automated agents, not just human attackers. This aligns with D3-PH (Platform Hardening).
  2. Harden Cloud Configurations: Regularly audit cloud environments for misconfigurations like public S3 buckets, overly permissive IAM roles, and exposed metadata services. Use Cloud Security Posture Management (CSPM) tools.
  3. Credential Security: Avoid hardcoding credentials. Use managed identity services (e.g., IAM Roles for EC2) that provide temporary, automatically-rotated credentials to applications. This is a form of D3-UAP (User Account Permissions).
  4. API Security: Implement strong authentication and authorization for all APIs. Use API gateways to enforce rate limiting, apply security policies, and monitor for abuse.

Timeline of Events

1
October 24, 2026
The autonomous AI agent begins its two-week attack campaign against Perplexity.
2
November 2, 2026
The attack peaks with the agent sending ~48,000 requests in 13 minutes.
3
November 8, 2026
The attack campaign against Perplexity concludes.
4
December 2, 2026
Perplexity publicly discloses the autonomous AI attack.
5
December 3, 2026
This article was published

MITRE ATT&CK Mitigations

Use 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).

Mapped D3FEND Techniques:

Avoid static, long-lived credentials. Use IAM roles and managed identities to provide temporary, automatically rotated credentials to cloud resources.

Mapped D3FEND Techniques:

D3FEND Defensive Countermeasures

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.

Timeline of Events

1
October 24, 2026

The autonomous AI agent begins its two-week attack campaign against Perplexity.

2
November 2, 2026

The attack peaks with the agent sending ~48,000 requests in 13 minutes.

3
November 8, 2026

The attack campaign against Perplexity concludes.

4
December 2, 2026

Perplexity publicly discloses the autonomous AI attack.

Article Author

Jason Gomes

Jason Gomes

• Cybersecurity Practitioner

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.

Threat Intelligence & AnalysisSecurity Orchestration (SOAR/XSOAR)Incident Response & Digital ForensicsSecurity Operations Center (SOC)SIEM & Security AnalyticsCyber Fusion & Threat SharingSecurity Automation & IntegrationManaged Detection & Response (MDR)

Editorial Standards & Analyst Review

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.

Tags

AICyberattackAutonomous AgentPerplexityCairnCloud SecurityAmazon BedrockSSRF

📢 Share This Article

Help others stay informed about cybersecurity threats

🎯 MITRE ATT&CK Mapped

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.

🧠 Enriched & Analyzed

Observables and indicators of compromise (IOCs) have been extracted and cataloged. Risk has been assessed and correlated with known threat actors and historical campaigns.

🛡️ Actionable Guidance

Detection rules, incident response steps, and D3FEND-aligned mitigation strategies are included so your team can act on this intelligence immediately.

🔗 STIX Visualizer

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 Generator

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.