RepoJournal
Shopify

Shopify

Hydrogen, Polaris, and the CLI - the dev platform behind millions of stores

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.

Pick a date

Topics: JavaScript Full archive →

The Wire · Showcase

CLI PATCHES MEMORY DOS AND FIXES PHANTOM BREAKING CHANGES

By RepoJournal · Filed · About Shopify

Shopify/cli shipped a critical security fix for stdin memory exhaustion and eliminated false-positive breaking change detection that was blocking legitimate PRs.

The `readStdinString` function in Shopify/cli was vulnerable to Denial of Service through unbounded memory consumption—attackers could exhaust heap by piping unlimited data to stdin [1]. This release introduces a hard 10MB limit, closing the attack surface immediately [2]. In parallel, the breaking-change detection pipeline was reporting phantom removals whenever main diverged from a PR's branch point [3]. PR #7466 shows the exact failure: the check flagged a field removal that never happened in the PR itself—main had added the field after branching [3]. That's now fixed by comparing against merge-base and scoping diffs to actual PR changes [3]. On the test side, replay.test.ts was replaced with real temporary directories instead of mocked filesystem calls, making the log discovery and sorting logic actually testable rather than testing the mocks themselves [4].

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] [Security] Limit stdin read size in readStdinString Shopify/cli
  2. [2] Merge pull request #7482 from Shopify/sentinel-limit-stdin-read-10535475246681127260 Shopify/cli
  3. [3] Fix breaking-change check: compare against merge-base, scope to PR diff ↗ Shopify/cli
  4. [4] [Tests] Replace filesystem mocks with real temp dir in replay.test.ts ↗ Shopify/cli

Quick answers

What shipped in Shopify on May 8, 2026?
Shopify/cli shipped a critical security fix for stdin memory exhaustion and eliminated false-positive breaking change detection that was blocking legitimate PRs. In total, 8 commits and 7 pull requests landed.
Who contributed to Shopify on May 8, 2026?
2 developers shipped this update, including alfonso-noriega and gonzaloriestra.
What were the notable Shopify updates?
[Security] Limit stdin read size in readStdinString, Merge pull request #7482 from Shopify/sentinel-limit-stdin-read-10535475246681127260, and Fix breaking-change check: compare against merge-base, scope to PR diff.

More from Shopify

Daily updates, in your inbox

Follow Shopify

Keep up with Shopify in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

or

One email a day. Unsubscribe in one click. Read a past issue →

Elsewhere on the wire

Want every project, not just this one?