[Paper Review] Formal Analysis and Supply Chain Security for Agentic AI Skills
SkillFortify is the first formal analysis framework for agent skill supply chains, introducing DY-Skill attacker, sound static analysis, capability-based sandboxing, SAT-based dependency resolution, a trust score algebra, and a 540-skill benchmark with strong empirical results.
The rapid proliferation of agentic AI skill ecosystems -- exemplified by OpenClaw (228,000 GitHub stars) and Anthropic Agent Skills (75,600 stars) -- has introduced a critical supply chain attack surface. The ClawHavoc campaign (January-February 2026) infiltrated over 1,200 malicious skills into the OpenClaw marketplace, while MalTool catalogued 6,487 malicious tools that evade conventional detection. In response, twelve reactive security tools emerged, yet all rely on heuristic methods that provide no formal guarantees. We present SkillFortify, the first formal analysis framework for agent skill supply chains, with six contributions: (1) the DY-Skill attacker model, a Dolev-Yao adaptation to the five-phase skill lifecycle with a maximality proof; (2) a sound static analysis framework grounded in abstract interpretation; (3) capability-based sandboxing with a confinement proof; (4) an Agent Dependency Graph with SAT-based resolution and lockfile semantics; (5) a trust score algebra with formal monotonicity; and (6) SkillFortifyBench, a 540-skill benchmark. SkillFortify achieves 96.95% F1 (95% CI: [95.1%, 98.4%]) with 100% precision and 0% false positive rate on 540 skills, while SAT-based resolution handles 1,000-node graphs in under 100 ms.
Motivation & Objective
- Motivate the need for formal guarantees in agent skill supply chains due to rising attacks and undetected malicious skills.
- Introduce a formal framework (SkillFortify) that provides sound analysis and proofs for agent skill safety.
- Develop and prove components: attacker model, static analysis, sandboxing, dependency graph with SAT resolution, trust scoring, and benchmarking.
Proposed method
- Define the DY-Skill attacker model, a Dolev–Yao adaptation for the five-phase skill lifecycle with a maximality proof.
- Develop a sound static analysis framework based on abstract interpretation with a four-element capability lattice.
- Formalize capability-based sandboxing with confinement proofs.
- Construct an Agent Dependency Graph and encode resolution as a SAT problem with lockfile semantics.
- Introduce a trust score algebra with formal propagation and monotonicity.
- Create SkillFortifyBench, a 540-skill benchmark to evaluate detection and resolution performance.
Experimental results
Research questions
- RQ1How can we provide formal guarantees for agent skill safety in a supply chain context?
- RQ2Can a formal framework prove absence of unauthorized resource access by skills?
- RQ3What are the performance characteristics of SAT-based dependency resolution for large skill graphs?
- RQ4How can a trust score be formally propagated through skill dependencies while reflecting provenance and maintenance?
- RQ5Does a benchmark of real-world malicious and benign skills validate the framework’s effectiveness?
Key findings
- SkillFortify achieves 96.95% F1 score with 95% CI [95.1%, 98.4%] on the SkillFortifyBench.
- SkillFortify attains 100% precision and 0% false positives on 540 skills.
- SAT-based resolution handles 1,000-node graphs in under 100 ms.
- The 540-skill SkillFortifyBench comprises 270 malicious and 270 benign skills sourced from real campaigns and curated sources.
- The framework provides formal guarantees, including sound static analysis, confinement, and correct lockfile-based resolution.
- Empirical evaluation demonstrates the complementarity of pattern matching and information-flow analysis over purely heuristic defenses.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.