Expand description
Supply-chain security: verify MCP server binaries before spawning.
Two independent checks, both optional:
- SHA-256 hash pin โ computed from the binary on disk, compared to
config.sha256. - Cosign bundle โ delegates to the
cosign verify-blobCLI (must be on PATH).
Either check failing is fatal: verify_binary returns Err and the gateway refuses to start.
Functionsยง
- verify_
binary - Resolve
cmdto an absolute path, then run all configured checks. ReturnsOk(())if all enabled checks pass,Errotherwise.