Meta engineer patches a js-yaml DoS in Astryx with pnpm overrides and a supply-chain gate bypass

Vjeux · x · 2026-07-27

A Meta engineer says they opened their first PR to Meta’s Astryx after finding a denial-of-service issue in js-yaml caused by a crafted payload that could hang the parser.

The fix was to bump the dependency to 5.2.2, use pnpm overrides for transitive dependencies, and add the package to minimumReleaseAgeExclude so the supply-chain gate would not block the patch. The post also highlights how much they learned about package-manager security controls along the way.

Original post →

More from coding & agent

coding & agent channel →