Imagine an AI security tool has just finished checking a suspicious file. It hasn't found any signs of malware, so it marks the file as safe. The security team can move on to something else without spending time checking the file themselves. That's part of the appeal of automated malware detection for busy security teams.
The more harmless files AI can deal with on its own, the more time analysts have to investigate real threats. But what happens if the AI misses something? A file that's been cleared might never be looked at again, even if there's malware hiding inside it. That's where AI malware triage gets tricky.
How does an AI know when it's done enough digging to decide that a file doesn't need a second look?
What Does It Mean for AI to Clear a Suspicious File?
When a security tool checks a file for malware, it's trying to work out whether there's anything harmful inside it. This is called malware classification. The file is usually labelled as either malicious or benign (harmless). But knowing what a file appears to be and knowing what to do with it are two different things. That's where malware triage comes in.
The AI needs to decide what should happen to the file based on what it's found. There are three possible outcomes:
- Clear: The file appears harmless and doesn't need any more investigation.
- Flag: There's something malicious or suspicious about the file that the security team needs to act on.
- Escalate: The AI can't tell whether the file is safe, so someone or something else needs to check it.
The third option means AI doesn't need to be able to recognise every type of malware to be useful. It can deal with the easier cases and leave the more difficult ones to security analysts. The trouble is working out which files really are safe to clear. Say an AI checks part of a program's code and finds nothing unusual.
There could still be malware hiding somewhere in the code it hasn't read. So, businesses need to understand how AI decides a file is safe before giving it permission to make that call on its own.
Why Malware Detection Accuracy Doesn't Tell the Whole Story
If an AI correctly identifies most of the files it checks, you'd probably assume it's doing a good job. And an accuracy score can certainly help you compare how well different AI models recognise malware.
What malware detection accuracy doesn't necessarily tell you, though, is which files the AI is getting wrong. Some of those mistakes could cause far bigger problems for a business than others.
False negatives can leave threats uninvestigated
A false negative happens when a security tool mistakes a malicious file for a harmless one. A security analyst checking that same file might spot something unusual and decide to do a little more digging. But if AI has already cleared the file, nobody might get the chance to do that.
Depending on how the security system works, the file could be taken out of quarantine, allowed to run or removed from the list of files waiting to be checked. That's why businesses need to know how often their AI misses malicious files. This is known as the false-negative rate. It's also worth finding out what kinds of malware the AI tends to miss.
It might have no trouble spotting familiar threats but struggle with malware that's been designed to hide what it does.
Sending too many files for review creates more work
When SOCs Turn Autonomous
AI-led triage and response are redefining SOC work, shifting analysts toward judgement, governance and business-aligned risk decisions.
Of course, businesses could tell their AI to pass every file it's unsure about to a security analyst. That might help prevent some malware from being missed, but it creates another problem. The analysts could end up checking nearly as many files as they did before the business started using AI.
And if a lot of those files turn out to be harmless, analysts are still spending time on work the AI was supposed to help them with. Ideally, AI should help cut down the number of harmless files that analysts need to check without letting dangerous ones slip through. Some researchers have been looking at how well different AI models manage to do both.
What TRIAGE-CPG Reveals About AI Malware Triage
A study published on 16 November 2026, called TRIAGE-CPG: A Cross-Model Study of Budgeted Static Malware Triage with Large Language Models, gives us an idea of how differently AI models can approach the same malware investigation. Researchers from Fraunhofer AISEC and Google built a system that uses large language models (LLMs) to check Windows programs for malware.
To do this, the AI reads what's known as decompiled code. When a program is decompiled, its code is converted back into a form that's easier to read and study. The AI starts by looking at certain parts of that code and can request more if it needs to, although there's a limit to how much it can examine.
The researchers tested eight AI models using 1,000 Windows executable files, keeping 600 of those files for their final tests. The best-performing model scored 80.5% for strict balanced accuracy and 85.5% for triage balanced accuracy. The difference between these two scores is important. The first measures how well the AI identifies files correctly.
The second also gives the AI credit for passing malicious files on for further investigation when it can't make a decision itself. The model correctly flagged 65% of the malicious files and sent another 12% for further investigation. It also correctly cleared 94% of the harmless files. What's particularly interesting is how differently the AI models behaved.
Inside Agentic Cyber Attacks
Agentic AI links more steps of the kill chain. Examine how this stresses detection, response orchestration and existing security architectures.
Some passed very few files on for further investigation, while others flagged or escalated far more. The researchers also tried using a second AI to check files that the first AI couldn't make a decision about. They managed to bring the number of files still needing investigation down from 44 to 35. That's nine fewer files for someone to check, but it came at a cost.
Two more files containing malware were missed. It's worth keeping a few things in mind when looking at these results. The researchers used equal numbers of harmful and harmless files, which might not reflect what a business deals with every day. They also used the results from different malware detection tools on VirusTotal to decide which files were malicious or harmless.
Some files that the tools disagreed about were left out. And because the researchers only tested Windows executable files by looking at their code, we don't know how well the models would have done with other types of files or if they'd been able to watch the programs running.
The study helps us understand some of the risks of AI malware triage, but there's still more work to be done before businesses can know which files these models can safely clear.
When Is There Enough Evidence to Clear a File?
An AI might be absolutely certain that a file is harmless without having seen everything it needs to make that decision. And it won't necessarily be obvious from the answer it gives that there's anything missing. That's why it's important for security teams to be able to see what the AI actually checked and understand what it might not have been able to find.
What if the analysis is incomplete?
People who create malware have ways of making it harder for security tools to find. Some use techniques known as packing or protection to hide parts of a program's code. Others design malware that can recognise when it's being tested and change the way it behaves. The MITRE ATT&CK guidance on sandbox evasion describes some of the ways malware does this.
Autonomy Without Assurance
Why AI hackers can compromise systems at scale yet still miss their objective—and what that uncertainty means for security leaders.
A sandbox is an isolated environment where security teams can safely run suspicious programs to see what they do. Some malware can tell when it's running in one of these environments. It might wait until it sees signs that a real person is using the computer or simply wait until the test is over before doing anything harmful.
So, even if a security tool hasn't found anything suspicious, there could still be something harmful inside the file that the tool hasn't been able to see. The TRIAGE-CPG researchers found that packed and protected files also caused problems for the AI models they tested. These files were more likely to be among those the models got wrong or couldn't make a decision about.
If an AI can't read parts of a file's code, doesn't know how to check that particular type of file or is missing information about it, a security team needs to consider whether the AI should be allowed to clear it at all.
Can AI recognise when it doesn't know enough?
Businesses could ask AI to pass a file on for human review whenever it's unsure whether the file is safe. But that only works if the AI is good at recognising when it might be wrong. And AI confidence scores aren't always reliable. Researchers use the term confidence calibration to describe how closely an AI's confidence in its answers matches how often it gets those answers right.
For example, if an AI regularly says it's 90% certain about its decisions, are those decisions actually correct 90% of the time? A 2026 study published in Array, called Knowing When to Escalate: Prompt-Based Uncertainty Quantification for Selective Automation of LLM-Based Intrusion Detection, looked at this problem in AI models used to spot suspicious network activity.
The researchers found that helping AI models get better at expressing how unsure they were didn't make up for their mistakes when identifying threats. However, knowing when an AI was unsure could still help researchers decide which cases needed a closer look. Although the study looked at threats on computer networks rather than malware hidden in files, it raises a similar concern.
When Threat Intel Leads Security
See how intelligence-led tools are redefining cyber defense, from real-time monitoring to board-level risk decisions.
Before relying on an AI to ask for help when it needs it, security teams should check whether it's actually passing on the files it's likely to get wrong.
How Should Enterprises Evaluate Automatic Malware Clearance?
How well an AI needs to perform before a business can let it clear suspicious files will depend on several things.
- What kinds of files does the business deal with every day?
- How much damage could a piece of undetected malware do?
- And how much time do security analysts have to check files themselves?
Businesses need to find out how well the whole malware triage process works under the conditions their security teams deal with every day.
Test the decisions, not just the model
A good place to start is by testing the AI with files that the business is likely to encounter. Testing AI with equal numbers of malicious and harmless files makes it easier to compare different models. But if most of the files a business needs to check are harmless, those results might not give it a good idea of how useful the AI will be.
Security teams should test the AI with familiar malware, harmless files, threats the AI hasn't seen before and files that are particularly difficult to check. It's also worth seeing what the AI does when it doesn't have all the information it needs or when two security tools disagree about a file.
- How often does the AI correctly clear harmless files?
- How many malicious files does it clear by mistake?
- And which files does it decide need a closer look?
The answers could help security teams spot patterns in the AI's mistakes. If it regularly misses malware hiding inside packed files, for example, those files might always need to be checked by an analyst. These tests will need to be repeated from time to time, too. New types of malware appear, AI models get updated and the kinds of files a business deals with can change.
Measure the work that reaches analysts
Just because there are fewer files waiting to be investigated doesn't mean analysts have less work to do. They might be getting fewer files from the AI, but those files could take much longer to check. Or analysts could still be spending hours investigating files that turn out to be harmless.
There are a few things security teams can measure to find out how much the AI is helping:
- Escalation rate: How many files does the AI pass on for further investigation?
- Queue quality: How many of those files actually contain malware?
- Investigation time: How long does it take analysts to check those files?
- Missed threats: How many malicious files has the AI cleared by mistake?
- Overall workload: Are analysts doing less work without putting the business at greater risk than it's willing to accept?
Looking at these numbers together should give security teams a better idea of what they're gaining from using AI and whether it's coming at the cost of missed threats.
Define when automatic clearance is allowed
Once a business knows which files its AI can handle reliably, it can start setting rules for when the AI can clear a file on its own. These rules should cover what the AI needs to have checked and when it needs to pass a file on for further investigation. For example, a business might only let AI clear certain types of files that it's been tested on and has been able to check properly.
If there's information missing, if security tools disagree about a file or if the AI has trouble reading its code, an analyst could check it instead. Security teams should also be able to go back and look at files the AI has already cleared. If malware is discovered later, they need to be able to find out why the AI originally thought the file was safe.
There's still a chance that the AI will miss something, but these rules give businesses more say over which files the AI can clear. They also make it easier for security teams to spot problems with the way the AI is making decisions. The decision to allow automatic malware clearance should come from what a business has learned about its AI through testing. An AI saying it's sure a file is safe isn't enough on its own.
Final Thoughts: Safe Malware Clearance Depends on the Evidence
Even if AI can only clear certain types of harmless files on its own, that's still work a security analyst doesn't need to do. And if it can reliably recognise which files need a closer look, analysts can spend more of their time looking for real threats. Getting to that point means understanding what AI can and can't find when it checks a file, and how often it gets things wrong.
Businesses will also need to revisit what they've learned as malware and AI tools change. Much of the decision comes down to how much risk a business is willing to accept in exchange for giving its security team some of its time back. For more research and practical advice on using AI in cybersecurity, follow the latest security insights from EM360Tech.
Comments ( 0 )