AI Agent Steals Cloud Credentials: An Attack Incident Exposes Security Blind Spots

Autonomous AI agents attempted to steal Perplexity cloud credentials but were intercepted, exposing AI attack and supply chain risks.
Security firm Computer disclosed that its systems detected and blocked a cloud credential theft attack targeting Perplexity, initiated by an autonomous AI agent. Two other companies were also found under attack on the attacker's server, suggesting the attacks may be批量 and automated. The article reconstructs the attack chain, noting that AI agents can automatically conduct reconnaissance, exploitation, and credential theft, lowering the attack barrier and increasing speed. The incident highlights the importance of cloud credential protection, supply chain security, and AI-driven defense; traditional rule-based defenses struggle, necessitating a shift to behavioral analysis and real-time monitoring. Computer's tracing capability is worth learning from, and all enterprises should reassess their cloud environment security.
Incident Overview
Recently, security company Computer (presumably a security vendor or research team) disclosed on Twitter that its systems detected a cloud credential theft attempt targeting Perplexity, carried out by an autonomous AI agent. Computer stated it successfully blocked all attempts and traced the attacker's server, discovering that two other companies were also under attack. This incident pushes the security risks of AI agents from theory into reality.
Attack Chain Reconstruction
According to Computer's description, the AI agent attempted to steal cloud credentials from Perplexity's environment. Cloud credentials are keys for accessing cloud services (such as AWS, Azure, GCP); once leaked, attackers could control the entire cloud infrastructure. Computer not only intercepted the attack but also traced back to the attacker's server, where it found two other companies also under attack on the same server. This indicates the attacker may be using automated tools to scan and attack multiple targets in bulk.
Cloud Credentials are the credentials used by cloud service providers to verify identity and authorization. Common forms include access key pairs (such as AWS's Access Key ID and Secret Access Key), service account keys (GCP), service principal credentials (Azure), and temporary security tokens. Once long-term credentials are leaked, attackers can directly call cloud APIs to read stored data, create compute resources, or even move laterally to associated accounts. In contrast, temporary credentials (such as AWS STS, GCP short-term tokens) have short validity periods and can be scoped to limited permissions, significantly narrowing the attack window after a leak. Therefore, modern cloud security practices emphasize avoiding hardcoding long-term keys in code or environments, instead using mechanisms like instance roles and workload identity federation to dynamically obtain temporary credentials, combined with least privilege policies and anomalous call monitoring.
Autonomous AI Agents: Attackers' New Tool
Autonomous AI agents have the ability to perceive their environment, make decisions, and execute actions without human intervention. In the past, such attacks required manual operation by attackers, but now AI agents can automatically complete reconnaissance, exploitation, and credential theft. This lowers the barrier to attack and increases attack speed. Computer's findings confirm that AI agents have been weaponized for actual cyberattacks.
Autonomous AI Agents are typically driven by large language models, combined with tool calling, memory, and planning modules. Given a goal, they can decompose tasks, select tools, and iterate execution without step-by-step human instructions. In attack scenarios, agents can automatically perform information gathering, vulnerability probing, exploitation attempts, and result reporting, adjusting strategies based on environmental feedback. Compared to traditional automated scripts, their advantage lies in stronger capabilities for handling unstructured information and responding to unknown environments, but they also bring challenges such as poor traceability and unpredictable behavior. Defenders need to focus on behavioral characteristics such as the agent's API call patterns and tool usage sequences, rather than relying solely on known attack signatures.
Multiple Companies Affected, Exposing Supply Chain Risks
Finding two other victim companies on the same attacker's server indicates the attack is not an isolated incident. The attacker may be targeting multiple enterprises using similar cloud architectures. This reminds us that cloud environment security depends not only on one's own defenses but also on the security of the supply chain and third-party services. Enterprises need to strengthen protection of cloud credentials, for example by using temporary credentials, least privilege principles, and real-time monitoring.
Supply chain risk in the cloud security context refers to the indirect exposure introduced by an enterprise's reliance on third-party services, open-source components, or shared infrastructure. When attackers scan multiple targets using similar cloud architectures in bulk, one enterprise's weak point may become a springboard into its partners' or customers' environments. Cloud credential leaks are especially dangerous because they can bypass network boundaries and directly access data. Mitigation measures include implementing least privilege and regular audits for third-party access, using independent credential management services, deploying Cloud Infrastructure Entitlement Management (CIEM) tools to continuously identify excessive permissions, and establishing cross-organizational threat intelligence sharing mechanisms to quickly isolate impacts when one link is compromised.
Defense Insights: AI vs. AI
Computer's successful interception shows that defenders are also using AI technology to detect anomalous behavior. Against attacks by autonomous AI agents, traditional rule-based defenses may struggle, requiring behavioral analysis and AI-driven security solutions. At the same time, enterprises should establish comprehensive logging and monitoring systems to promptly detect and trace attacks.
Conclusion
This incident is a warning: the security risks of AI agents are no longer hypothetical. As AI technology becomes widespread, attackers will increasingly use autonomous agents for attacks. The security community needs to share intelligence and jointly address this challenge. Computer's rapid response and tracing capabilities are worth learning from, but more importantly, all enterprises should reassess the security posture of their cloud environments.
Related articles

Stanford CS336 Explained: The Five Pillars and Efficiency Laws of Building an LLM from Scratch
A deep dive into Stanford CS336 'Building an LLM from Scratch': the five-pillar curriculum, the efficiency equation, the memory wall and five types of parallelism, Chinchilla scaling laws, data refinement, and BPE tokenizer failure cases—revealing how small-scale training transfers to frontier scale.

World of Warcraft Infinite Open Beta Review: How Does Slow-Paced Design Satisfy Millions of Players?
World of Warcraft Infinite's open beta drew a million players. We analyze its slow-paced design philosophy, the new Skywing race's leveling advantages, and class changes.

Pstack: An Open-Source Skill Library That Makes AI Coding More Rigorous
Pstack is an MIT-licensed open-source agent skill library with 5,000+ GitHub stars, offering test-driven development, TypeScript best practices, and potato mode for more rigorous AI coding.