‹ Back to articles

Binding Authorization to What an Agent Skill Actually Runs

An agent skill can change through its dependencies while its signed directory stays the same. Research on ClosureBound asks how to keep authorization tied to the system that actually runs.

An agent skill often looks like a small, self-contained folder: a set of instructions, perhaps a few scripts, and a manifest. When such a folder is reviewed, signed and approved, it is natural to treat that approval as covering the skill. In practice, the running skill can reach well beyond the folder. Its scripts import packages, call tools, consult models and contact remote services, and some of those dependencies are resolved only when the skill runs.

This creates a gap between what was approved and what executes. A dependency several levels down can change while the signature on the root directory remains valid. Accentrust's research on agent skills asks a narrow but consequential question: when a skill produces an external effect that will persist, is it still the same system that received the authorization?

A skill is more than its directory

The working paper starts from the observation that Agent Skills combine instructions with files, packages, tools, models and services. A skill's operational identity can therefore exceed its signed directory. Evidence that describes only the root, such as a manifest or a signature, says little about what a recursive or lazily loaded dependency will be at the moment it is used.

A second difficulty concerns effects rather than code. Different surfaces may reach the same durable effect. If each surface is governed separately, the same outcome can be reached more than once under limits that were meant to apply to it as a whole.

The paper's proposal, ClosureBound, is a reference monitor: a component meant to mediate every path to a protected operation and decide whether it may proceed. Its purpose is to prevent authorization from transferring across material changes to the skill's full, heterogeneous dependency closure.

A hypothetical skill that drifts

Consider a hypothetical skill that compiles a weekly summary and sends it to a team distribution list. The folder contains instructions and a short script. The script relies on a formatting package fetched when it first runs, and on a remote service that delivers the message.

A reviewer approves the skill on Monday. On Wednesday, a new release of the formatting package is published, and the next run picks it up. Nothing inside the signed folder has changed, so root-level evidence still checks out. Yet the code that actually handles the data is no longer the code that was reviewed.

Now suppose the new package also offers a second way to send messages. If the original approval limited the skill to one message per week through the delivery service, a separate route could, in principle, send a second message without touching that limit. Both problems are now present: a silent dependency change and an alternative path to the same effect.

Binding a grant to the resolved closure

ClosureBound begins with a resolver that commits the skill's dependency graph as typed nodes together with its topology. The result is a resolved closure: a record of what the skill depends on, what kind of thing each dependency is, and how the pieces connect.

Each grant is then bound to several things at once: an exact closure root, an effect ceiling, a purpose and provenance, a validity window, and epochs. The grant does not describe a skill name or a folder. It describes one resolved system, what that system may do, why, and for how long.

In the hypothetical example, the Monday grant would be bound to the closure that included the earlier formatting package. The Wednesday run resolves a different closure, so the earlier grant does not carry over to it. The paper calls this property version non-inheritance.

Checking again when an effect becomes durable

The second half of the design concerns timing. Checking a skill only when it is installed or launched leaves room for drift before it acts. ClosureBound therefore performs its decisive check at durability, the point where an operation's external effect would persist.

At that point, it re-resolves both the closure and the relevant state. It normalizes the operation into an intermediate representation of external effects, so that different surfaces producing the same outcome are described in the same terms. The operation is admitted only if a joint witness satisfies every bound in the grant together.

Because supported equivalent paths share one ceiling, the second messaging route in the example would count against the same weekly limit as the first.

What the guarantees rest on

The paper establishes six properties: metadata non-authority, closure determinism, version non-inheritance, effect non-amplification, bound-value freshness and path invariance. Read informally, declarations alone do not confer authority, resolution of the closure is deterministic, a changed closure does not inherit an earlier grant, alternative paths cannot enlarge the permitted effect, the bound values being checked are fresh, and supported equivalent paths are treated alike.

These results hold under stated assumptions: complete mediation and complete dependency discovery, authenticated freshness, sound normalization of operations, cryptographic binding, and authoritative linearization, meaning a single authoritative order of events. If a path bypasses the monitor, or a dependency is never discovered, the guarantees do not reach it.

The paper is also explicit about what it does not establish. It does not establish program equivalence, so it does not decide whether two different closures behave the same way. Nor does it establish that remote services are honest; their behavior remains outside what the monitor's guarantees cover.

What the evaluation and audit show

The evaluation tests the design rather than a deployment. A provider-free implementation matches 40 frozen lifecycle fixtures, and 18 kernel contracts and six mutants cover binding and downgrade cases. A full-profile state exploration reaches 84,608 states and 530,752 transitions without a declared invariant violation. Six weakened profiles, by contrast, yield witnesses, which suggests that the exploration can expose a violation when part of the protection is removed.

The paper also reports a lexical audit of 549 public Skills containing 4,872 unique files. Of the 526 roots with bundled files, only 21 name every non-manifest path verbatim. Sixty-seven roots contain links that resolve outside their roots. No root declares a dependencies field in its frontmatter. Because the audit is lexical, it describes how skills are written and packaged, not how they behave at runtime. What it shows is that explicit dependency declarations are rare, which is why the paper argues for conservative closure discovery rather than reliance on what a skill declares.

Questions that remain open

The arXiv preprint presents these observations as defining concrete targets rather than settling them. Broader runtime validation, interoperability, efficacy and production validation all remain ahead.

Several practical questions follow from the assumptions. How completely can dependencies be discovered when skills load code lazily or reach external services? How should a system behave when discovery is uncertain? And how should legitimate updates be handled, given that a materially changed closure does not inherit an earlier grant?

Within this research series, related work including OpenPort addresses which tool effects are eligible and why. ClosureBound adds a complementary question: whether the skill executing now is still the dependency-closed system that received the grant. Asking it at the moment an effect becomes durable keeps authorization attached to what actually runs.