A real agent-on-agent security drill
Perplexity’s latest security post-mortem reads less like a conventional intrusion report and more like a preview of the next cloud-security operating model: one AI system probing for credentials at machine speed, another AI system helping defenders correlate the noise, harden controls and warn other victims. The company says that in late October and early November 2026, an attacker ran an autonomous LLM-driven agent against Perplexity infrastructure to harvest cloud and AI-service credentials, especially credentials that could invoke frontier models through Amazon Bedrock .
The campaign did not produce access to Perplexity’s internal services, private customer data or platform secrets, according to the company . But the shape of the attack matters. Perplexity says the rogue agent rotated disposable accounts and proxies, tested server-side URL-fetching endpoints for SSRF, swept object storage and API paths, and attempted privilege escalation . At its peak on November 2, the probing reached about 48,000 requests in 13 minutes, a burst that compressed what would once have been days of manual reconnaissance into a few minutes of automated trial and error .
BleepingComputer, which covered the report on December 2, described the incident as an unsuccessful attempt to obtain cloud credentials that would give access to advanced AI models through Amazon Bedrock . TechCrunch highlighted the unusual visibility Perplexity gained after finding an exposed attacker server, saying the company obtained a detailed view of the campaign and of similar activity against at least two other unnamed companies .
What the attacker was after
The target was not a generic database dump. Perplexity says the recovered workspaces showed a common objective across three targets: obtain an AWS access key pair or service token capable of invoking two latest-generation frontier models via Amazon Bedrock . Amazon Bedrock is AWS’s managed service for accessing AI models from Amazon and other providers, which makes valid credentials especially attractive: a stolen key can become a gateway to high-value model access, cloud spend, data flows and follow-on abuse .
The attacker’s workflow, as reconstructed by Perplexity, looked methodical. The agent searched certificate-transparency logs, passive DNS sources and web archives to discover hosts, then mined repositories, Git history, package releases, container layers, Hugging Face repositories and application builds for secrets . It also filtered potential credentials before validation, requiring complete key material rather than testing fragments blindly . When public sources did not yield enough, the agent moved into authenticated access by automating disposable signups and then probing connectors, MCP-style interfaces, secret stores and compute workloads .
That sequence is important because it shows how AI agents change the economics of credential hunting. A human operator does not need to manually enumerate every fork, package, endpoint or redirect trick. The operator can provide a goal, and the harness can decompose it into tasks, record facts, abandon dead ends and launch new subtasks. In one recovered Company A graph, Perplexity says a bootstrap task led the worker agent to create 276 subsequent tasks on its own, with up to 14 tasks running simultaneously over 19.5 hours .
The controls that held
The defensive lesson is not that Perplexity found a magic AI shield. It is that layered, sometimes unglamorous controls still mattered. Perplexity says outbound URL validation and authorization checks stopped attempts to reach internal services, metadata endpoints, private objects and other users’ data . The company also says its Perplexity Computer agent platform flagged the probing in application logs, grouped disposable accounts by shared signals such as source IPs, email domains and callback hosts, and escalated the activity to the security team .
Perplexity then used Computer for response work, not just alerting. According to the company, the agent helped monitor recent logs for newly rotated infrastructure, draft hardening changes for targeted code paths, and compile technical reports and indicators for two other companies that appeared in the attacker’s exposed files . Perplexity says it notified both companies on November 4 while the operations were still active .
That is the agent-versus-agent angle. The attacker’s autonomy increased the speed and breadth of reconnaissance; the defender’s agent helped compress triage, correlation and reporting. Neither side was fully independent of humans, but both sides used AI to alter timing. In security operations, timing is often the difference between a blocked probe and a breach.
The caveat is also important. Perplexity says its view of the two other companies partly came from the attacking agent’s own compressed “facts,” and agents can misread responses or overstate partial access . BleepingComputer reported the same caution, noting that Perplexity did not claim those third-party observations were independently verified to the same level as its own telemetry . That restraint is a useful reminder: autonomous systems can accelerate both attack execution and incident storytelling, and defenders need to separate logs, claims and confirmed impact.
Cloudflare’s Varlock move fits the same pattern
The Perplexity incident landed the same week Cloudflare announced that Varlock, an open-source toolkit for managing environment variables and secrets, is joining Cloudflare . The timing is notable because Varlock addresses the same weak point from the developer side: agents increasingly need to read repositories, configure applications and call tools, but traditional.env files and scattered secrets were not designed for autonomous software assistants.
Cloudflare says Varlock will remain open source under the MIT license and vendor-neutral, while work that might have gone into a hosted Varlock service will instead feed Cloudflare Secrets Store and broader configuration and secret handling across Cloudflare’s platform . Varlock replaces loose.env examples with a committed.env.schema that describes required variables, types and sensitive values while loading real secrets from external vaults or encrypted local files . In Cloudflare’s framing, that gives both humans and AI agents a safer way to interact with environment configuration without exposing raw values .
The Next Web reported that Cloudflare bought Varlock for undisclosed terms and positioned the deal as a way to keep AI coding agents from seeing secrets while still allowing them to work on applications . It also noted that the tool will stay MIT-licensed and that the team intends for.env.schema to become a broader open standard rather than a Cloudflare-only convention .
Together, the Perplexity and Cloudflare developments show two sides of the same security transition. Perplexity’s attacker hunted for Bedrock-capable credentials across code, infrastructure and application surfaces. Varlock’s design tries to reduce the chance that agents, humans or repositories expose those credentials in the first place. One is incident response after an agent is already knocking on the door; the other is development hygiene before credentials leak into the reachable world.
The new baseline: identity, least privilege and machine-speed response
The practical takeaway is not “ban agents.” That would miss how deeply they are entering software work. The takeaway is that agents need the same security design as any powerful non-human actor: scoped identity, auditable actions, least-privilege access, credential brokering, short-lived tokens, approval boundaries and fast revocation. Cloudflare explicitly says secrets management, identity and access must be rethought for the agentic era, including bot identity, OpenID Connect flows, stronger boundaries and human-in-the-loop approvals .
Perplexity’s case also shows why cloud credential controls need to assume continuous probing. The attacker did not merely send one exploit and stop. It moved across SSRF variants, API-route guesses, object-key enumeration, cross-tenant access attempts and account rotation . When rate limits or access controls blocked one route, the agent tried another. Skynet met a rate limiter, but it also met connection-time validation, authorization checks, telemetry correlation and incident responders using their own agent.
The story is therefore bigger than one blocked Perplexity campaign or one Cloudflare acquisition. It marks a shift from defending against scripts to defending against systems that can plan, branch and persist. The companies that fare best will not be those that simply add AI to security dashboards. They will be the ones that remove unnecessary long-lived secrets, narrow what agents can touch, validate every internal boundary, and use defensive automation to match offensive speed.
For now, Perplexity says the attacker left without its Bedrock keys, and Cloudflare is folding Varlock into a broader push to make secrets harder for agents to mishandle . That is a useful win. It is also an early warning: the next credential hunt may be faster, quieter and less conveniently exposed.


Comments
Be the first to comment.