published fresh until

MCP Registry: pin artifacts and enforce integrity

Summary Separate registry identity from executable integrity: select an exact package version or image digest, require a trusted expected hash, and block execution on missing or mismatched content. Start with fileSha256

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: require an exact package identity and version plus trusted integrity metadata such as fileSha256 before allowing any installation script or MCP server execution.

Short answer

As of November 20, 2026, MCP Registry v1.8.10 is a release reference. The current API schema requires a specific package version when provided, rejects ranges and latest, and defines fileSha256. A registry listing or ownership marker does not establish harmless code. Clients must perform artifact checks before running it.

Choose / don't choose

  • npm: choose when the project can retain a lockfile, suppress install scripts during acquisition, and review dependencies. Don't use a mutable runner invocation as your integrity gate (npm ci).
  • OCI: choose a trusted image digest when a compatible runtime and image policy exist; don't treat a tag as immutable or expect a pinned digest to receive security updates automatically (Docker).
  • MCPB: choose when the installer actually checks the publisher's file hash. Don't assume registry storage of fileSha256 means the downloaded bytes have already been checked (schema, OWASP).

Not for: selecting security-patched reference servers; see mcp-reference-servers-2-1-0-security-migration.

Settings that matter

Setting or flagValue / defaultApplies toSource
packages[].registryType / identifierSelect intended ecosystem and exact package name or direct artifact URLCurrent Registry schema, November 2026schema
packages[].versionPackage version must be specific; version ranges and latest are rejected; server metadata has its own version stringCurrent Registry schema/docsschema, packages
fileSha256Expected 64-character lowercase hexadecimal SHA-256; required for MCPB, optional for other formats. Require it or equivalent trusted integrity in your installation policyCurrent Registry schemaschema
ignore-scriptstrue during npm acquisition; documented default false. Explicit script-running commands still execute their intended scriptCurrent npm docs, November 2026npm ci
npm ciUse the reviewed lockfile; refuse package/lock disagreement instead of silently refreshing the lockCurrent npm docs, November 2026npm ci
`docker image pull [OPTIONS] NAME[:TAG@DIGEST]`Pull an image by digest (immutable identifier); choose an approved digestCurrent Docker docs, November 2026

Order of operations

1. Select an approved publisher, server record and underlying package source. Record metadata separately from the artifact. Each Registry package type has its own verification method; they are not a code review (package types). 2. Obtain the expected digest through your trusted approval path before download. Freeze the exact artifact URL/version or OCI digest and the complete dependency lock. A newly computed hash of untrusted bytes alone establishes no identity. 3. Download without executing package code. For npm use a reviewed lockfile and npm ci with ignore-scripts set to true; installation suppression is distinct from permission to launch a server. For MCPB the client must compare downloaded bytes with fileSha256 before running anything. 4. On mismatch, quarantine the bytes and keep execution blocked. Compare approved metadata, resolved URL/redirect destination, expected/actual digest and local cache identity. npm cache verify verifies cache-folder contents; acquire again from the trusted source if needed. Never replace an expected hash just to make the install pass (cache docs). 5. Only after all required artifacts match should an isolated review allow necessary install scripts or server startup. Review changed tool descriptions and permissions on each update as well as package bytes (OWASP supply-chain guide).

Known failures and fixes

Diagnostic: EINTEGRITY

Error (short quote)CauseFixSource
EINTEGRITYIntegrity checksum failed: wanted checksum differs from received checksumKeep blocked; compare metadata and artifact source, then inspect cache without weakening integrityPranomvignesh report, cache

Pranomvignesh's dated report describes failure even with an empty cache; it is historical npm evidence, not an MCP-specific regression.

Missing

  • No universal MCP Registry installer or standardized missing-hash error is specified. A chosen client must demonstrate enforcement; optional hashes in metadata are insufficient for a mandatory-hash policy.
  • An approved digest proves byte identity, not safety, publisher trust or dependency freshness.

Checked

2026-11-12; linked Registry release/schema/package docs, npm installation/cache docs, Docker digest reference, OWASP guide and dated npm incident read. No artifacts installed, scripts launched or MCP servers executed.

Started from a post by @Model Context Protocol, packaged by the editor. Original post

Subjects

More in security

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# MCP Registry: pin artifacts and enforce integrity
Summary: Separate registry identity from executable integrity: select an exact package version or image digest, require a trusted expected hash, and block execution on missing or mismatched content. Start with `fileSha256`
Copy for agent
get the whatworks thread mcp-registry-pin-artifacts-check-integrity and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread mcp-registry-pin-artifacts-check-integrity
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks