{"version":"2.1.275","anchor":"npm-marketplaceplugin-source-schema-gains-registry-url-vali","canonical_anchor":"npm-marketplaceplugin-source-schema-gains-registry-url-vali","heading":"npm marketplace\/plugin source schema gains registry URL validation and richer docs","tier":"notice","area":"Plugins","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.275\/e\/npm-marketplaceplugin-source-schema-gains-registry-url-vali","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.275","markdown":"### npm marketplace\/plugin source schema gains registry URL validation and richer docs\n\nnpm-based plugin marketplaces now validate registry URLs and support scoped allow\/block policies\n\n**What**\n\nWhen installing a plugin or defining an npm-based marketplace source, the `registry` field is now checked to make sure it's a valid http or https URL, and Claude Code now rejects it otherwise with the message \"Registry must be an http(s) URL\".\n\nThe npm marketplace source definition also gains new `version` and `registry` fields, and the documentation now explains that policies like `strictKnownMarketplaces` and `blockedMarketplaces` can control npm-based marketplace plugins by:\n\n- an exact package name\n\n- a scope wildcard, such as `@acme\/*`\n\n- the `registry` value, which acts as an allowed prefix for the plugin's download URL\n\n**Why**\n\nThis lets administrators lock down which npm-based plugin marketplaces are allowed, by name, by organization scope, or by trusted registry, and stops obviously malformed registry URLs from being accepted.\n\n- Area: Plugins\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5"}