All Posts Next

The Perplexity autonomous AI attack was an attempt by an AI-driven hacking agent to steal cloud credentials for advanced AI models, and it shows what regulated businesses now face.

Perplexity published its own incident report, and BleepingComputer covered it in an article titled Autonomous AI attack targeted Perplexity to steal cloud credentials. The campaign matters to any organization in a regulated industry: it is one of the first well-documented cases of an autonomous AI agent probing a production platform at scale, and its objective was not data destruction or ransom. It was credential theft aimed at gaining access to latest-generation AI models through Amazon Bedrock, the AWS service that provides API access to AI models from Amazon and other AI companies.

Key Takeaways

  • An autonomous AI hacking agent targeted Perplexity beginning in late October, running for approximately two weeks, in an attempt to steal cloud credentials or service tokens that could access two unnamed, latest-generation AI models through Amazon Bedrock.
  • Perplexity's existing security controls blocked the attacks, and the company states the campaign did not result in access to internal services, private customer data, or platform secrets.
  • At its peak, the attack generated approximately 48,000 requests in 13 minutes, targeting 28,000 potential API endpoints and reaching more than 200 requests per second.
  • Investigating the campaign led Perplexity to an exposed attacker server with 207 open ports and 29 web servers exposing unauthenticated directory listings to more than 10,000 files, including active attack workspaces apparently targeting two other companies.
  • Perplexity cautions that its findings about the other organizations come from the AI agent's own recorded observations, which could misinterpret responses or overstate the extent of the breaches.

What happened: the facts in detail

The campaign begins

According to Perplexity's report, the attacks against its infrastructure began in late October and continued for approximately two weeks. The campaign was detected on November 2 by Perplexity Computer, the company's AI agent platform, which identified newly registered accounts probing APIs and features that retrieve content from external URLs.

What the agent did

The attacker conducted server-side request forgery (SSRF) attacks in an attempt to access AWS metadata services and internal systems. The agent also attempted to enumerate cloud storage for sensitive files, discover API endpoints, escalate privileges, and access other customers' data.

To evade rate limits and blocks, the attacker utilized more than 40 accounts registered with disposable email addresses and approximately 290 residential and cloud proxy IP addresses. The volume was significant: at its peak, the attack generated approximately 48,000 requests in 13 minutes, targeting 28,000 potential API endpoints and reaching more than 200 requests per second.

The objective

Across all three attacks, the objective was to obtain cloud credentials or service tokens capable of accessing two unnamed, latest-generation AI models through Amazon Bedrock. The AI agent searched public code repositories, Git history, software packages, container images, and applications for exposed credentials. When those searches failed, the agent registered disposable accounts to gain authenticated access to targeted platforms and search for credentials there.

Perplexity's response

Perplexity says its existing security controls blocked the attacks, preventing access to internal services, private customer data, or platform secrets. The company does not describe in detail which specific controls detected or stopped each stage of the campaign, so readers should be careful about assuming any single defense was decisive.

The exposed attacker server

While investigating the campaign, the security team discovered that several of the probes pointed to an external server used by the attacker to stage payloads and receive responses. Perplexity described the discovery this way:

"We went looking for copper and found gold: the scan turned up 207 open ports, nearly all running ad-hoc Python HTTP services spun up for individual attack steps."

Of those ports, 29 exposed web servers with unauthenticated directory listings that allowed access to more than 10,000 files used by the attacker, including custom scripts, logs, and active attack workspaces targeting two other companies.

The tooling: Cairn

The exposed files revealed that the attacker was using Cairn, an open-source penetration testing tool that coordinates AI agents to autonomously perform cybersecurity tasks based on a goal supplied by an operator. As previously reported by BleepingComputer, threat actors have already abused Cairn to discover and exploit a zero-day vulnerability to gain root access to a server.

The other two companies

Perplexity's investigation of the exposed files indicated that at one of the other companies, the agent reportedly discovered exposed credentials that allowed it to gain administrative control of a customer's workspace, access internal systems, and obtain AWS credentials. At the second unnamed company, the agent reportedly breached a demo environment, established persistent access, and collected sensitive data, including password stores, Kubernetes secrets, and AWS credentials.

