Not if, but how
Security used to be sold as a wall. Build it high enough and nobody gets in. That pitch has aged badly. Once an adversary can hand reconnaissance, planning and execution to AI agents that work at machine speed, the sensible assumption is that someone, someday, will get through. What sets organizations apart is what happens next.
That is the argument Asif Razzaq makes in MarkTechPost (November 2026) after walking through six months of incidents at AI platforms: no company can promise it will never be breached, but every company decides how it responds.
This article starts there and adds something that shows up across all fifteen sources behind it. AI does not sit on one side of the fight. It is a coin. One face writes the phishing email, rewrites the malware and steers movement through a network. The other learns what normal looks like in your environment, sorts thousands of alerts and pulls a credential before an analyst has finished reading the notification. And the coin has an edge people forget: AI systems are now targets in their own right.
There is a coin at the top of this page. Flip it whenever you like. It changes the color of the page, not the facts.
AI on offense
Attackers have not suddenly invented unimaginable techniques. What changed is that AI pushes three familiar dials at once: speed, scale and adaptability.
Social engineering that proofreads itself
Bad grammar no longer gives a scam away. Auxis reports that more than 40% of business email compromise messages are AI-generated, and Darktrace found that a third of the malicious emails it saw in 2025 ran past a thousand characters: long, polished and tailored to the recipient's business. Half the security leaders Darktrace surveyed list hyper-personalized phishing among their top worries, and 40% name deepfake voice fraud.
Malware that rewrites itself
Adaptive malware keeps its purpose while changing its shape, runs in memory without touching disk, and spreads its activity out so it blends into ordinary traffic. Matching against a list of known signatures does little against that. DigitalXRAID describes VoidLink, a modular malicious framework whose architecture was planned by an AI assistant in under a week. Researchers traced it back only because its developer slipped up.
Agents that run the whole route
The newest step is the agentic attack. Darktrace covers open-source frameworks such as ARTEX, which break a high-level goal into jobs for specialized agents: scan, exploit, harvest credentials, move. Some intrusions linked to it went from first contact to privileged access in less than three hours. CrowdStrike, as cited by MarkTechPost, tracked one group that pointed AI agents at more than 200 organizations in 11 days.
One crew, thousands of targets, and no human team able to keep that pace.Bitsight's core point, 2026
The intrusion clock
Those numbers land harder on a single timeline. Drag the slider to advance the minutes since initial access, and switch the kind of defense. The simulator is generous: it assumes the alert fires at minute zero.
0:00h:min since initial access
Markers: lateral movement at 29 min (average, CrowdStrike); exfiltration at 1.2 h for the fastest quartile, down from 4.8 h a year earlier (Unit 42, via UnderDefense); manual response at 4+ hours and AI-assisted response under 30 min (figures from UnderDefense, a vendor). An illustration, not a predictive model.
Two things fall out of the exercise. With a manual process, the data is gone long before anyone acts. The second is less comfortable: even the assisted response arrives roughly level with the average first lateral hop. Defensive AI narrows the window. It does not close it. That is why the sources spend so much time on what you do before the incident.
AI on defense
For defenders the starting problem is attention. UnderDefense puts a mid-market security operations center (SOC) at more than 4,000 alerts a week, with analysts lasting about 18 months in the job. In Darktrace's survey, 87% of professionals say attacker AI is adding to their team's workload. Defensive AI helps in three places.
1. Detect behavior, not signatures
The system stops looking for a known threat. It learns how each user, device and application normally behaves and flags the departure. Nothing else works against something that changes shape every time it runs. Darktrace's framing: study the organization instead of the threat.
2. Turn down the noise
Sweet Security breaks assisted triage into three jobs. It ranks a finding on an internet-facing, privileged workload above the same finding on an idle one. It folds the signals that different layers raise about one event into a single incident. And it drafts investigation steps. The analyst gets one timeline where there used to be six open consoles.
3. Act inside limits
This is where automation and reasoning part ways. Classic automation (SOAR) runs a script: if phishing, then quarantine. An agentic system weighs evidence, say a script launched by a service account at 2 a.m. from an address it has never used, attaches a confidence level and proposes an action.
“One follows a script; the other thinks.”UnderDefense, on SOAR versus agentic AI
One number tempers the optimism. Darktrace asks every year whether organizations feel prepared. In 2024, 60% said no. In 2025, 45%. In 2026, 46%. Progress has stalled.
One chain, read twice
Every stage of an intrusion can be read from either face of the coin. Pick a stage.
Attacks
Automated probing of thousands of organizations at once, matching each freshly published vulnerability against exposed systems.
Defends
Continuous measurement of your own external exposure, vendors included, with fixes ranked by real likelihood of exploitation. Only 5 to 10% of known vulnerabilities are ever exploited (Bitsight).
Attacks
Long, fluent, personalized emails; an executive's cloned voice; poisoned packages in public registries.
Defends
Language models that read a message's content, sender and context where fixed rules used to sit. Phishing detection is the most common defensive use: 52% of AI adopters (UnderDefense).
Attacks
Polymorphic code, in-memory execution, and automated testing against gateways and sandboxes until one variant slips through (Check Point).
Defends
Behavioral analytics, decoys that lure self-directing malware, and detectors that retune themselves as malware evolves, the approach explored in the LFreeDA research.
Attacks
Agents chaining stolen credentials and system hops in minutes. On a flat network, Bitsight talks about milliseconds.
Defends
Zero Trust and micro-segmentation, so every hop demands a fresh check, plus automatic token revocation and host isolation.
Attacks
Automated extraction, increasingly over legitimate channels. An AI agent's own tools can double as the way out.
Defends
Alert on bulk reads of secrets, the clearest signal in the 2026 incidents, and wire that alert straight to containment. Above all, store less.
When AI is the target
Coins have a third side. Sweet Security and UnderDefense both point out that “AI incident response” now names two different jobs: using AI to respond faster, and responding when the compromised asset is a model, a data pipeline or an agent. Palo Alto Networks notes that 78% of enterprises had already folded AI into operations by 2024, and that conventional security tooling falls short for systems that behave probabilistically.
The reference map for this ground is MITRE ATLAS, a public knowledge base and sibling of ATT&CK that catalogs how AI systems get attacked. It is growing fast: 16 tactics and 84 techniques in its November 2025 release (Vectra AI); 101 techniques and 68 case studies by the July 2026 edition (Articsledge). A few entries:
| ID | Technique | In one line |
|---|---|---|
| AML.T0051 | Prompt injection | Malicious instructions in the input, or tucked into a document the model reads, displace the original ones. |
| AML.T0010 | AI supply chain compromise | The way in is a model, dataset or dependency that was already tampered with. |
| AML.T0082 | RAG credential harvesting | Secrets left within reach of the document-retrieval component. |
| AML.T0096 | AI service API | A legitimate AI API repurposed as a covert command-and-control channel. |
Documented cases make it concrete. In SesameOp, an implant used OpenAI's Assistants API as its control channel, with no attacker-run server at all. In July 2025, a badly scoped GitHub token let someone commit destructive code into the Amazon Q extension for VS Code. And Anthropic identified campaigns that used about 24,000 accounts and 16 million queries to try to copy Claude's capabilities.
“Agents are the new insiders.”Microsoft, quoted by Darktrace
Containing a compromised agent
An agent may be halfway through a task and wired into other processes, so containing it follows its own order. Sweet Security lays it out like this:
- Freeze the action pathSuspend or narrow its tool and API access before touching the model or the host.
- Capture state and provenanceKeep the prompts, tool-call traces, retrieved context and memory.
- Scope the permissionsSeparate what the agent's identity could reach from what it actually called.
- Trace downstream effectsRecords written, tickets opened, messages sent, jobs triggered.
- Test for leftover actionConfirm no queued task or secondary agent picks the behavior back up.
Six months, four pillars
Between May and November 2026, MarkTechPost logs incidents at every layer of the AI stack. Here is a selection. Filter it by entry point.
| 2026 | Platform | Entry point as reported |
|---|---|---|
| May 10–11 | npm and PyPI packages | Poisoned releases of roughly 170 packages |
| Jun 11–12 | Klue | A legacy credential, then stored OAuth tokens |
| August | LiteLLM, RAGFlow, Kestra | Exposed, unpatched gateways |
| Oct 6 | Fireworks AI | Misuse of internal credentials |
| Oct 14–15 | Zeabur | Long-lived admin tokens; 321,810 accounts affected |
| Oct 21 | LiteLLM 1.107.0 | Compromised release pipeline |
| Oct 23 | Warp | A third-party vendor dependency |
| Oct 29 | Cursor | A credential taken from exposed internal data |
| Nov 8 | NEAR AI | Remote code execution flaw in the inference server |
What stands out is how ordinary the doors are: old credentials, tokens that never expire, admin panels left in plain view. Attacker AI speeds up the exploitation. The gap itself is usually basic hygiene.
The four pillars of a modern response
P1Detect and contain automatically
Shutting things down at human speed is too slow now. Mature teams wire detection to containment: kill switches, automatic token revocation, host isolation. On October 24, Fireworks AI caught a second event that came in through a cloud provider and closed it the same day.
P2Communicate fast, over a safe channel
Customers need to rotate keys right away, and deleting a key from a platform does not revoke it at the provider that issued it. The channel matters too. Five Eyes agencies and CISA advise against coordinating over the network under investigation, since the intruder may be reading along. Fireworks began notifying affected customers a day after detection. Klue did it the same day.
P3Eradicate thoroughly
Closing the hole that was used is only the start. Assume backdoors and go hunting, ideally with independent forensic experts retained ahead of time. Fireworks brought in Unit 42 and finished rotating employee keys within three days. Klue revoked credentials and switched off nine integrations.
P4Keep shrinking the blast radius
The strongest defense limits what any future intruder can reach: no credential trusted by default and, where the workflow allows, no data kept. Fireworks' inference products run with zero data retention and stayed outside the reported impact. Its CEO, Lin Qiao, offers an image for it: saving a spreadsheet to a cloud drive is one thing, handing its numbers to a calculator is another. Klue's lesson points the same way. Any token you keep on file is a door that never quite closes.
“If data isn't stored, it can't be stolen.”MarkTechPost
Who pushes the button
If attackers move in minutes, automating everything is tempting. The sources say otherwise. AI shortens the analysis, and the decision still has an owner. A person still answers for the decision, and how much human sign-off an action needs depends on two things: whether it can be undone, and how much it touches.
Pick an action to see who should authorize it, on the scale Sweet Security proposes.
These are defaults. Each organization should tune them to its own tolerance for disruption.
The line gets drawn before an incident, not in the middle of one. And every decision leaves a record: the evidence used, the confidence level, who approved, what ran, and whether anyone checked afterward that it worked. That last step, post-action validation, is the one teams skip under pressure and the one that lets the system improve. It is also what the governance frameworks UnderDefense lists call for: NIST AI RMF, the CoSAI response framework and the reporting duties in the EU AI Act.
Where the shield cracks
The defending face has flaws of its own, and the sources name them.
- It makes things up. A response tool can fabricate indicators of compromise or rate something harmless as severe. UnderDefense suggests routing by confidence: under 90%, a person reviews.
- It lacks context. It has no idea your CTO runs scripts at midnight before every launch.
- It over-merges. Grouping signals saves work, but aggressive correlation can hide a second intruder.
- It ages. A model trained on last year's attacks loses accuracy. Research by Adrian Shuai Li and Elisa Bertino (LFreeDA) shows a malware detector can re-adapt with no manual labeling and gain up to 12.6% in accuracy.
- It only knows what it sees. Without complete telemetry, speed just gets you to the mistake sooner.
“A fast timeline built on incomplete telemetry is a fast wrong answer.”Sweet Security
Measure your coverage
The framework document in the notebook proposes four ATLAS-based metrics for judging whether the defense around your AI systems is current: technique coverage, detection latency, false positive rate and threat model freshness. Three of them are simple arithmetic.
Your organization in 8 questions
You do not need an in-house SOC to apply the essentials. Tick what you can say with confidence today.
For a first step into defensive AI, UnderDefense recommends high-volume, low-complexity incidents such as phishing triage, with a person kept in the loop for anything critical. If round-the-clock monitoring is out of reach, the sources point to managed detection and response services. Auxis notes that cybersecurity is now the most outsourced business function.
Counterpoints
The sources on this subject are not neutral, and a careful reader should have the fair objections at hand.
“The numbers come from people selling the cure”
Nearly every statistic here traces back to a security vendor. Perception surveys like Darktrace's measure worry, not incidents.
Likely reply: separate reports agree on the direction of travel. Read them as a trend, not a precise measurement.
“The AI attacker is more headline than reality”
The incident table shows legacy credentials and immortal tokens, not science fiction.
Likely reply: that is the point. AI changes how quickly a lapse gets exploited, not what kind of lapse it is.
“Automated containment is a self-inflicted outage waiting to happen”
A system that isolates servers on its own can cause the downtime it was meant to prevent.
Likely reply: hence the authority scale: reversible and narrow first, human approval for the rest.
“The human in the loop is the bottleneck”
If lateral movement takes 29 minutes, waiting for an approver may be too long.
Likely reply: the tension is real and the sources do not fully resolve it. Their answer is to pre-approve classes of action before the incident.
“Zero retention is not always an option”
Batch jobs, fine-tuning and legal retention duties all require keeping data. And the company held up as the model was breached anyway.
Likely reply: the advice is to apply it wherever the workflow allows. It does not prevent the intrusion. It cuts what can be lost.
Takeaways
- AI is on both faces. It speeds up the attacker and the defender. Looking at only one is reading half a coin.
- Time is the variable. 29 minutes to the first hop, a little over an hour to exfiltration. A four-hour response is late by design.
- The door is usually old. Legacy credentials, tokens that never expire, unpatched systems.
- AI is attack surface too. Models, data and agents need their own response plan. ATLAS is the map.
- AI shortens the analysis; the decision stays human. Automate what can be reversed. Keep people on what cannot be undone.
- What you don't keep can't be lost. Shrinking the blast radius is the one defense that also works against the attack you haven't met yet.
The coin will keep spinning. What you control is deciding, before it lands, what you will do with each face.