Agent Supply Chains and Protocol Security › Version pinning and the update trap

Michael BrenndoerferDecember 2, 20263 min read
Language AI HandbookAll chapters
Part 61 of 67Agentic AI and Protocol Security
Chapter 470Agent Supply Chains and Protocol Security › Version pinning and the update trap
Reading section 5 of 10 · Version pinning and the update trap · 3 minSection 5 of 10 · 3 min

Section 5 of 10 · 3 min read

Reading settings

Definitions

Choose how many terms have tooltips.

Article links

Make inline references clickable

Notes & comments

Pinning looks simple but is not. The tension is structural: you want stability (only run reviewed code) and currency (get security fixes). Every pinning strategy is a stance on where to sit on that tradeoff.

The reason this is hard rather than clerical is that stability and currency pull in opposite directions at every layer. Pin too loosely and you accept unreviewed code on every publish; pin too tightly and you accumulate unpatched vulnerabilities because adopting a fix requires the same deliberate review as adopting a feature. Neither extreme is "correct," because the right point depends on what the component is allowed to do. A pure data asset can float more freely than an executable tool that runs with network and filesystem access, since the cost of a bad update scales with the authority the component holds. The pinning spectrum below maps which authorities you are willing to reassign automatically.

The pinning spectrum

A release policy can record progressively more of what the runtime will load.

  • A release range describes which versions can be selected by a resolver. It can admit later versions without changing the configured range.
  • An exact-version policy fixes the permitted version identifier. Its interpretation still depends on the release system's association between that identifier and bytes.
  • An artifact digest fixes the expected bytes under its hash assumptions. Store the expected value in an independently approved record.
  • A resolved lockfile can record dependency identities and digests supported by its ecosystem. Its coverage depends on which runtime inputs the lockfile represents and which are resolved separately.

An exact version matters when the release decision approves a particular version. A digest matters when an independent reference pins the exact artifact. A reviewed lockfile can help capture a wider dependency graph, including transitive components installed with the connector. These decisions work together. For example, a cloud endpoint referenced by the pinned client can still change. Track remotely deployed behavior and associated permissions separately from the local package graph.

Why updates are the hardest part

Review an update as a new admission decision. Compare the observed release identity to the approved record, then look for changes in what the new component can do. Some updates only bring a dependency fix. Others revise a contract, update the host policy, or introduce a capability. A new approved digest can describe all of these outcomes. The digest check by itself does not answer whether the capability change needs approval.

Suppose the approved lookup service receives a release with revised catalog attributes. The service can keep the same read operations after the release. A second change adds an update operation. You should see that operation difference alongside the build evidence when deciding whether the update is eligible. If operation schemas and policy files are distributed independently of the executable, treat their revisions as independently checked release inputs. A manifest revision, connector digest, and approved permission scope belong in the same decision record so you can ask which changed without reconstructing the environment from memory.

Default posture for executable components

Pin the exact version and hash. Verify signatures before loading and require review before adopting a new version. Compare the capability manifests to see which operations the new version declares.

Comments

Add to the conversation

A question, a correction, or an example from your own work.

No comments yet. Be the first to share your thoughts!

Newsletter

Stay up to date

Get new articles, book updates, and notes on AI and technology.

Unsubscribe at any time. Privacy policy