A plugin marketplace is a place Claude Code can find and install plugins (add-on packages) from. Each marketplace has a source, which says where it lives: a web address, a git repository, an npm package, or an entry in your settings.
Claude Code now has a check that cleans up these sources. It removes the username and password from a source's web address and drops any headers or headersHelper entries. For npm tarball addresses (a direct download link for an npm package), it also removes the username, password, query string and anything after a #.
The check refuses a source when:
- its web address has a query string (the part after
?) or a fragment (the part after#) - its path does not match what is expected
- it contains an
@or#whose meaning is ambiguous - it is a settings plugin whose source is a command
This looks designed to keep marketplace credentials out of a form that could be stored or passed along to others.
It is not clear when Claude Code runs this check, for example when saving or when displaying marketplace sources.