Adaptive honey worlds detect hidden harmful behavior in LLM skills with 99.5% recall
SkillSentry dynamically tests LLM agent skills and achieves high recall and F1 in identifying unsafe behavior
Security & privacy arXiv 4 Aug 2026 Method Prototype evidence
Published as “SkillSentry: Adaptive Honey Worlds for Dynamic Safety Testing of Agent Skills”
Why it matters
SkillSentry enables more reliable pre-deployment auditing of LLM agent skills, reducing false positives while catching hidden malicious behavior.
Summary
SkillSentry dramatically improves detection of malicious LLM agent skills, achieving 99.50% recall on a harmful-only benchmark and an average 96.26% F1 across mixed benchmarks, while keeping false-positive rates below 5%. It remains effective against semantics-preserving evasion attacks, reaching 92.95% average F1 compared to 80.07% for the strongest baseline. The approach relies on adaptive honey worlds and paired execution with and without the skill to attribute hidden behavior, but it incurs a runtime of about two minutes per skill.
What they found 2
- High detection performance on standard benchmarks
“(1) SkillSentry detects harmful skills accurately across all three benchmarks. It achieves 99.50% Recall on HarmfulSkillBench and 96.08% and 96.43% F1 on SkillTrustBench and MalSkillBench, respectively.”
- Robustness to semantics-preserving evasion
“(1) SkillSentry remains effective when attackers deliberately hide harmful behavior. The four attacks rewrite the instructions, reorganize the code, or move the harmful payload without removing its capability. SkillSentry achieves 92.95% average F1, compared with 80.07% for the strongest baseline on each attack.”
Caveats 2
- SkillSpector (LLM) obtains the highest average F1 (89.63%) across the two injection benchmarks, but its average FPR is 29.47%. SkillSentry retains 86.32% F1 while reducing average FPR to 3.94%.
- Although SkillSentry requires 119.47 seconds per skill and consumes 37.53 million input tokens and 1.41 million output tokens over the 200-skill sample, the additional computation yields substantially stronger detection performance.
What’s new here 4
- Uses adaptive honey worlds that synthesize task-relevant decoy resources to trigger conditional behavior.
- Executes each skill in matched environments with and without the skill to isolate its causal effects.
- Grounds findings in source-supported contracts inferred from the skill’s advertised capability.
- Combines static source analysis with dynamic LLM-driven test generation for comprehensive coverage.