Analyst focused on AI security
Adversarial evaluation of local LLMs, censorship and rejection rate, prompt injection testing, log analysis and defensive automation. Visit: sammideblas.com
The gap between what you reviewed and what the runtime actually resolves is where MCP incidents live. Pinning the tool manifest by hash at execution time turns the audit into a control instead of a snapshot. Which layer do you re-check on each call, the registry entry or the resolved binary?
Honest answer: neither, in the way you mean. For a governed write we don't rely on the tool listing at all. The command is resolved from the station's own catalog, and the approval is re-checked against the exact payload hash, expiry, station and current policy version before anything runs. For workflows we go one step further. The plan is pinned to a runtime fingerprint (station release, sandbox surface, exact module versions), and if any of that changes, it refuses at preflight.
What we don't pin is a third-party server's resolved binary, because we don't sit in front of other servers. For that case I'd do what you describe: pin the manifest hash client-side and check it on every call, not just on connect.
Staff Software Engineer @ Navan, ML Flow & Cypress Ambassador, Docker Captain and creator of agent-inspect, writing about production AI agents, TypeScript, observability, testing, and developer tools.
@nick_railcall Fingerprinting the full tool surface, including descriptions, makes the reviewed interface inspectable after list_changed. I would carry the manifest fingerprint and server identity into each execution trace or signed receipt as well, so a reviewer can connect the exact call to the surface that was approved at that moment. Do your receipts currently bind that fingerprint, or only the tool name and payload?
Today, no. Our receipts bind the resolved command and its schema version, the exact payload hash, the approval (including its expiry, policy version and station), mode, provider, risk, pre- and post-execution hashes, and the station's identity, all signed with Ed25519. They don't carry a fingerprint of the MCP tool surface the model was shown at that moment.
You're right that this is the missing link between "this call ran" and "this is the interface the reviewer approved." I'm taking it back to the team as a request, not promising a date.
the approval-to-dispatch gap seems worth a test: approve a tool call, let the server send notifications/tools/list_changed, then execute the queued approval. i'd bind approval to the exact server/tool fingerprint and arguments, and invalidate it on drift. does your airlock re-check that at dispatch?
Good test, and you've put your finger on the right gap. Here's what we re-check at execution time, right before the side effect. The approval is bound to the hash of the exact payload, and it's single-use. It also has to still be fresh: not expired, given on this same station, and decided under the policy version in force now. If any of that fails, the call is blocked, a blocked receipt is written, and the approval isn't consumed.
What we don't do is bind the approval to a tool-surface fingerprint. In our case the command an approval covers is resolved from the station's own command catalog, not from the description text the model saw, and its schema version is sealed into the receipt. But for a client approving calls on someone else's server, your design is the right one: fingerprint plus arguments, invalidated on drift.
Analyst focused on AI security
Adversarial evaluation of local LLMs, censorship and rejection rate, prompt injection testing, log analysis and defensive automation. Visit: sammideblas.com
Analyst focused on AI security
Adversarial evaluation of local LLMs, censorship and rejection rate, prompt injection testing, log analysis and defensive automation. Visit: sammideblas.com
The point that tool descriptions reach the model on every call, so they count as input and not just documentation, made me rethink approving something once and filing it as settled. I'm not a developer, but "fail closed, don't warn and continue" matches a rule in my own setup: anything that sends, deletes, pays or publishes needs my OK first, however routine it looks. Your caution that a changed fingerprint is a signal to look and not proof of an attack is a useful counterweight, since a check that cries wolf gets switched off.
"Anything that sends, deletes, pays or publishes needs my OK first, however routine it looks." That's the whole idea in one sentence, and it holds up whether or not you write code. The "however routine" part is what matters most, since routine is exactly when people stop reading. And yes on the crying-wolf point. A check that fires on every legitimate change gets switched off, and then you have nothing. Thanks for reading it this closely.
Tool descriptions are part of the prompt, so a changed description is a changed input the next time the model reads it. A review of the server at install never sees that change.
Exactly, and that's the part that's easiest to miss. A description change doesn't look like a code change, so it doesn't get reviewed like one. It still changes what the model does on the next call.
We're a place where coders share, stay up-to-date and grow their careers.
The gap between what you reviewed and what the runtime actually resolves is where MCP incidents live. Pinning the tool manifest by hash at execution time turns the audit into a control instead of a snapshot. Which layer do you re-check on each call, the registry entry or the resolved binary?
Honest answer: neither, in the way you mean. For a governed write we don't rely on the tool listing at all. The command is resolved from the station's own catalog, and the approval is re-checked against the exact payload hash, expiry, station and current policy version before anything runs. For workflows we go one step further. The plan is pinned to a runtime fingerprint (station release, sandbox surface, exact module versions), and if any of that changes, it refuses at preflight.
What we don't pin is a third-party server's resolved binary, because we don't sit in front of other servers. For that case I'd do what you describe: pin the manifest hash client-side and check it on every call, not just on connect.
@nick_railcall Fingerprinting the full tool surface, including descriptions, makes the reviewed interface inspectable after
list_changed. I would carry the manifest fingerprint and server identity into each execution trace or signed receipt as well, so a reviewer can connect the exact call to the surface that was approved at that moment. Do your receipts currently bind that fingerprint, or only the tool name and payload?Today, no. Our receipts bind the resolved command and its schema version, the exact payload hash, the approval (including its expiry, policy version and station), mode, provider, risk, pre- and post-execution hashes, and the station's identity, all signed with Ed25519. They don't carry a fingerprint of the MCP tool surface the model was shown at that moment.
You're right that this is the missing link between "this call ran" and "this is the interface the reviewer approved." I'm taking it back to the team as a request, not promising a date.
the approval-to-dispatch gap seems worth a test: approve a tool call, let the server send
notifications/tools/list_changed, then execute the queued approval. i'd bind approval to the exact server/tool fingerprint and arguments, and invalidate it on drift. does your airlock re-check that at dispatch?Good test, and you've put your finger on the right gap. Here's what we re-check at execution time, right before the side effect. The approval is bound to the hash of the exact payload, and it's single-use. It also has to still be fresh: not expired, given on this same station, and decided under the policy version in force now. If any of that fails, the call is blocked, a blocked receipt is written, and the approval isn't consumed.
What we don't do is bind the approval to a tool-surface fingerprint. In our case the command an approval covers is resolved from the station's own command catalog, not from the description text the model saw, and its schema version is sealed into the receipt. But for a client approving calls on someone else's server, your design is the right one: fingerprint plus arguments, invalidated on drift.
Pin the manifest client side and check it per call, not per connect. That closes the swap window registries leave open.
Pin the manifest hash, not the binary. The binary changes with the mirror, the manifest is what you reviewed.
The point that tool descriptions reach the model on every call, so they count as input and not just documentation, made me rethink approving something once and filing it as settled. I'm not a developer, but "fail closed, don't warn and continue" matches a rule in my own setup: anything that sends, deletes, pays or publishes needs my OK first, however routine it looks. Your caution that a changed fingerprint is a signal to look and not proof of an attack is a useful counterweight, since a check that cries wolf gets switched off.
"Anything that sends, deletes, pays or publishes needs my OK first, however routine it looks." That's the whole idea in one sentence, and it holds up whether or not you write code. The "however routine" part is what matters most, since routine is exactly when people stop reading. And yes on the crying-wolf point. A check that fires on every legitimate change gets switched off, and then you have nothing. Thanks for reading it this closely.
Tool descriptions are part of the prompt, so a changed description is a changed input the next time the model reads it. A review of the server at install never sees that change.
Exactly, and that's the part that's easiest to miss. A description change doesn't look like a code change, so it doesn't get reviewed like one. It still changes what the model does on the next call.