However, neither intrusion yielded credentials that allowed the attacker to access the targeted AI models through Amazon Bedrock. Perplexity notified both companies on November 4, while the attacks were still underway.

How the agent operated independently

The attacker's files and scripts showed how the agent can operate independently, changing its approach when encountering roadblocks. In one campaign, the agent created 276 additional tasks over 19.5 hours, with up to 14 running simultaneously. Perplexity summarized the pattern in one sentence: "This incident shows what an autonomous AI attack looks like in action: one operator prompt, hundreds of self-directed tasks, and probing that adapts every time a request fails."

Why the Perplexity autonomous AI attack matters technically

The Perplexity autonomous AI attack is worth close study because it changes the economics and the tempo of intrusion attempts.

First, consider the cost asymmetry. The attacker registered more than 40 disposable accounts and routed traffic through approximately 290 residential and cloud proxy IP addresses. Those are cheap resources. The defender, meanwhile, had to detect anomalous behavior across 28,000 potential API endpoints under load that reached more than 200 requests per second. An attack of this shape is inexpensive to launch and expensive to investigate, which is a reversal of the traditional calculus that favored defenders who simply had to raise the attacker's cost.

Second, consider the adaptation loop. The agent did not run a fixed script. The evidence Perplexity reviewed showed it creating 276 additional tasks over 19.5 hours, with up to 14 running simultaneously, and changing its approach when it hit roadblocks. When direct credential searches in public code repositories, Git history, software packages, container images, and applications failed, it pivoted to registering disposable accounts for authenticated access. That kind of goal-directed persistence has historically required a human operator making decisions at each step. Here, the files indicate a single operator prompt initiated the work.

Third, consider what was targeted. The prize was not customer records or payment data. It was cloud credentials and service tokens that would unlock access to two latest-generation AI models through Amazon Bedrock. That tells you something about where attackers see value forming. Access to premium AI capacity is becoming an asset worth stealing in its own right, and the credentials that grant that access live in the same cloud environments, CI/CD pipelines, and code repositories that businesses already struggle to inventory. Organizations thinking about how autonomous agents change their attack surface will find our overview of Zero-Trust AI: How to Secure Autonomous Agents in the Modern Enterprise a useful starting point, and our Cloud Security Posture Management practice addresses the exposed-credential problem the agent specifically hunted for.

Fourth, consider the detection story. The campaign was caught by Perplexity Computer, the company's own AI agent platform, which flagged newly registered accounts probing URL-retrieval features. That detail matters for defenders: the tell was not a single malicious request but a pattern of behavior across accounts, endpoints, and timing. Detecting that pattern requires correlating signals across identity, API activity, and network behavior, which is the core of what modern managed detection and response services are built to do.

Finally, note the SSRF angle. Server-side request forgery attempts aimed at cloud metadata services are a well-known technique for harvesting credentials from cloud workloads. What is new is that an autonomous agent can now chain that technique with endpoint discovery, privilege escalation attempts, and tenant boundary probing without waiting for a human to direct each move. Our analysis of the first complete LLM-driven ransomware attack described an earlier version of this shift; the Perplexity case shows the same pattern applied to credential theft against a hardened target.

What the evidence does and does not show

It is important to read this report with precision about what is established and what is not.

What is established. Perplexity directly observed the attacks against its own infrastructure: the timing, the request volumes, the account and proxy counts, the SSRF attempts, and the endpoint enumeration. It also directly observed the exposed attacker server, the 207 open ports, the 29 web servers with unauthenticated directory listings, the more than 10,000 files, and the use of Cairn. Those findings come from Perplexity's own telemetry and investigation.

What is reported but not confirmed. The findings about the two other companies are different in kind. Perplexity cautions that they are based on the AI agent's own recorded observations, which could misinterpret responses or overstate the extent of the breaches. In other words, the claim that one company's customer workspace was taken over with administrative control, or that the other suffered a demo environment breach with persistent access and collection of password stores, Kubernetes secrets, and AWS credentials, rests on what the attacking agent wrote about itself. That is a meaningful evidentiary distinction. An agent's logs are not an independent forensic verification, and neither company has been named.

