News · DiggingBeagle record

SkillCFI blocked 240 tested workflow skips, but most public skills could not compile as written

An independent monitor enforced observable steps from selected agent skills, rejecting every constructed violation in the test. The compiler needed manual adaptation and does not prove that an allowed workflow is intrinsically safe.

Published
Nov 20, 2026

The report

A skill can specify that an agent must compare evidence, run validation and obtain approval before applying a change. Tool allowlists cannot enforce that order: every individual command might be permitted while the agent skips the required checks. The SkillCFI study converted selected trusted instructions into contracts that a separate reference monitor could observe at tool-call boundaries.

Strong result inside a narrow contract

Across eight selected skills, 24 workflow mutations and 770 sessions, the monitor blocked all 240 tested contract violations. The researchers reported about two percent task-time overhead. Explicit reasons for a refusal also helped agents recover and complete tasks under the monitored policy.

The portability result was much less favorable. None of 53 unmodified public skills compiled into the required form; seven were manually adapted. This limits claims that existing skill catalogs can be protected merely by switching on a tool or wrapping a prompt.

A contract still depends on trusted wording and truthful external evidence. It can reject an omitted validation step, but cannot automatically know whether a validator lied or whether the user's underlying intention was legitimate. The security contribution is enforcement of specific observable obligations, not a universal cure for malicious or ambiguous instructions.

Research behind this