$ the-wire · showcase
Validate git author args, stop leaking GitHub credentials
By RepoJournal · Filed · About Shopify
Shopify CLI shipped a security fix that validates git commit author arguments and stops printing GitHub credentials to terminal output.
A security patch [1] now validates the git commit author argument, closing a potential injection or spoofing vector. Separately, the CLI no longer prints GitHub authentication tokens or signed LFS download URLs [2]; `dev github print-auth` output is captured without being echoed, and credential sources are logged without their values. This is a breaking change for any workflow that relied on that output appearing in command output. For partners migrating billing plans, four new hidden commands were added [3], and NONE migration notifications were removed [4]. The hidden commands won't appear in help, README, or Shopify.dev docs, so they are intended for scripted use only.
Action items
References
- [1] Add app subscription migration commands ↗ Shopify/cli
- [2] Prevent GitHub credentials from being logged locally ↗ Shopify/cli
- [3] Merge pull request #8435 from Shopify/security-validate-git-author-7844826945563519319 ↗ Shopify/cli
- [4] Merge pull request #8399 from Shopify/eon/subscription-migrations ↗ Shopify/cli