What is still unknown. Several questions remain open. The attacker has not been identified, and the sources do not attribute the campaign to any actor or motive beyond the stated objective of obtaining Bedrock credentials. It remains unclear what the attacker intended to use the AI models for. The sources also do not describe which specific defensive controls stopped each stage of the attack against Perplexity, so other organizations cannot yet conclude which single control would have been sufficient on its own. And while the campaign against Perplexity was blocked, the sources do not state whether the two other companies' reported intrusions have been fully remediated.

What should not be concluded. It would be a mistake to read this as proof that AI-driven attacks defeat modern defenses. The campaign against Perplexity failed. It would be equally a mistake to treat it as a curiosity. The same tooling, Cairn, has previously been abused to exploit a zero-day for root access on a server, and the exposed workspaces show the method being applied to multiple targets at once. The honest reading is narrower and more useful: autonomous AI agents can now run multi-week, adaptive intrusion campaigns at high volume from a single operator prompt, the defenses that stopped this one were layered controls plus behavioral detection rather than any single gate, and the credentials attackers want most are increasingly the ones that unlock AI capacity itself.

In Part Two of this analysis, we will look at what this campaign means specifically for regulated businesses and what practical steps close the gaps this attacker hunted for.

Compliance and Risk Implications for Regulated Organizations

The Perplexity autonomous AI attack is not just a security story. It is a compliance story, because the attack pattern it documents maps directly onto obligations that regulated businesses already carry. If an autonomous agent probed your APIs the way one probed Perplexity's, starting in late October and continuing for approximately two weeks, would your controls detect it, and could you document what happened? BleepingComputer's report describes a campaign that generated approximately 48,000 requests in 13 minutes at its peak, targeting 28,000 potential API endpoints and reaching more than 200 requests per second. That is machine-paced activity, and it stresses detection, response, and documentation requirements that were written with human adversaries in mind.

For defense contractors, the connection is explicit. NIST SP 800-171's Incident Response family requires an operational incident handling capability and the tracking, documenting, and reporting of incidents. A probing campaign like this one, even if blocked, is an incident you would need to detect, track, and document. DFARS 252.204-7012 goes further: it requires reporting a cyber incident affecting covered defense information to DoD within 72 hours of discovery via dibnet.dod.mil, using a DoD-approved medium assurance certificate obtained in advance. You cannot obtain that certificate in the middle of an incident. After a reported incident, affected system images and monitoring data must be preserved for at least 90 days. An attack that ran for two weeks across more than 40 accounts and approximately 290 residential and cloud proxy IP addresses is exactly the kind of event those preservation requirements anticipate.

For healthcare organizations, the HIPAA Security Rule at 45 CFR Part 164 requires a Risk Analysis under 45 CFR 164.308(a)(1)(ii)(A), and the Breach Notification Rule at 45 CFR 164.404, 164.406, and 164.408 sets out notification duties when protected health information is compromised. The Perplexity campaign targeted cloud credentials and service tokens capable of accessing AI models through Amazon Bedrock. In a healthcare environment, credentials with broad cloud access are frequently the same credentials that sit near systems holding electronic protected health information. IBM's 2025 Cost of a Data Breach report found that 16% of breaches involved attacker use of AI and 20% involved shadow AI, and that the average healthcare breach costs $6.64M according to IBM's 2026 figure. Those numbers describe a threat model that now includes autonomous agents.

For organizations subject to PCI DSS, the story raises a different question: what is in your cardholder data environment's blast radius? The agent in this campaign searched public code repositories, Git history, software packages, container images, and applications for exposed credentials, then registered disposable accounts to gain authenticated access when those searches failed. PCI DSS v4.0.1 covers 12 control areas across cardholder data environments, and credential hygiene, secrets handling, and access control sit inside that scope.

There is also a governance lesson in how the campaign ended. Perplexity's existing security controls blocked the attacks, preventing access to internal services, private customer data, or platform secrets. The company then went further: its investigation traced probes to an external server, found 207 open ports running ad-hoc Python HTTP services, and identified 29 web servers with unauthenticated directory listings exposing more than 10,000 files, including active attack workspaces targeting two other companies. Perplexity notified both companies on November 4, while the attacks were still underway. That sequence, detection, investigation, third-party notification, is incident response done well, and it is what NIST SP 800-61 Rev. 3 describes when it frames incident response as part of cybersecurity risk management aligned to the NIST Cybersecurity Framework 2.0 functions. CISA's Cross-Sector Cybersecurity Performance Goals 2.0 make the same point from the defensive side, offering a prioritized baseline of practices with high-impact security outcomes for organizations of any size.

