The Wire · Showcase
CLI PATCHES TWO SECURITY HOLES IN GIT INITIALIZATION AND NOTIFICATION HANDLING
By RepoJournal · Filed · About Shopify
Shopify/cli shipped emergency fixes for argument injection in git repository setup and URL validation flaws that could expose merchant deployments.
Two breaking security patches landed overnight in the CLI. The first plugs an argument injection vulnerability in git repository initialization [1], while the second hardens notifications URL validation to block malicious input [2]. Both required immediate merge. In parallel, the team is cleaning house: polyfill dependencies are being stripped out now that the CLI requires Node >= 22.12 [3], including `node-abort-controller` and three other packages that no longer earn their weight. Test suite simplifications are also landing [4][5], reducing cognitive load without changing behavior. Across the repo, 31 commits and 16 PRs in 24 hours signal active hardening across the CLI stack.
One email a day. Unsubscribe in one click.
Keep up with Shopify in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.
One email a day. Unsubscribe in one click. Read a past issue →
Action items
- → Deploy CLI security patches immediately to all Shopify development environments Shopify/cli [immediate]
- → Audit existing git initialization calls in your CLI plugins for untrusted branch input Shopify/cli [immediate]
- → Review notification URL sources in your tooling for hardening compatibility Shopify/cli [plan]
References
- [1] Merge pull request #8275 from Shopify/security-sanitize-git-branch-init-10018993654953565653 Shopify/cli
- [2] Merge pull request #8029 from Shopify/security-harden-notifications-url-18035364240484933283 Shopify/cli
- [3] Remove obsolete polyfill dependencies from cli-kit ↗ Shopify/cli
- [4] Drop redundant fallback assertion Shopify/cli
- [5] Simplify special-character encoding test and drop rationale comment Shopify/cli