{"version":"2.1.277","anchor":"new-enterprise-validation-for-marketplace-restriction-settin","canonical_anchor":"new-client-side-settings-validation-flags-dead-entries-in-po","heading":"New validation for strictKnownMarketplaces and blockedMarketplaces settings","tier":"notice","area":"Settings","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.277\/e\/new-enterprise-validation-for-marketplace-restriction-settin","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.277","markdown":"### New validation for strictKnownMarketplaces and blockedMarketplaces settings\n\nClaude Code now validates strictKnownMarketplaces and blockedMarketplaces entries and warns or falls back when they can't actually be enforced\n\n**What**\n\n- Entries in the `strictKnownMarketplaces` and `blockedMarketplaces` settings are now checked for whether they can actually be enforced: regex patterns must compile, GitHub-source entries with an owner wildcard must be written exactly as `<owner>\/*`, wildcard sources are only allowed in GitHub form, and refs can't contain `*`.\n\n- An invalid `strictKnownMarketplaces` value falls back to an empty allowlist, meaning no marketplaces are admitted until the setting is fixed. An invalid `blockedMarketplaces` entry is kept rather than dropped (with a warning), since removing it would loosen restrictions instead of tightening them.\n\n- On managed-settings tiers, each invalid entry now gets an explicit message: an unenforceable `blockedMarketplaces` entry is kept but inert (\"it can never match, so it blocks nothing\"), while an unenforceable `strictKnownMarketplaces` entry is silently stripped. In user, project, or local settings files, an invalid entry in either key is simply inert.\n\n**Why** This stops administrators from unknowingly relying on marketplace restrictions that look active but can never actually match anything, and makes clear whether a broken rule is being kept for safety or dropped.\n\n- Area: Settings\n- Names: `strictKnownMarketplaces`, `blockedMarketplaces`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5"}