What This Means for Regulated Industries

Defense contractors

The objective across all three attacks in this campaign was to obtain cloud credentials or service tokens capable of accessing two unnamed, latest-generation AI models through Amazon Bedrock. That is the lesson for the defense industrial base: your cloud credentials are now a target in their own right, not merely a path to data. Under DFARS 252.204-7012, a cloud service provider handling covered defense information must meet security requirements equivalent to the FedRAMP Moderate baseline, and DoD CIO FAQ clarifications state that encrypted CUI is still CUI and still needs FedRAMP Moderate or equivalency even in a cloud. If your organization is experimenting with AI services, the credentials that reach those services need the same boundary discipline as the systems that hold CUI. A current NIST SP 800-171 self-assessment score posted to SPRS, with the score ranging from minus 203 to 110, is required under DFARS 252.204-7019; an autonomous attack campaign that probes for exposed credentials is a concrete reason to know that score and close the gaps behind it. Contractors preparing for CMMC Level 2, which assesses the 110 security requirements of NIST SP 800-171 under 32 CFR Part 170, should treat agent-driven probing as a scenario their incident response plan explicitly addresses.

Healthcare

Healthcare organizations hold credentials to cloud environments that contain protected health information, and the agent in this campaign reportedly collected password stores, Kubernetes secrets, and AWS credentials at one of the targeted companies. Perplexity cautions that its findings regarding the other organizations are based on the AI agent's own recorded observations, which could misinterpret responses or overstate the extent of the breaches, so the details should be read with that caveat. Even so, the pattern is instructive: a demo environment was reportedly breached, persistent access was established, and sensitive data was collected. Healthcare environments are full of demo, test, and staging systems that mirror production data. The HIPAA Security Rule's risk analysis obligation applies to those systems too if they touch ePHI. Business associates accounted for about 66% of breached healthcare records in 2024, which means your vendor's cloud credentials are part of your risk surface, and HHS OCR enforcement actions, including a Children's Hospital Colorado civil money penalty of $548,265 in December 2024 where MFA was disabled, show that access control failures carry real financial consequences.

Legal

Law firms handle client confidences, and the attack technique described here, enumerating cloud storage for sensitive files and searching Git history and container images for exposed credentials, is a technique that would work against any organization whose developers and staff leave secrets in code repositories and collaboration platforms. Firms adopting AI research tools and cloud practice management systems should assume that an autonomous agent could register disposable accounts, probe externally reachable features, and attempt server-side request forgery attacks against metadata services, exactly as the agent did against Perplexity. The practical question for firm leadership is whether anyone has inventoried which AI tools and cloud services hold client material, and whether credentials to those systems are scoped so that one stolen token does not open everything.

Financial services

Financial institutions face the same credential-targeting pattern with higher stakes, because cloud environments in finance often connect customer data, transaction systems, and analytics platforms. The agent's behavior, creating 276 additional tasks over 19.5 hours with up to 14 running simultaneously in one campaign, and changing its approach when it encountered roadblocks, means static quarterly reviews will not keep pace. Institutions should map which identities, human and non-human, hold access to which cloud services, and should verify that their monitoring would catch account registration bursts and endpoint enumeration at the scale Perplexity observed. The Verizon 2025 DBIR found that third-party involvement in breaches rose from 15% to 30%, and an autonomous agent that moves laterally through cloud services is a third-party risk in motion.

An Action Plan for This Month

