How AI Agents Are Transforming Cyberattacks, Cyber Defense, and Modern Warfare
In 2027, artificial intelligence will be more than a feature in cybersecurity. It will increasingly shape how attacks are carried out, how defenders respond and how organizations manage the systems acting on their behalf. AI agents can already be given access to data, software tools and accounts so they can carry out tasks with limited supervision. That makes them useful—and creates new ways for attackers to cause harm.
The risks also reach beyond corporate networks. Militaries use AI to analyze intelligence, support decisions, conduct cyber operations and manage logistics. As AI becomes part of military operations, the same questions facing cybersecurity teams—who controls an agent, what can it do, and how can its actions be reviewed?—take on life-and-death importance.
The evidence from 2026 points to a shift from AI as an assistant toward AI as an operator. But fully autonomous attacks remain uncommon, and an AI system’s output is not automatically reliable. The central challenge for 2027 is to gain speed without giving up meaningful human judgment and accountability.
The attack side: familiar threats at machine speed
AI has not yet invented a wholly new class of cyberattack. It is making familiar ones faster, cheaper and harder to recognize. Recorded Future analyzed 103 AI-enabled incidents between July 2025 and July 2026. Many involved supply-chain compromise, phishing and extortion; fully autonomous attacks were still rare.
The direction of travel is toward more automation:
- AI-supported espionage. In September 2025, Chinese state-sponsored actors tracked as GTG-1002 used Claude Code to assist with reconnaissance, exploitation, lateral movement and data theft, according to reporting on the incident.
- Agent-run ransomware. The JadePuffer campaign, disclosed in July 2026, used an LLM-driven agent for much of an intrusion. It entered through an older flaw in the Langflow agent framework and ended with database encryption.
- Multi-agent operations. Recorded Future documented a government-targeted campaign involving as many as eight AI agents with limited human involvement.
Three consequences stand out for 2027:
- The patch window is shrinking. Attackers are finding and exploiting vulnerabilities faster. Organizations may have less time to respond, and some flaws may be exploited before a patch is available.
- Smaller targets become viable. Automation lowers the cost of attacks, making it easier to target smaller organizations as well as major platforms and identity providers.
- Attackers may target decisions, not just data. If an organization relies on autonomous agents, poisoned information or compromised instructions could lead those agents to make harmful choices at scale. Model weights, prompt libraries and computing resources may also become targets.
Automation does not guarantee competence. In the JadePuffer incident, the agent reportedly made errors in its ransom note and in parts of the encryption and data-theft process. Mistakes can expose an attack, but they can also make it difficult to predict what an agent will do next.
The defense side: from alert queues to agent fleets
Defenders are responding to machine-speed attacks with automation of their own. AI systems can help sort alerts, investigate suspicious activity, identify software flaws and recommend fixes. But the speed of detection does not solve the problem if organizations cannot verify and remediate findings quickly.
Mandiant’s average time-to-exploit fell from 63 days in 2018 to negative seven days in its 2026 M-Trends report, meaning attackers often began exploiting vulnerabilities before a patch was available. Meanwhile, defenders still needed about 55 days to patch half of their critical flaws, according to the Cloud Security Alliance.
AI is also changing vulnerability discovery. Anthropic’s Claude Mythos Preview, made available to selected defenders through Project Glasswing, reportedly found thousands of high-severity flaws. In the DARPA AI Cyber Challenge, finalists found 18 real zero-day vulnerabilities in 54 million lines of open-source code and patched 11.
Security operations centers are adopting AI as well. A 2026 Tines survey of more than 1,800 practitioners found that 99% of respondents’ SOCs used AI. Google Cloud predicts that agents will increasingly enrich and correlate alerts, giving analysts investigated findings instead of long queues of raw alerts.
That does not mean every security decision should be handed to software. Practitioners remain divided on how much authority agents should receive. A practical standard is to make automated actions explainable, traceable and reversible. An agent that can disable an account or isolate a system should have clear limits and a fast path for human review.
The new attack surface: agents themselves
The biggest new risk may be the AI agents organizations deploy. Agents can hold credentials, read messages and documents, use software tools and take actions. Each one should therefore be treated as a privileged identity—not as a harmless chatbot.
Prompt injection is one major concern. An agent may encounter hostile instructions in a web page, document or email and mistake them for trusted directions. That can expose data or trigger an action the organization did not intend. OWASP’s Top 10 for Agentic Applications identifies prompt injection and other risks tied to how agents access information and use tools.
The AI supply chain is another target. In March 2026, a backdoored release of LiteLLM, a model gateway used by agent frameworks, was reportedly available on PyPI for about three hours and received nearly 47,000 downloads. The release was pushed by an autonomous bot after a publishing token was stolen. That incident shows how an attack on a single credential or software component can spread into tools used by many organizations.
Agent sprawl creates a related governance problem. Employees may build or deploy agents without their security teams knowing. Organizations need to know which agents exist, who owns them, what data they can access and what actions they are allowed to take. Give every agent a distinct identity, limit its permissions and review its access regularly.
AI agents and the use of AI in war
AI agents raise an additional set of concerns when used in military settings. An agent might be used to gather and summarize intelligence, monitor systems, support logistics or assist with cyber operations. More broadly, AI tools can help military personnel analyze large volumes of information and support decisions. These applications do not all involve weapons, and AI use in warfare is not synonymous with autonomous weapons.
The distinction matters. An AI system that summarizes intelligence for a human decision-maker is different from a weapon system that can identify and engage a target without further human intervention. But both can affect decisions under pressure, and a chain of automated recommendations may influence what people see, how quickly they act and which options seem available.
The International Committee of the Red Cross warns that military AI could accelerate the pace and scale of conflict, make outcomes less predictable and reduce human control over the use of force. It also notes that systems can be manipulated or fail in adversarial conditions, and that people may over-trust machine-generated recommendations. International humanitarian law continues to apply: parties to a conflict must distinguish civilians from combatants, avoid disproportionate civilian harm and take feasible precautions. ICRC
The risks are especially serious if agents are connected to weapons, targeting workflows or critical military networks. An incorrect classification, misleading data or compromised system could contribute to a harmful decision. The United Nations has called for human judgment and control over the use of force, and says existing international law applies to autonomous weapon systems. United Nations
This is also a cybersecurity issue. Military AI systems depend on software, data, communications and credentials. If those components are compromised, the result could include manipulated analysis, disrupted operations or an agent taking actions outside its intended role. The same basic security principles apply: restrict access, test systems under realistic conditions, preserve audit trails and ensure people can intervene.
AI may help military personnel process information more quickly. But speed alone is not a measure of sound judgment. Decisions involving the use of force require context, accountability and human responsibility. An algorithm cannot serve as an excuse for harm or replace the people responsible for deploying and using it.
Regulation: 2027 is a compliance year
Regulations are catching up with AI and cybersecurity risks. The article’s original calendar highlights deadlines to track, including EU Cyber Resilience Act product requirements and high-risk obligations under the EU AI Act. Organizations should confirm the rules and dates that apply to their products, markets and uses.
Incident-reporting timelines are also tightening. DORA and NIS2 set reporting requirements in the EU, while U.S. state laws introduce separate obligations for certain AI-related incidents. Requirements differ, so companies should identify which rules apply and prepare response processes before an incident occurs.
Liability is part of the picture too. If an organization deploys an AI agent without adequate testing, oversight or security controls, it may face legal and reputational consequences when that agent causes harm.
What organizations should do now
Security spending is expected to rise in 2027, but budgets alone will not protect organizations. Teams also need clear ownership and practical rules for the agents they deploy.
Six priorities stand out:
- Inventory every AI agent. Record its owner, purpose, data access, tools and permissions. Give it a distinct identity and credentials that expire when its task ends.
- Prioritize actively exploited flaws. Track known exploited vulnerabilities against your own systems and prepare containment steps in advance.
- Test agents before deployment. Check whether prompt injection, privilege escalation or data leakage could steer an agent into unsafe actions.
- Keep an audit trail. Record the information an agent received, the tools it used and the policy basis for its actions.
- Strengthen identity security. Protect accounts and tokens that agents depend on, and use strong authentication wherever possible.
- Keep people involved in high-impact decisions. Start automation in well-defined workflows and require human review when an action could affect safety, finances, critical operations or the use of force.
The bottom line
In 2027, organizations will compete to respond at machine speed while keeping control of the systems they deploy. Attackers will automate familiar techniques. Defenders will use agents to investigate and respond. Militaries will apply AI across intelligence, operations and cyber capabilities, raising difficult questions about human control and accountability.
AI agents can help people handle complex work, but every increase in autonomy also increases the need for limits, monitoring and clear responsibility. The scarce resources will be the capacity to fix problems quickly and the discipline to govern the agents making decisions.
Additional sources for the expanded section
- United Nations, Autonomous Weapon Systems: Frequently Asked Questions United Nations
- International Committee of the Red Cross, FAQ: Artificial Intelligence in the Military Domain ICRC
- International Committee of the Red Cross, FAQ: AI Decision-Support Systems in Armed Conflict
- You may enjoy listening to AI WORLD PODCAST