explainx.ai350K+ learn from us
TrendingAI News TodayExplainx for Business
Pricing
explainx.ai

Upskill in AI — 16 free pathways, live workshops & bootcamps, and 50+ courses from practitioners. Plus the skills, tools, and MCP servers to practice on.

follow us

follow on google

Add explainx.ai as a preferred source

corporate training

support@explainx.ai

get started

Find your pathTake Free Evaluation

community

Join the community

learn

mind: share how you thinkpathways — start freeworkshopsbootcampscoursescompare Explainxcertificationsmock testsexplainx universitycorporate traininglearn skills & mcp

discover

skillsmcp serversexplainx mcpestacktoolsmdx readeragentsllmsdesignsdictionarypeopleagi trackerfelony benchranks

company

aboutvisionmissionteaminstructorsteach on explainxpartnershipscommunityhackathonscareers

content

daily AI newsstate of AI — live resultsblogreleasespromptsgeneratorsresource libraryfor LLMsexplainx.ai kids

solutions

all solutionsdeveloper upskillingmarketing upskillingproduct manager upskillingleadership upskilling

newsletter · weekly

Get AI news, tools, and insights in your inbox.

supportcontactprivacytermsdata rightshow we create contentsubmission guidelines

© 2026 AISOLO Technologies Pvt Ltd

explainx.ai

On this page

  • TL;DR: what Perplexity says happened
  • Why Bedrock keys were the prize
  • Timeline: recon, peak, and exposed command server
  • Six techniques Perplexity saw
  • Inside Cairn: graphs, Kali workers, and autonomy
  • Company A and Company B: worse than Perplexity
  • What developers are saying
  • How Perplexity used its own agents to defend
  • IOCs and monitoring
  • What to do now: checklist for builders
  • AWS and government context
  • Limits of what we know
  • Related reading
← Back to blog

explainx / blog

Perplexity Cairn Attack: Autonomous Agent Hunted Bedrock Keys for Two Weeks

Perplexity, Cybersecurity, AI Agents, Amazon Bedrock, SSRF

Part of AI Tools and Apps

Perplexity published a Dec 2026 post-mortem on a Cairn-driven agent that peaked at 48,000 requests in 13 minutes hunting Amazon Bedrock access. What failed, what held, and what to do.

Dec 2, 2026·8 min read·Yash Thakker
add explainx.ai
go deep
Perplexity Cairn Attack: Autonomous Agent Hunted Bedrock Keys for Two Weeks

Perplexity says an autonomous Cairn agent spent about two weeks in late October and early November 2026 probing its APIs and URL-fetch paths for Amazon Bedrock credentials—and that every attempt failed. The company published the full narrative in How Perplexity defended against an autonomous AI attacker, with TechCrunch summarizing the disclosure on December 2. The campaign peaked on November 2 at roughly 48,000 requests in 13 minutes, used more than 40 disposable accounts, and aimed at the same Bedrock frontier-model access theme CISA flagged when it named Cairn beside ARTEX in late November.

Catch up on AI

One AI story explained in plain English, plus one thing to try. Every day, free. Unsubscribe anytime.

350K+ Students Already Joined

TL;DR: what Perplexity says happened

table · 2 cols
QuestionAnswer per Perplexity post-mortem
DurationAbout October 24 through November 8, 2026 (UTC)
Peak traffic~48,000 requests in 13 minutes on November 2
HarnessCairn open-source agent graph (facts + intents in graph.yaml)
GoalBedrock credentials to invoke two prize frontier models
Perplexity outcomeNo internal services, customer data, or platform secrets accessed
TwistExposed attacker server 185.87.121[.]140 revealed other victims
DisclosureHub post-mortem + TechCrunch; aligns with AWS Security Blog on Cairn

Why Bedrock keys were the prize

Prompt-injection style illustration for a server-side request forgery campaign against an AI API that fetches user-supplied linksPrompt-injection style illustration for a server-side request forgery campaign against an AI API that fetches user-supplied links

Amazon Bedrock is where many teams run frontier models without building their own GPU farms. A long-lived AKIA/ASIA key or Bedrock bearer token can translate directly into model spend and data access if IAM is loose. Perplexity's write-up quotes a recovered operator prompt (redacted) that insists credentials must invoke specific prize models, sweep regions, and sometimes fix data-retention errors with extra IAM permissions.

That is the same asset class behind prior explainx.ai coverage of AgentCorruption on Bedrock AgentCore and Trovata treasury agents on AgentCore—only here the attacker did not start inside AWS; they tried to steal in from the public internet.

Builders shipping agents with browsing or URL tools should read this next to our indirect prompt injection guide and CISA BOD 26-04 alert summary, because government alerts describe Cairn as a category, not a one-company bug.

Timeline: recon, peak, and exposed command server

Perplexity's table is the spine of the story:

