{"incident":{"slug":"perplexity-nov-2026-autonomous-ai-attacker-bedrock","caseId":"BI-2026-036","organization":"Perplexity","title":"Perplexity: an autonomous AI agent fired 48,000 probes for Bedrock keys and hit two other firms","shortSummary":"An autonomous Cairn multi-agent swarm spun up 276 tasks, 40 disposable accounts, and 290 proxies hunting Amazon Bedrock keys; Perplexity blocked every probe and traced the exposed staging box to two other compromised companies.","lede":"Between late October and early November 2026, an operator pointed the open-source Cairn multi-agent pentest framework at Perplexity and at least two other companies with a single goal: steal AWS credentials or service tokens that could invoke frontier models on Amazon Bedrock. Peaking on November 2 with roughly 48,000 requests in 13 minutes across 28,000 guessed routes, the agent was stopped completely by Perplexity’s URL validation and authorization boundaries, while Perplexity’s trace of an exposed attacker staging host uncovered active footholds at two unnamed companies.","incidentDate":"Oct–Nov 2, 2026","incidentDateIso":"2026-10-28","incidentEndIso":"2026-11-04","disclosedDate":"Dec 2, 2026","sourceUrl":"https://www.perplexity.ai/hub/blog/how-perplexity-defended-against-an-autonomous-ai-attacker","sourceAuthor":"Perplexity Security Team, BleepingComputer, and TechCrunch","vectorFilter":"API and secrets","timeToDetect":"Same day at peak (Nov 2, 2026)","detectedBy":"Perplexity Computer (internal AI monitoring platform)","initialAccess":{"label":"Autonomous Cairn agent swarm","detail":"Single goal prompt drove 276 subtasks, ~40 disposable accounts, ~290 proxies, and 48,000 probes in 13 minutes","evidence":"confirmed"},"secondaryVectorMeta":{"term":"Operator identity","label":"Unknown (staging host exposed)","evidence":"withheld"},"blastRadius":"Zero impact at Perplexity; attacker logs claimed AWS and K8s credential access at two unnamed companies","whatItReachedShort":"Blocked at Perplexity perimeter; attacker’s own logs claimed AWS keys, K8s Secrets, and password stores at two unnamed companies","whatHeldShort":"All Perplexity internal systems, AWS metadata service, cloud keys, and customer data","revisions":[{"id":"Rev A","date":"Dec 3, 2026","note":"First published from Perplexity’s December 2 security postmortem, BleepingComputer, and TechCrunch reporting."}],"bodyMarkdown":"## How they got in\n\nAt Perplexity, they never did. Between late October and early November 2026, an unknown operator gave a single goal prompt to Cairn, an open-source multi-agent penetration-testing framework: find AWS credentials or service tokens that could invoke two specific frontier models on Amazon Bedrock. Instead of following a rigid script, the agent built its own task graph, spawning 276 subtasks over 19.5 hours with up to 14 running in parallel.\n\nTo get past basic rate limits, the swarm registered roughly 40 accounts using disposable email providers and rotated through around 290 residential and cloud proxy IPs. It searched public repositories, git history, packages, and container images for leaked secrets before switching to active probing. On November 2, the campaign peaked with roughly 48,000 requests in 13 minutes (over 200 requests per second) sweeping 28,000 guessed API routes, testing URL-fetch features for SSRF against AWS metadata endpoints, scanning object storage, and testing cross-tenant authorization.\n\n## What it reached\n\nPerplexity’s own internal AI platform, Perplexity Computer, spotted the multi-account sweep in application logs on November 2. While tracing out-of-band probes back to their origin, Perplexity’s security team discovered that the attacker’s own staging host was wide open to the internet, exposing 207 open ports, 29 unauthenticated directory listings, and more than 10,000 campaign scripts, logs, and active workspaces.\n\nThose workspaces revealed that Perplexity was only one of at least three corporate targets. According to the agent’s self-written logs, the swarm claimed deeper footholds at two unnamed companies: at Company A, exposed credentials led to customer workspace admin rights, internal systems, and AWS keys; at Company B, a breached demo environment yielded persistence, password stores, Kubernetes Secrets, and AWS credentials. Perplexity explicitly warned that an autonomous agent’s own logs can exaggerate real impact, noted that neither company gave the operator working Bedrock access to the targeted models, and notified both victims on November 4 while activity was still underway.\n\n## What held\n\nEvery control at Perplexity held under sustained automated fire. Strict outbound URL validation prevented URL-fetch features from reaching the AWS instance metadata service or internal endpoints, and per-tenant authorization checks held across all 28,000 probed paths and 40 fresh accounts. Zero Perplexity internal systems, secrets, or user records were accessed.\n\n> **Autonomous agents turn basic hygiene gaps into fast LLMjacking pipelines**\n>\n> An autonomous swarm does not need a novel zero-day when it can test 28,000 routes in 13 minutes and pivot instantly to softer targets that left credentials in git history or exposed a demo environment next to real cloud keys.\n>\n> The defensive takeaway is straightforward and encouraging: classic fundamentals beat an AI swarm cold. Enforce IMDSv2 with a metadata TTL of 1, block private IP ranges in every URL fetcher, keep demo clusters air-gapped from real secrets, and lock down Amazon Bedrock invocation with AWS Service Control Policies so a stolen dev key cannot turn into an overnight inference bill.","narrative":{"howTheyGotIn":["At Perplexity, they never did. Between late October and early November 2026, an unknown operator gave a single goal prompt to Cairn, an open-source multi-agent penetration-testing framework: find AWS credentials or service tokens that could invoke two specific frontier models on Amazon Bedrock. Instead of following a rigid script, the agent built its own task graph, spawning 276 subtasks over 19.5 hours with up to 14 running in parallel.","To get past basic rate limits, the swarm registered roughly 40 accounts using disposable email providers and rotated through around 290 residential and cloud proxy IPs. It searched public repositories, git history, packages, and container images for leaked secrets before switching to active probing. On November 2, the campaign peaked with roughly 48,000 requests in 13 minutes (over 200 requests per second) sweeping 28,000 guessed API routes, testing URL-fetch features for SSRF against AWS metadata endpoints, scanning object storage, and testing cross-tenant authorization."],"whatItReached":["Perplexity’s own internal AI platform, Perplexity Computer, spotted the multi-account sweep in application logs on November 2. While tracing out-of-band probes back to their origin, Perplexity’s security team discovered that the attacker’s own staging host was wide open to the internet, exposing 207 open ports, 29 unauthenticated directory listings, and more than 10,000 campaign scripts, logs, and active workspaces.","Those workspaces revealed that Perplexity was only one of at least three corporate targets. According to the agent’s self-written logs, the swarm claimed deeper footholds at two unnamed companies: at Company A, exposed credentials led to customer workspace admin rights, internal systems, and AWS keys; at Company B, a breached demo environment yielded persistence, password stores, Kubernetes Secrets, and AWS credentials. Perplexity explicitly warned that an autonomous agent’s own logs can exaggerate real impact, noted that neither company gave the operator working Bedrock access to the targeted models, and notified both victims on November 4 while activity was still underway."],"whatHeld":["Every control at Perplexity held under sustained automated fire. Strict outbound URL validation prevented URL-fetch features from reaching the AWS instance metadata service or internal endpoints, and per-tenant authorization checks held across all 28,000 probed paths and 40 fresh accounts. Zero Perplexity internal systems, secrets, or user records were accessed."],"sideNoteTitle":"Autonomous agents turn basic hygiene gaps into fast LLMjacking pipelines","sideNoteParagraphs":["An autonomous swarm does not need a novel zero-day when it can test 28,000 routes in 13 minutes and pivot instantly to softer targets that left credentials in git history or exposed a demo environment next to real cloud keys.","The defensive takeaway is straightforward and encouraging: classic fundamentals beat an AI swarm cold. Enforce IMDSv2 with a metadata TTL of 1, block private IP ranges in every URL fetcher, keep demo clusters air-gapped from real secrets, and lock down Amazon Bedrock invocation with AWS Service Control Policies so a stolen dev key cannot turn into an overnight inference bill."]},"claims":[{"group":"How they got in","claim":"An operator used the open-source Cairn multi-agent pentest framework with one goal prompt to hunt AWS credentials for frontier Amazon Bedrock models, creating 276 subtasks over 19.5 hours, ~40 disposable accounts, ~290 proxies, and ~48,000 requests in 13 minutes across 28,000 paths on November 2","evidence":"confirmed","source":"Perplexity security postmortem (Dec 2, 2026) and BleepingComputer"},{"group":"How they got in","claim":"The human operator’s identity and intended downstream use for the targeted Amazon Bedrock models","evidence":"withheld","source":"Unknown (Perplexity Dec 2 postmortem)"},{"group":"What it reached","claim":"Perplexity traced out-of-band probes to an attacker staging host with 207 open ports, 29 open directory listings, and 10,000+ files; recovered agent logs claimed AWS credential, password store, and Kubernetes Secret access at two unnamed firms (Company A and Company B), though Perplexity cautioned those self-written logs may overstate real impact","evidence":"inferred","source":"Attacker staging-host logs inspected by Perplexity (victims notified Nov 4, 2026)"},{"group":"What held","claim":"Perplexity blocked all SSRF, storage enumeration, and authorization probes; zero Perplexity systems, credentials, or customer data were accessed, and neither other target yielded working Bedrock access for the operator’s target models","evidence":"confirmed","source":"Perplexity security postmortem, Dec 2, 2026"}],"stack":{"intro":"Every layer at Perplexity held under 48,000 automated probes in 13 minutes. Yellow shows what the same attacker claimed at two other unnamed firms.","layers":[{"label":"Public APIs and URL fetchers","status":"safe","statusText":"Blocked every probe","evidence":"confirmed","plain":"Strict outbound URL allowlisting and per-tenant authorization stopped 48,000 automated requests across 28,000 guessed routes on Nov 2.","technical":["Peak sweep on Nov 2: ~48,000 requests in 13 minutes (over 200 requests per second) from ~40 disposable accounts and ~290 proxies.","Tested URL-fetch features for SSRF against link-local metadata (`169.254.169.254`), object storage, and cross-tenant access."]},{"label":"Cloud keys and model access","status":"safe","statusText":"Stayed safe","evidence":"confirmed","plain":"Zero Perplexity cloud credentials, metadata tokens, internal systems or customer records were accessed.","technical":["Operator goal prompt hunted AWS credentials or service tokens able to invoke two frontier models on Amazon Bedrock."]},{"label":"Internal security monitoring","status":"context","statusText":"Caught the burst","evidence":"confirmed","plain":"Perplexity Computer spotted the multi-account sweep in application logs the same day and traced out-of-band callbacks back to the attacker’s own exposed staging server.","technical":["Attacker staging server exposed 207 open ports, 29 unauthenticated directory listings, and 10,000+ campaign files."]},{"label":"Cloud target sought by attacker","status":"context","statusText":"Part of the setup","evidence":"confirmed","plain":"The autonomous Cairn swarm specifically hunted Amazon Web Services keys and Amazon Bedrock model access across multiple firms.","vendors":[{"name":"Amazon Web Services","initial":"A","technical":"Targeted `bedrock:InvokeModel` credentials across public git history, containers, and live API probes."}]},{"label":"Two other unnamed companies","status":"hit","statusText":"Claimed in agent logs","evidence":"inferred","plain":"Recovered workspaces on the attacker’s staging server claimed footholds at two other unnamed firms, though Perplexity warned self-written agent logs can overstate real impact.","technical":[{"text":"Company A logs claimed customer workspace admin control, internal systems and AWS keys; notified Nov 4.","evidence":"inferred"},{"text":"Company B logs claimed demo-environment persistence, password stores, Kubernetes Secrets and AWS keys; notified Nov 4.","evidence":"inferred"}]},{"label":"Not known yet","status":"unknown","statusText":"Not known yet","evidence":"withheld","items":["Who operated the Cairn agent swarm and what they planned to do with Bedrock access.","The names of Company A and Company B, and how much of the agent’s claimed access each firm confirmed."]}],"foot":"Everything here comes from Perplexity’s Dec 2 security postmortem. This story has no public-record check."},"diagram":{"label":"How an autonomous Cairn AI attacker probed Perplexity for Bedrock keys, failed at Perplexity, and logged footholds at two unnamed firms","zones":[{"id":"swarm","label":"Autonomous Cairn swarm","kind":"boundary","lane":0},{"id":"probe","label":"Automated probing","kind":"boundary","lane":1},{"id":"other","label":"Other targets (agent logs)","kind":"boundary","lane":2},{"id":"safe","label":"Perplexity held","kind":"isolated","lane":1}],"nodes":[{"id":"px-op","zone":"swarm","name":"Cairn agent swarm","detail":"1 prompt, 276 subtasks","kind":"attacker","ev":"confirmed","at":0,"story":"An unknown operator gave a single goal prompt to the open-source Cairn multi-agent pentest framework: obtain AWS credentials or service tokens that can invoke two named frontier models on Amazon Bedrock. Over 19.5 hours, the agent planned 276 subtasks with up to 14 running concurrently.","when":"Late Oct–Nov 2, 2026","steps":[1]},{"id":"px-recon","zone":"probe","name":"Proxy & account sweep","detail":"40 accounts, 290 proxies","kind":"compromised","ev":"confirmed","at":1,"story":"Searched public repositories, git history, packages, and container images for leaked keys, registered roughly 40 accounts with disposable email addresses, and rotated across about 290 residential and cloud proxy IPs.","when":"Late Oct–Nov 2, 2026","steps":[1,2],"ctl":["px-k1"]},{"id":"px-ssrf","zone":"probe","name":"SSRF & API enumeration","detail":"48k req / 13m, 28k paths","kind":"compromised","ev":"confirmed","at":2,"story":"On November 2, fired roughly 48,000 requests in 13 minutes (over 200 requests per second) across 28,000 guessed API paths, probing URL-fetch features for AWS metadata SSRF, object storage leaks, and cross-tenant privilege escalation. Every probe failed against Perplexity.","when":"Nov 2, 2026","steps":[2],"ctl":["px-k2"]},{"id":"px-box","zone":"probe","name":"Exposed staging server","detail":"207 ports, 10k+ files","kind":"compromised","ev":"confirmed","at":3,"story":"Perplexity Computer flagged the probing on November 2. Tracing out-of-band callbacks led Perplexity defenders to the attacker’s own exposed staging host with 207 open ports, 29 unauthenticated directory listings, and more than 10,000 campaign files and agent logs.","when":"Nov 2–4, 2026","steps":[3],"ctl":["px-d1"]},{"id":"px-ca","zone":"other","name":"Company A (unnamed)","detail":"Creds to AWS keys (log)","kind":"compromised","ev":"inferred","at":4,"story":"According to the agent’s own workspace logs, exposed credentials gave admin control over a customer workspace, then internal systems and AWS credentials (without reaching the target Bedrock models). Perplexity cautioned agent logs may overstate impact and notified Company A on November 4.","when":"Notified Nov 4, 2026","steps":[4]},{"id":"px-cb","zone":"other","name":"Company B (unnamed)","detail":"Demo env to K8s & AWS","kind":"compromised","ev":"inferred","at":4,"story":"Agent logs recorded persistence on a breached demo environment followed by access to password stores, Kubernetes Secrets, and AWS credentials (again failing to reach the target Bedrock models). Perplexity notified Company B on November 4.","when":"Notified Nov 4, 2026","steps":[4],"ctl":["px-k3"]},{"id":"px-safe1","zone":"safe","name":"AWS IMDS & URL fetch","detail":"Outbound checks blocked","kind":"isolated","ev":"confirmed","at":0,"story":"Strict outbound URL allowlisting and metadata protections stopped every SSRF attempt directed at the AWS instance metadata service and internal Perplexity hosts.","when":"Held Nov 2, 2026"},{"id":"px-safe2","zone":"safe","name":"Perplexity APIs & data","detail":"Zero access or leaks","kind":"isolated","ev":"confirmed","at":0,"story":"Per-tenant authorization boundaries held across all 28,000 probed paths and 40 disposable accounts. Zero Perplexity secrets, cloud credentials, or user data were exposed.","when":"Held Nov 2, 2026"}],"edges":[{"id":"pxe1","from":"px-op","to":"px-recon","kind":"attack","step":1},{"id":"pxe2","from":"px-recon","to":"px-ssrf","kind":"attack","step":2},{"id":"pxe3","from":"px-ssrf","to":"px-box","kind":"attack","step":3},{"id":"pxe4a","from":"px-box","to":"px-ca","kind":"inferred","step":4},{"id":"pxe4b","from":"px-box","to":"px-cb","kind":"inferred","step":4}],"steps":[{"n":1,"time":"Late Oct 2026","short":"Late Oct","text":"Single goal prompt launches Cairn swarm across 40 accounts and 290 proxies","say":"An operator instructs the open-source Cairn agent harness to harvest AWS credentials or tokens for frontier models on Bedrock; the swarm plans 276 tasks and rotates across disposable accounts and proxies."},{"n":2,"time":"Nov 2, 2026","short":"Nov 2","text":"48,000 SSRF and API probes fire in 13 minutes; Perplexity blocks all","say":"The agent sweeps 28,000 guessed endpoints at 200+ requests per second, probing URL fetchers and tenant boundaries. Outbound URL filtering and authorization hold with zero access."},{"n":3,"time":"Nov 2–3, 2026","short":"Nov 2–3","text":"Perplexity Computer flags burst and traces exposed attacker staging host","say":"Perplexity’s internal AI monitor flags the multi-account burst; defenders trace callbacks to an exposed staging server with 207 open ports and 10,000+ campaign files."},{"n":4,"time":"Nov 4, 2026","short":"Nov 4","text":"Agent logs reveal two other targets; Perplexity notifies Companies A and B","say":"Recovered workspaces show the same agent claiming AWS and Kubernetes credential access at two unnamed companies, though neither yielded target Bedrock access; Perplexity notifies both organizations on November 4."}],"controls":[{"id":"px-k1","step":1,"kind":"control","name":"Block disposable signups","tag":"Limits step 1","long":"Enforce velocity limits on fresh accounts, block throwaway email domains on API-heavy features, and alert when dozens of new accounts rotate across residential proxy ASNs.","nodeId":"px-recon"},{"id":"px-k2","step":2,"kind":"control","name":"URL allowlist + IMDSv2","tag":"Stops step 2","long":"Validate outbound URL-fetch targets against private IP ranges and link-local addresses (169.254.169.254), enforce IMDSv2 with metadata response TTL set to 1, and enforce strict per-tenant authorization on every object path.","nodeId":"px-ssrf"},{"id":"px-d1","step":3,"kind":"fired","name":"Computer flagged Nov 2","tag":null,"long":"Perplexity Computer spotted the anomalous multi-account sweep in application logs on November 2 and traced out-of-band probes to the attacker’s staging box.","nodeId":"px-box"},{"id":"px-k3","step":4,"kind":"control","name":"Isolate demos & Bedrock","tag":"Stops step 4","long":"Keep demo environments completely isolated from production secrets and Kubernetes clusters, scan full git history for leaked credentials, and restrict bedrock:InvokeModel with AWS SCPs and CloudTrail anomaly alerts.","nodeId":"px-cb"}],"detectedAt":{"time":"Nov 2, 2026 (other victims notified Nov 4; disclosed Dec 2)","short":"Blocked Nov 2","text":"Perplexity Computer flagged the 48,000-request burst on November 2; all probes were blocked and the two unnamed victims found on the attacker’s staging box were notified November 4."}},"plate":{"W":1040,"H":484,"label":"How an autonomous Cairn AI attacker probed Perplexity for Bedrock keys, failed at Perplexity, and logged footholds at two unnamed firms","zones":[{"id":"swarm","label":"Autonomous Cairn swarm","kind":"boundary","x":8,"y":16,"w":212,"h":110},{"id":"probe","label":"Automated probing","kind":"boundary","x":258,"y":16,"w":495,"h":314},{"id":"safe","label":"Perplexity held","kind":"isolated","x":258,"y":350,"w":495,"h":110},{"id":"other","label":"Other targets (agent logs)","kind":"boundary","x":791,"y":16,"w":241,"h":212}],"nodes":[{"id":"px-op","name":"Cairn agent swarm","detail":"1 prompt, 276 subtasks","kind":"attacker","ev":"confirmed","x":20,"y":52,"w":188,"at":0,"story":"An unknown operator gave a single goal prompt to the open-source Cairn multi-agent pentest framework: obtain AWS credentials or service tokens that can invoke two named frontier models on Amazon Bedrock. Over 19.5 hours, the agent planned 276 subtasks with up to 14 running concurrently.","when":"Late Oct–Nov 2, 2026","steps":[1]},{"id":"px-recon","name":"Proxy & account sweep","detail":"40 accounts, 290 proxies","kind":"compromised","ev":"confirmed","x":393,"y":52,"w":224,"at":1,"story":"Searched public repositories, git history, packages, and container images for leaked keys, registered roughly 40 accounts with disposable email addresses, and rotated across about 290 residential and cloud proxy IPs.","when":"Late Oct–Nov 2, 2026","steps":[1,2],"ctl":["px-k1"]},{"id":"px-ssrf","name":"SSRF & API enumeration","detail":"48k req / 13m, 28k paths","kind":"compromised","ev":"confirmed","x":393,"y":154,"w":224,"at":2,"story":"On November 2, fired roughly 48,000 requests in 13 minutes (over 200 requests per second) across 28,000 guessed API paths, probing URL-fetch features for AWS metadata SSRF, object storage leaks, and cross-tenant privilege escalation. Every probe failed against Perplexity.","when":"Nov 2, 2026","steps":[2],"ctl":["px-k2"]},{"id":"px-box","name":"Exposed staging server","detail":"207 ports, 10k+ files","kind":"compromised","ev":"confirmed","x":393,"y":256,"w":224,"at":3,"story":"Perplexity Computer flagged the probing on November 2. Tracing out-of-band callbacks led Perplexity defenders to the attacker’s own exposed staging host with 207 open ports, 29 unauthenticated directory listings, and more than 10,000 campaign files and agent logs.","when":"Nov 2–4, 2026","steps":[3],"ctl":["px-d1"]},{"id":"px-safe1","name":"AWS IMDS & URL fetch","detail":"Outbound checks blocked","kind":"isolated","ev":"confirmed","x":270,"y":386,"w":211,"at":0,"story":"Strict outbound URL allowlisting and metadata protections stopped every SSRF attempt directed at the AWS instance metadata service and internal Perplexity hosts.","when":"Held Nov 2, 2026"},{"id":"px-safe2","name":"Perplexity APIs & data","detail":"Zero access or leaks","kind":"isolated","ev":"confirmed","x":525,"y":386,"w":216,"at":0,"story":"Per-tenant authorization boundaries held across all 28,000 probed paths and 40 disposable accounts. Zero Perplexity secrets, cloud credentials, or user data were exposed.","when":"Held Nov 2, 2026"},{"id":"px-ca","name":"Company A (unnamed)","detail":"Creds to AWS keys (log)","kind":"compromised","ev":"inferred","x":803,"y":52,"w":200,"at":4,"story":"According to the agent’s own workspace logs, exposed credentials gave admin control over a customer workspace, then internal systems and AWS credentials (without reaching the target Bedrock models). Perplexity cautioned agent logs may overstate impact and notified Company A on November 4.","when":"Notified Nov 4, 2026","steps":[4]},{"id":"px-cb","name":"Company B (unnamed)","detail":"Demo env to K8s & AWS","kind":"compromised","ev":"inferred","x":803,"y":154,"w":200,"at":4,"story":"Agent logs recorded persistence on a breached demo environment followed by access to password stores, Kubernetes Secrets, and AWS credentials (again failing to reach the target Bedrock models). Perplexity notified Company B on November 4.","when":"Notified Nov 4, 2026","steps":[4],"ctl":["px-k3"]}],"edges":[{"id":"pxe1","kind":"attack","step":1,"pts":[[208,81],[393,81]]},{"id":"pxe2","kind":"attack","step":2,"pts":[[505,110],[505,154]]},{"id":"pxe3","kind":"attack","step":3,"pts":[[505,212],[505,256]]},{"id":"pxe4a","kind":"inferred","step":4,"pts":[[617,285],[710,285],[710,81],[803,81]]},{"id":"pxe4b","kind":"inferred","step":4,"pts":[[617,285],[710,285],[710,183],[803,183]]}],"balloons":{"1":[301,81],"2":[505,132],"3":[505,234],"4":[710,183]},"noroute":[{"x1":220,"x2":258,"y":380,"label":"No route"}],"bps":[{"id":"px-k1","step":1,"kind":"control","at":[301,81],"name":"Block disposable signups","tag":"Limits step 1","lead":[[301,70],[301,53],[313,53]],"lx":319,"ly":57,"anchor":"start","long":"Enforce velocity limits on fresh accounts, block throwaway email domains on API-heavy features, and alert when dozens of new accounts rotate across residential proxy ASNs.","nodeId":"px-recon"},{"id":"px-k2","step":2,"kind":"control","at":[505,132],"name":"URL allowlist + IMDSv2","tag":"Stops step 2","lead":[[505,143],[505,154],[517,154]],"lx":523,"ly":158,"anchor":"start","long":"Validate outbound URL-fetch targets against private IP ranges and link-local addresses (169.254.169.254), enforce IMDSv2 with metadata response TTL set to 1, and enforce strict per-tenant authorization on every object path.","nodeId":"px-ssrf"},{"id":"px-d1","step":3,"kind":"fired","at":[505,234],"name":"Computer flagged Nov 2","tag":null,"lead":[[505,223],[505,206],[517,206]],"lx":523,"ly":210,"anchor":"start","long":"Perplexity Computer spotted the anomalous multi-account sweep in application logs on November 2 and traced out-of-band probes to the attacker’s staging box.","nodeId":"px-box"},{"id":"px-k3","step":4,"kind":"control","at":[710,183],"name":"Isolate demos & Bedrock","tag":"Stops step 4","lead":[[710,194],[710,205],[698,205]],"lx":692,"ly":209,"anchor":"end","long":"Keep demo environments completely isolated from production secrets and Kubernetes clusters, scan full git history for leaked credentials, and restrict bedrock:InvokeModel with AWS SCPs and CloudTrail anomaly alerts.","nodeId":"px-cb"}],"steps":[{"n":1,"time":"Late Oct 2026","short":"Late Oct","text":"Single goal prompt launches Cairn swarm across 40 accounts and 290 proxies","say":"An operator instructs the open-source Cairn agent harness to harvest AWS credentials or tokens for frontier models on Bedrock; the swarm plans 276 tasks and rotates across disposable accounts and proxies."},{"n":2,"time":"Nov 2, 2026","short":"Nov 2","text":"48,000 SSRF and API probes fire in 13 minutes; Perplexity blocks all","say":"The agent sweeps 28,000 guessed endpoints at 200+ requests per second, probing URL fetchers and tenant boundaries. Outbound URL filtering and authorization hold with zero access."},{"n":3,"time":"Nov 2–3, 2026","short":"Nov 2–3","text":"Perplexity Computer flags burst and traces exposed attacker staging host","say":"Perplexity’s internal AI monitor flags the multi-account burst; defenders trace callbacks to an exposed staging server with 207 open ports and 10,000+ campaign files."},{"n":4,"time":"Nov 4, 2026","short":"Nov 4","text":"Agent logs reveal two other targets; Perplexity notifies Companies A and B","say":"Recovered workspaces show the same agent claiming AWS and Kubernetes credential access at two unnamed companies, though neither yielded target Bedrock access; Perplexity notifies both organizations on November 4."}],"stripRows":[{"id":"sr-px-op","nodeId":"px-op","lineStyle":"solid"},{"id":"sr-step-1","nodeId":"px-recon","step":1,"lineStyle":"solid","bpIds":["px-k1"]},{"id":"sr-step-2","nodeId":"px-ssrf","step":2,"lineStyle":"solid","bpIds":["px-k2"]},{"id":"sr-step-3","nodeId":"px-box","step":3,"lineStyle":"solid","bpIds":["px-d1"]},{"id":"sr-step-4","nodeId":"px-ca","step":4,"lineStyle":"none","companionNodeIds":["px-cb"],"bpIds":["px-k3"]}],"detectedAt":{"time":"Nov 2, 2026 (other victims notified Nov 4; disclosed Dec 2)","short":"Blocked Nov 2","text":"Perplexity Computer flagged the 48,000-request burst on November 2; all probes were blocked and the two unnamed victims found on the attacker’s staging box were notified November 4."}},"codeArtifacts":[{"id":"px-bedrock-scp","filename":"restrict-bedrock-invoke-scp.json","language":"json","description":"AWS Service Control Policy denying Amazon Bedrock model invocation from any IAM principal outside approved inference roles, stopping LLMjacking even if a dev or demo key leaks. Stops step 4.","code":"{\n  \"Version\": \"2012-10-17\",\n  \"Statement\": [\n    {\n      \"Sid\": \"DenyUnapprovedBedrockInvoke\",\n      \"Effect\": \"Deny\",\n      \"Action\": [\n        \"bedrock:InvokeModel\",\n        \"bedrock:InvokeModelWithResponseStream\",\n        \"bedrock:Converse\",\n        \"bedrock:ConverseStream\"\n      ],\n      \"Resource\": \"*\",\n      \"Condition\": {\n        \"StringNotLike\": {\n          \"aws:PrincipalArn\": [\n            \"arn:aws:iam::*:role/approved-inference-*\"\n          ]\n        }\n      }\n    }\n  ]\n}"},{"id":"px-imds-audit","filename":"audit-ec2-imdsv2.sh","language":"sh","description":"Read-only AWS CLI check listing any EC2 instances still allowing IMDSv1 (HttpTokens=optional) or metadata TTL greater than 1, which SSRF probes target first. Stops step 2.","code":"# List EC2 instances where IMDSv2 is not strictly required or metadata TTL exceeds 1\naws ec2 describe-instances \\\n  --query 'Reservations[].Instances[?MetadataOptions.HttpTokens!=`required` || MetadataOptions.HttpPutResponseHopLimit>`1`].[InstanceId,MetadataOptions.HttpTokens,MetadataOptions.HttpPutResponseHopLimit]' \\\n  --output table"}],"reproductionLab":{"title":"Reproduction lab","summary":"Verifies IMDSv2 enforcement across EC2 instances and audits CloudTrail for unexpected bedrock:InvokeModel calls or bursts of 404/403 API enumeration from rotating IPs.","bundleMeta":"AWS CLI audit checks, MIT license","safetyNote":"Read-only AWS API queries; changes no running instances or IAM policies.","commands":"# Inspect recent CloudTrail InvokeModel calls across principals\naws cloudtrail lookup-events \\\n  --lookup-attributes AttributeKey=EventName,AttributeValue=InvokeModel \\\n  --max-results 25 \\\n  --query 'Events[].{Time:EventTime,User:Username,IP:SourceIPAddress}' \\\n  --output table"},"iocs":[{"type":"log","value":"Cairn multi-agent harness signature (276 self-planned subtasks, 48k requests / 13 min, 200+ rps)","context":"Alert on newly created accounts firing thousands of distinct API route probes across rotating residential and cloud proxies."},{"type":"url","value":"https://www.perplexity.ai/hub/blog/how-perplexity-defended-against-an-autonomous-ai-attacker","context":"Primary victim-side postmortem published by Perplexity on December 2, 2026."}],"publishedAt":"2026-12-03T08:15:00Z","origin":"editorial"}}