A plugin entry that points at a branch picks up whatever lands there next. The github, url and git-subdir source types accept a ref and a full 40-character sha, and the sha wins when both are set. Pin every third-party plugin in your internal marketplace and review the diff before moving the pin.
Read in this order
- OfficialMarketplace reference, plugin sources (Claude Code docs)Exact ref and sha field rules for each plugin source type.