table · 2 cols
Date (UTC)Observed activity
October 24–28Low-volume recon with disposable accounts
November 2High-rate SSRF and API sweeps; Computer alerts security
November 3Dedicated monitoring workflow; extra blocks
November 4Exposed attacker server found; two other companies notified
November 5Active response wraps; monitoring continues
November 6–8Last disposable accounts; probing stops

Detection started when Perplexity Computer, the company's agent platform, grouped dozens of throwaway signups by shared IPs, disposable email domains, and callback hosts. That is agent-assisted triage in production: not replacing SIEM, but compressing correlation time when each account stays under per-user rate limits.

Six techniques Perplexity saw

The post-mortem lists six behaviors and Perplexity's stated outcomes:

table · 3 cols
TechniqueBehaviorOutcome at Perplexity (per company)
SSRFMetadata, localhost, rebinding chainsBlocked by outbound URL validation
Object storage enumGuessed .env, Terraform state keysNo private objects accessed
API route discoveryTens of thousands of guessed REST paths404 responses
Privilege escalationOrg and admin endpointsDenied
Cross-tenant accessOther users' threads and filesDenied
EvasionFresh accounts, ~290 proxiesCorrelated across rotations

On SSRF, Perplexity documents classic metadata IP encodings, parser confusion attempts, and DNS rebinding hosts such as rbndr.us names encoding 169.254.169.254. The company says its validator resolves hostnames and blocks private destinations at connection time, so rebinding tricks failed.

Object storage probing is quantified: 3,681 failed S3 lookups across 3,300+ unique keys in a 14-hour window, including paths like .env.production and .aws/credentials. CloudTrail evidence matters here—application 404s are not enough to prove no object read; audit logs are the definitive layer.

Inside Cairn: graphs, Kali workers, and autonomy

Lightweight agent harness scaffold framing an autonomous worker loop, evoking Cairn facts-and-intents graphsLightweight agent harness scaffold framing an autonomous worker loop, evoking Cairn facts-and-intents graphs

Recovered workspaces show Cairn structuring work as facts (observations) and intents (tasks) in graph.yaml, with a top-level goal string driving the model. Perplexity ties the harness to other offensive reporting (including NorForge and Google Threat Intelligence references in the hub post).

Worker logs describe CLI coding agents inside a Kali Linux container with shell, network, and headless browser access. In one Company A graph preserved on the exposed host, the worker created 276 subsequent tasks after bootstrap—277 intents over 19.5 hours, up to 14 parallel tasks, with tasks citing prior dead ends within tens of minutes. That is the operational reality behind NCSC's "familiar weaknesses, exploited faster" framing.

The progression across targets followed a repeatable playbook Perplexity reconstructs:

  1. Certificate transparency and passive DNS for asset discovery, switching to Playwright when curl failed.
  2. Git history mining at massive scale—one logged task queued 4,328 fork scans.
  3. Package and container unpacking (npm, PyPI, OCI, mobile builds).
  4. Credential filtering requiring full key pairs before validation.
  5. Authenticated pivoting via disposable GuerrillaMail OTP signups when public sources dried up.

None of that succeeded at Perplexity's perimeter, but it explains why FBI Countershift and Canada's AI-enabled intrusion language treat automation as shrinking defender windows.

Company A and Company B: worse than Perplexity

Perplexity stresses that impact varied. Against its own systems, no credentials were recovered. The Company A workspace, per Perplexity, yielded customer OAuth in deleted git history, workspace admin control, and short-lived AWS credentials without Bedrock rights. Company B saw a demo management API foothold and a persistent command runner with ~1,000 callbacks over 15 hours.

Perplexity says it notified both security teams on November 4 with indicators and technical reports. Readers should not treat those paragraphs as independent verification of Company A/B victims—the facts come from recovered attacker artifacts, and Perplexity explicitly warns that agents can misread responses and that only partial graphs survived on the exposed server.

What developers are saying

TechCrunch's December 2 brief hit Hacker News shortly after publication; early threads mostly restated the Cairn and Bedrock headline rather than adding independent tests. Security practitioners have been comparing Cairn to ARTEX chains since CISA's alert—our FBI ARTEX flash noted intrusions moving from targeting to privileged access in under three hours in some sectors, a faster clock than traditional manual pentests.

When security engineers discuss URL-fetch features in AI products, the recurring theme is that "the model chose to fetch" is still server-side request forgery if the network allows it—matching Perplexity's decision to harden validation at connection time rather than trusting URL parsers alone.

How Perplexity used its own agents to defend

A distinctive part of the post-mortem is Perplexity Computer running a dedicated workflow for five days, posting to an incident channel, and drafting hardening changes while the campaign continued. That mirrors the sell behind Perplexity Computer and Perplexity orchestrator APIs—agents for internal security operations, not only customer chat.

The lesson for teams without Perplexity's stack: you still need baseline controls first. URL validation, S3 policy denial for anonymous reads, and cross-tenant authorization did the heavy lifting; agents accelerated correlation and patch drafting.

