Repository navigation
Promote registry v1.8.12 to production and switch on the malware sweep - #1891
Merged
Merged
Conversation
Set imageTag to 1.8.12 and registryRolloutCommit to that release's commit, and set mcp-registry:malwareSweep to "true". The release carries the publish-time malware check, which starts in report mode, and the refusal of npm dist-tags as package versions. The sweep is the daily CronJob that checks every listed package against OSV malware records and reports matches without changing any entry. Co-authored-by: Copilot App <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Three lines in
deploy/Pulumi.gcpProd.yaml:imageTag1.8.11 → 1.8.12, andregistryRolloutCommitto that release's commit.mcp-registry:malwareSweep: "true".Merging this deploys to production.
What the deploy will do
imageTag. Its code is unchanged since 1.8.11; it is rebuilt with the same dependency bump.registry-malware-sweep, indefault. It runs the registry's own image with-malware-sweepdaily at 03:40 UTC. It has no Secret, database role or service account. It reads the listing from themcp-registryService and sends package names and versions toapi.osv.dev.The infrastructure code in between was already applied to production by hand at cb2710c, so nothing else is pending.
What changes for publishers
mcp-registry:malwareCheckModeis not set, so the check runs in report mode. A publish or edit that names a package OSV lists as malware goes through, and is logged asREGISTRY_MALWARE_PUBLISH_MATCH action=allowed.versionis a tag such asnextgets a400naming the version to use.latestwas already refused, and no production entry names any other tag.What the sweep does
It only reports. It never changes an entry. A match is written to its log as
REGISTRY_MALWARE_SWEEP_HIT; taking the entry down stays a maintainer's decision.Evidence from staging
Staging has run this build since 02:04 UTC on 2026-11-22.
Not checked
mainonly. What the deploy will do is read from the code and from staging's deploy of the same code.mainbuild of the same commit.After the deploy
python3 tools/admin/configure-malware-alerts.py \ --project mcp-registry-prod --cluster mcp-registry-prod --email YOUR_EMAIL --dry-run # Review, then rerun without --dry-run.REGISTRY_MALWARE_SWEEP_SUCCESS:deploy/README.mdstill says the sweep is not on in production and has not been timed in a cluster. That needs a follow-up.To undo
mcp-registry:malwareSweep. The CronJob is deleted.mcp-registry:malwareCheckMode: off.imageTagback to 1.8.11.