Each step below is something a security or IT leader can start now, based on what this campaign actually demonstrated.

  1. Inventory every AI service your credentials can reach. The objective in this campaign was credentials for AI models through Amazon Bedrock. List which AI platforms, model APIs, and agent tools your cloud identities can access, and treat that list as a privileged access inventory.
  2. Hunt for exposed credentials where the agent hunted. The agent searched public code repositories, Git history, software packages, container images, and applications. Run the same search against your own repositories and registries, and rotate anything found.
  3. Review externally reachable API endpoints. The campaign targeted 28,000 potential API endpoints. Enumerate which of your API endpoints and URL-fetching features are reachable by authenticated free-tier or trial accounts, since the attacker used more than 40 accounts registered with disposable email addresses.
  4. Test for SSRF exposure. The agent conducted server-side request forgery attacks attempting to access AWS metadata services and internal systems. Verify that metadata services on your cloud instances are not reachable from user-supplied URL handling, and that instance metadata protections are enabled where your cloud offers them.
  5. Find your demo and staging environments. At one targeted company, the agent reportedly breached a demo environment and established persistent access. Inventory every non-production system, confirm it does not hold real data or production credentials, and isolate or decommission the ones that do.
  6. Confirm your incident response plan covers machine-paced attacks. NIST SP 800-61 Rev. 3 aligns incident response with the NIST Cybersecurity Framework 2.0 functions. Walk through your plan against a scenario of 48,000 requests in 13 minutes and ask who decides what, how fast, and with what evidence trail.
  7. Verify your regulatory reporting readiness. If you are a defense contractor, confirm you hold the DoD-approved medium assurance certificate needed to report via dibnet.dod.dod.mil under DFARS 252.204-7012 before you need it, and that your team knows the 72-hour reporting window. If you are a healthcare entity, confirm your breach notification decision process under 45 CFR 164.404, 164.406, and 164.408 has named owners.
  8. Check your evidence preservation capability. DFARS 252.204-7012 requires preserving affected system images and monitoring data for at least 90 days after a reported incident. Confirm your logging retention actually supports that, and that logs would survive an attacker with cloud credentials.
  9. Assign ownership for AI agent and non-human identities. The attacker's files showed an agent operating independently, adapting when blocked. Every AI agent and service identity in your environment should have a named owner and a documented scope of access, so that anomalous behavior has someone accountable to notice it.
  10. Rehearse before the real event. Perplexity detected this campaign on November 2 because its AI agent platform flagged newly registered accounts probing APIs. Run a tabletop based on this scenario and measure how long detection would take in your environment, not in someone else's.

How Petronella Technology Group, Inc. Helps

Petronella Technology Group, Inc. works with regulated businesses and defense contractors on exactly the problems this story exposes: credential-focused attack paths, cloud security posture, incident response readiness, and AI governance.

On detection and response, our managed detection and response service combines 24/7 threat monitoring, AI-powered analytics, and human-led investigation, integrating coverage across Microsoft 365, Azure, AWS, and Google Workspace to detect unauthorized access, configuration drift, impossible travel, and suspicious API activity. The AI-augmented hybrid SOC runs ten-plus production AI agents on our private AI cluster, with guardrails that matter in this context: the AI never closes a ticket on its own, never touches production systems without human authorization, and every action is logged for CMMC and HIPAA audit. That is what governed autonomous AI looks like in practice, and it is the contrast point for the ungoverned agent in this attack. Reporting is designed to provide the evidence auditors need for HIPAA, CMMC, PCI DSS, SOC 2, and NIST 800-171 verification.

On the compliance side, our compliance practice maps incident response, access control, and cloud requirements to CMMC, NIST SP 800-171, HIPAA, and other frameworks, and our cybersecurity assessment services establish a current-state baseline.

Related reading

Sources

Frequently Asked Questions

Was Perplexity breached in the autonomous AI attack?

Perplexity says its existing security controls blocked the attacks, preventing access to internal services, private customer data, or platform secrets. The company's report describes the campaign as unsuccessful against its infrastructure, though the investigation did uncover an exposed attacker server showing evidence of successful breaches at two other unnamed companies.

What was the attacker trying to steal?

Across all three attacks, the objective was to obtain cloud credentials or service tokens capable of accessing two unnamed, latest-generation AI models through Amazon Bedrock, an AWS service that provides API access to AI models. What the attacker intended to use the AI models for remains unclear.

What is Cairn, the tool used in the attack?

Cairn is an open-source penetration testing tool that coordinates AI agents to autonomously perform cybersecurity tasks based on a goal supplied by an operator. BleepingComputer has previously reported that threat actors have already abused Cairn to discover and exploit a zero-day vulnerability to gain root access to a server.