IOCs and monitoring

Perplexity publishes a threat indicator table, including 185.87.121[.]140, IPv6 2a11:3b80::3eec:efff:fe1e:5738, disposable email domains (arcadehearth.com, roomsranked.com, marchslurp.com), and rbndr.us rebinding patterns. Security teams should ingest those into threat intel feeds and watch for residential proxy rotations paired with fresh free accounts.

If you operate Bedrock on-premises AI Factories or hybrid stacks, these IOCs are relevant to perimeter apps, not only Perplexity's SaaS.

What to do now: checklist for builders

  1. Inventory every user-controlled URL fetch (chat attachments, "read this link", MCP HTTP tools, SSRF-prone webhooks).
  2. Validate at TCP connect with DNS re-resolution; block 169.254.0.0/16, 10.0.0.0/8, and metadata hostnames even through redirects.
  3. Rate-limit and fingerprint new free accounts; correlate disposable email domains the way Perplexity describes.
  4. Alert on object-storage enumeration spikes in CloudTrail, not only app-layer 404 rates.
  5. Separate Bedrock keys with least privilege; prize models should not share AdministratorAccess roles—see AgentCorruption for how broad defaults amplify one foothold.
  6. Subscribe to CISA and NCSC agentic alerts and rehearse sub-hour triage for Cairn-class automation.

For teams deploying coding agents internally, pair those controls with an agent security review and policy checks on tool chains; AgentBeam focuses on blocking dangerous agent actions before they reach production secrets.

AWS and government context

The AWS Security Blog describes Chinese-nexus actors using Cairn agents with a minimal human goal ("obtain shell access") and autonomous vulnerability discovery. Read that alongside Perplexity's defender narrative: offense and defense are both publishing Cairn telemetry in the same week.

CISA's November 30 alert already tells Federal Civilian Executive Branch agencies to expect ARTEX, Cairn, PentAGI, HexStrike, and Cyber Strike AI. Perplexity's post-mortem is useful evidence that Bedrock-oriented credential theft is not theoretical—it was attempted at scale against a major AI consumer brand.

Limits of what we know

Perplexity is explicit about scope: the exposed server was one slice, graphs were incomplete, and operator motive beyond Bedrock access is unknown. TechCrunch adds color on Cairn versus Artex similarity but does not replace the hub article for numbers.

No public filing asserts which nation-state ran the campaign; treat attribution absent from the primary post-mortem as unconfirmed. Similarly, Company A and Company B identities remain unnamed in Perplexity's public text—do not infer victims from hearsay.

Related reading

  • CISA alert on agentic offensive frameworks (ARTEX, Cairn)
  • AgentCorruption: Bedrock AgentCore hijack chain
  • FBI ARTEX flash warning
  • NCSC on familiar weaknesses exploited faster
  • AWS Claude on-premises AI Factories
  • Canada Treasury Board AI-enabled intrusion statement
  • CrowdStrike and AWS Falcon Guardian at re:Invent
  • Cyber firms turning away victims during Black October
Spotted something out of date? Let us know.
Daily briefFrom Yash · 350K+ students taught

Catch up on AI

One AI story explained in plain English, plus one thing to try. Every day, free. Unsubscribe anytime.

  • ✓ Free
  • ✓ One email a day, no spam
  • ✓ Unsubscribe anytime
Yash Thakker

Written by

Yash Thakker

Yash is an AI expert with over 300K learners. Join his workshops →

View Yash Thakker in People in AI →

Share

Perplexity
Workshops

Learn by building

Live, hands-on workshops on Claude, agents, and AI tooling — taught by practitioners, not slides.

Explore workshops →

Related posts

Dec 1, 2026

CISA Alert: Agentic Offensive Frameworks Hit FCEB and Critical Infrastructure

On November 30, 2026 CISA published an alert on malicious use of agentic offensive frameworks, naming ARTEX, Cairn, PentAGI, HexStrike, and Cyber Strike AI. The agency says it has responded to numerous U.S. incidents across federal civilian agencies, state and local governments, and critical infrastructure operators since November 2026.

Dec 1, 2026

CrowdStrike and AWS Expand AI Security: Multibillion Falcon Pact at re:Invent

At AWS re:Invent 2026 on December 1, CrowdStrike and Amazon Web Services announced a multibillion-dollar expansion of their partnership. CrowdStrike will invest more in AWS infrastructure, AWS will deepen Falcon platform use, and both will accelerate joint sales of AI-powered cybersecurity including Falcon Guardian for agents.

Dec 1, 2026

Cyber Firms Turn Away Victims: AI Attacks Drive 'Black October'

On November 30, 2026 Reuters surveyed 16 incident response and cyber firms about an October breach surge tied to agentic AI tooling. CEOs describe turning away new victims, tripling caseloads, and an industry capacity crunch — while a few vendors say severe incidents stayed flat.