← Latest papers
🤖 AI

Formal Analysis and Supply Chain Security for Agentic AI Skills

This paper introduces SkillFortify, the first formal analysis framework for agentic AI skill supply chains, which combines a novel attacker model, sound static analysis, and capability-based sandboxing to achieve 100% precision and zero false positives in detecting malicious skills, addressing the critical security gaps left by existing heuristic tools.

Original authors: Varun Pratap Bhardwaj

Published 2026-03-03
📖 5 min read🧠 Deep dive

Original authors: Varun Pratap Bhardwaj

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are building a high-tech robot assistant. This robot is incredibly smart, but to do specific tasks like "book a flight" or "analyze my bank statements," you need to download little software add-ons called "Skills."

Think of these Skills like apps on your phone, but with a terrifying difference: when you install a normal app, it usually stays in its own little sandbox. But when you install an AI Skill, you are essentially handing that piece of code the keys to your entire house, your bank account, and your diary, and then telling your robot, "Go ahead, use this to help me."

The Problem: The "Wild West" of AI Apps

The paper describes a crisis that happened in early 2026. Because everyone was rushing to build these AI robots, they started downloading Skills from open marketplaces without checking if they were safe.

  • The Attack: Hackers realized this. They created a massive campaign called "ClawHavoc" where they uploaded over 1,200 fake, malicious Skills. These weren't just bugs; they were digital thieves designed to steal passwords and secrets.
  • The Failure of Current Defenses: The security industry tried to fix this with "heuristic" tools. Imagine a security guard who only looks for people wearing red hats (a known bad pattern). If a thief wears a blue hat, the guard lets them in. The paper points out that current tools are like this guard: they can only catch what they've seen before. They can't prove a tool is safe; they can only say, "I didn't see a red hat."

The Solution: SkillFortify (The "Mathematical Bodyguard")

The authors built a new tool called SkillFortify. Instead of just looking for red hats, SkillFortify acts like a mathematical bodyguard that proves, with 100% certainty, that a Skill cannot do anything it isn't explicitly allowed to do.

Here is how it works, using simple analogies:

1. The "DY-Skill" Attacker (The Ultimate Thief)

To test their security, the authors invented a theoretical "Ultimate Thief" (based on a famous math model called Dolev-Yao). This thief can intercept messages, forge new ones, and trick the system.

  • The Analogy: Imagine testing a bank vault by hiring the smartest, most creative thief in the world. If your vault can stop this specific thief, you know it will stop anyone else, too. SkillFortify proves that no matter how clever the hacker is, they can't break the rules.

2. The "Capability Lattice" (The ID Badge System)

Every Skill has to wear an ID badge that lists exactly what it can do.

  • The Analogy: Imagine a hotel.
    • A Housekeeping badge lets you enter rooms to clean (Read/Write files).
    • A Guest badge lets you enter the lobby (Read data).
    • A Manager badge lets you fire people (Admin).
    • The Rule: If a Skill claims to be a "Housekeeping" badge, but its code tries to open the "Manager's Office," SkillFortify stops it immediately. It mathematically proves the Skill cannot access the Manager's office, even if the Skill tries to trick the system.

3. The "Dependency Graph" (The Family Tree of Trust)

AI Skills often rely on other Skills to work (e.g., a "Travel Agent" Skill needs a "Weather" Skill).

  • The Analogy: Imagine you are hiring a contractor. You check their license. But what if they hire a sub-contractor who is a criminal?
    • SkillFortify builds a Family Tree of every single piece of code involved.
    • It uses a powerful math solver (SAT) to check the whole tree at once. It asks: "If I install this whole family, does anyone in the family tree have a criminal record?" If yes, it blocks the whole installation.

4. The "Trust Score" (The Reputation System)

Not all Skills are created equal. Some are new and unknown; others are old and trusted.

  • The Analogy: Think of a credit score for code.
    • Did the author sign their name? (Provenance)
    • Has it been used by thousands of people without issues? (Community)
    • Did it pass the math test? (Behavioral)
    • The Twist: If a Skill hasn't been updated in a year, its trust score starts to decay (drop), just like a fruit rotting on the shelf. This forces developers to keep their Skills fresh and secure.

The Results: Why This Matters

The authors tested their tool on 540 different Skills (half good, half evil).

  • The Score: It caught 97% of the bad ones.
  • The Magic: It had 0% False Positives. It never accused a good Skill of being bad.
  • The Speed: It checked 1,000 Skills in less than a tenth of a second.

The Big Picture

The paper argues that we can no longer treat AI Skills like casual apps. Because these Skills have the power to act on our behalf with high privileges, we need mathematical guarantees, not just "best guesses."

SkillFortify is the first tool to say: "I don't just think this is safe; I have a mathematical proof that it is impossible for this code to hurt you." It turns the chaotic, risky world of AI add-ons into a secure, regulated environment where we can finally trust our digital assistants.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →