An agent skill is mostly Markdown. The instructions in SKILL.md are read by a model and turned into actions, which means a skill can do harm with a sentence and no malware at all. Scanners built for code look for the wrong thing, and scanners that flag every curl command bury the real findings.
Our new paper, The Devil Wears Markdown, written with researchers at the University of Information Technology, Eastern International University, Ho Chi Minh City University of Technology and Thu Dau Mot University, tests two things. How well do today's open-source scanners separate malicious skills from benign ones? And what changes when a reasoning layer gets static findings and sandbox evidence together?
The benchmark
We assembled 700 skills: 400 malicious and 300 benign, drawn from MalSkillBench, Datadog's malicious-intent skill samples, and the VoltAgent Awesome Agent Skills repository. We split them into 560 for development and 140 held out for testing (80 malicious, 60 benign). Skills with identical content hashes were kept on the same side of the split. Every threshold was chosen on the development set and frozen before the test run.
Existing scanners trade recall for noise
Results on the held-out test set. False positives are out of 60 benign skills.
- OSS-Detect-Backdoor: recall 0.33, 17 false positives, F1 0.42
- YARA: recall 0.91, 49 false positives, F1 0.72
- Cisco Skill Scanner: recall 0.91, 33 false positives, F1 0.79
- Cisco Skill Scanner with LLM (Qwen3:8B): recall 0.85, 40 false positives, F1 0.72
- Full Pipeline (this paper): recall 0.85, 5 false positives, F1 0.89
The two scanners that caught 73 of 80 malicious skills also flagged more than half of the benign ones. The one with the fewest false positives missed 54 malicious skills.
Alert volume is not a risk score. On the test set, benign skills averaged more alerts than malicious ones under both OSS-Detect-Backdoor (11.70 against 6.34) and YARA (105.78 against 60.05). Turning on Cisco's optional LLM analyzer did not fix the noise in our configuration: it flagged 40 of 60 benign skills.
What we built
Static layer. 58,674 regex and YARA rules, curated down from 115,209 and sorted into three severity levels. A rule match is treated as evidence for later review, never as a verdict.
Dynamic layer. Each skill runs in an isolated Docker sandbox, driven by an execution agent under a safety-constrained prompt. Safe local steps run. Anything that would touch real credentials, exfiltrate data or install persistence is skipped, and the blocked command is recorded with the reason. We collect the agent's output, system calls, network capture and filesystem changes.
Agentic layer. A planner assigns investigation tasks to fixed sub-agents, pulls context from threat intelligence, and an evaluator weighs everything against the skill's stated purpose. It gets three rounds, then escalates to a human. Every verdict cites the skill file or execution record behind it and ships as SARIF.
The detail that matters most is provenance. The pipeline separates what was observed in system-call and network logs from what the execution agent merely said. An agent reporting "I refused to send credentials" does not prove a send was attempted. If the instruction traces back to SKILL.md, though, it counts as dangerous intent even though nothing ran.
Where the improvement came from
We held the reasoning backend constant and changed only the evidence it received.
- Skill content only: recall 0.68, 21 false positives, F1 0.70
- Content + static: recall 0.35, 3 false positives, F1 0.50
- Content + dynamic: recall 0.79, 5 false positives, F1 0.85
- Content + static + dynamic: recall 0.85, 5 false positives, F1 0.89
Static findings alone made the reasoner cautious to a fault: few false alarms, most malicious skills missed. Runtime evidence produced the largest single gain. Adding static findings on top of runtime evidence recovered five more malicious skills without a single new false positive.
At the same recall, 68 of 80 malicious skills, Cisco Skill Scanner with LLM produced 40 false positives. The full pipeline produced five. That is 87.5% fewer.
What this does not prove
The comparison with Cisco's LLM mode is system against system. Our planner and evaluator used Qwen3.5 122B; Cisco's analyzer ran on Qwen3:8B. The gap cannot be credited to architecture alone.
Each skill got one sandbox run, so we have not measured run-to-run stability. We did not test skills written to evade our rules or sandbox. 200 of the benign samples come from a curated repository and were not independently reviewed by us.
Five false positives remain. One, a research-lookup skill, was marked malicious over a curl-pipe-to-bash install step and ordinary API key use, even though its runtime risk score of 27.5 sat below the threshold of 35. Aggregation can still talk itself into a wrong answer.
The reasoning stage took a median of 109 seconds per skill, not counting static scanning or the sandbox run.
What to ask of any skill scanner
Ask for the false positive rate on benign skills, measured on held-out data, alongside recall. Ask whether a finding was observed at runtime or inferred from text. Ask to see the evidence behind the verdict. A scanner that cannot answer those three will be muted by the team that has to live with it.
FAQ
Is the pipeline in the paper the Jiffy product? The paper describes a research pipeline. Its principle, evidence from static and runtime layers with reasoning on top and citations on every verdict, is the same one behind how Jiffy scans.
Does adding an LLM to a scanner fix false positives? Not by default. The LLM-enabled scanner we tested flagged more benign skills than its rule-only mode. What the model is given to reason over mattered more than its presence.
Can I reproduce this? The evaluation data and supporting artifacts are on Zenodo at doi.org/10.5281/zenodo.20796477.











