← Lab /AI/ML

Over half of real-world LLM agent skills contain critical semantic risks

More than 50% of publicly available agent skills have at least one critical semantic risk

AI/ML arXiv 1 May 2026 Method Prototype evidence

Published as “Semia: Auditing Agent Skills via Constraint-Guided Representation Synthesis”

Why it matters

Semia enables pre-deployment auditing of AI agent skills, allowing developers and marketplaces to catch semantic policy violations before the skills are installed or executed.

Summary

Semia finds that more than half of 13,728 real-world agent skills carry at least one critical semantic risk and, on a stratified expert-labeled sample of 541 skills, achieves 84.5% precision, 97.7% recall and an F1 of 90.6%, far outperforming signature-based and LLM-only baselines. It also uncovered 17 previously unknown exploitable zero-day vulnerabilities, all responsibly disclosed. The evidence is based on a large public-skill corpus and a detailed benchmark, though recall is not perfect.

What they found 3

  1. More than half of the 13,728 evaluated skills contain at least one critical semantic risk.

    “Semia renders all of them auditable and finds that more than half carry at least one critical semantic risk.”

  2. On the 541-skill labeled benchmark, Semia attains 84.5% precision, 97.7% recall and an F1 of 90.6%, substantially outperforming baselines.

    “Semia achieves F1 = 90.6% (84.5% precision, 97.7% recall)”

  3. Semia discovered 17 critical exploitable zero-day vulnerabilities, all confirmed and responsibly disclosed.

    “Semia discovered 17 critical exploitable zeroday vulnerabilities, all confirmed by the OpenClaw registry maintainers and responsibly disclosed.”

Caveats 1

  • Recall is not perfect: 15 category-level ground-truth labels were missed because un-inlined third-party API surfaces broke reachability chains.

What’s new here 4

  • Provides a static analysis that reasons about natural-language policy prose combined with structured capability declarations.
  • Introduces Constraint-Guided Representation Synthesis (CGRS) to iteratively refine LLM-generated structured representations until they satisfy structural and semantic checks.
  • Encodes lifted skills in a Datalog fact base (SDL) and applies deterministic reachability queries to detect semantic risks.
  • Detects semantic vulnerabilities that evade traditional signature scanners and one-shot LLM auditors.