Were the other two companies actually breached?

Perplexity's report says the agent reportedly discovered exposed credentials at one company, gaining administrative control of a customer's workspace and obtaining AWS credentials, and reportedly breached a demo environment at a second company, collecting password stores, Kubernetes secrets, and AWS credentials. Perplexity cautions that these findings are based on the AI agent's own recorded observations, which could misinterpret responses or overstate the extent of the breaches, and that neither intrusion yielded credentials allowing access to the targeted AI models through Amazon Bedrock.

How fast did the autonomous agent operate?

At its peak, the attack generated approximately 48,000 requests in 13 minutes, targeting 28,000 potential API endpoints and reaching more than 200 requests per second. In one campaign, the agent created 276 additional tasks over 19.5 hours, with up to 14 running simultaneously, changing its approach when it encountered roadblocks.

What should a regulated business do first after reading this story?

Start with credentials: inventory which identities can reach your AI services and cloud environments, and search your code repositories and container images for exposed secrets, because that is where the agent looked first. Then confirm your incident response plan and reporting mechanisms could handle a machine-paced campaign, since frameworks like NIST SP 800-171 and DFARS 252.204-7012 impose specific detection, documentation, and reporting obligations.

If this story raised questions about your organization's exposure, call Penny, our AI assistant, at 919-348-4912 to book a consultation with Petronella Technology Group, Inc., or reach us through our contact form.

Talk to a specialist today. Call Penny, the AI assistant for Petronella Technology Group, Inc., at 919-348-4912 to book a consultation, or send us the details through our contact form.

Free online course from the Petronella Technology Group, Inc. Training Academy

Getting Started with Claude Code

Your first AI coding session in 90 minutes.

Price: Free

Start the free course Claude Code Mastery ($79)

Get the 2026 Cybersecurity Survival Guide

Free, practical, and specific to regulated environments. We will email it to you.

No spam. Unsubscribe anytime.

Need help implementing these strategies? Our cybersecurity experts can assess your environment and build a tailored plan. Prefer to write? Send us a message.
Call Penny 919-348-4912

About the Author

Craig Petronella, CEO and Founder of Petronella Technology Group
CEO, Founder & AI Architect, Petronella Technology Group

Craig Petronella founded Petronella Technology Group in 2002 and has spent 30+ years professionally at the intersection of cybersecurity, AI, compliance, and digital forensics. He holds the CMMC Registered Practitioner credential issued by the Cyber AB and leads Petronella as a Cyber AB Registered Provider Organization (RPO #1449). Craig is an NC Licensed Digital Forensics Examiner (License #604180-DFE) and completed MIT Professional Education programs in AI, Blockchain, and Cybersecurity. He also holds CompTIA Security+, CCNA, and Hyperledger certifications.

He is an Amazon #1 Best-Selling Author of 15+ books on cybersecurity and compliance, host of the Encrypted Ambition podcast (95+ episodes on Apple Podcasts, Spotify, and Amazon), and a cybersecurity keynote speaker with 200+ engagements at conferences, law firms, and corporate boardrooms. Craig serves as Contributing Editor for Cybersecurity at NC Triangle Attorney at Law Magazine and is a guest lecturer at NCCU School of Law. He serves as a digital forensics expert witness for law firms on matters involving cybercrime, cryptocurrency fraud, SIM-swap attacks, and data breaches.

Under his leadership, Petronella Technology Group has served hundreds of regulated SMB clients across NC and the southeast since 2002, earned a BBB A+ rating every year since 2003, and been featured as a cybersecurity authority on CBS, ABC, NBC, FOX, and WRAL. The company leverages SOC 2 Type II certified platforms and specializes in AI implementation, managed cybersecurity, CMMC/HIPAA/SOC 2 compliance, and digital forensics for businesses across the United States.

CMMC-RP NC Licensed DFE MIT Certified CompTIA Security+ Expert Witness 15+ Books
Related Service
Protect Your Business with Our Cybersecurity Services

Our proprietary 39-layer ZeroHack cybersecurity stack defends your organization 24/7.

Explore Cybersecurity Services
All Posts Next
Questions about this topic? Talk to our team. Call Penny 919-348-4912 Message us