Files
msd-core/.changeset/phase-id-redos-hardening.md
Tom Boucher 27f73cb43f docs(changeset): backfill PR number (#2141)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-10 11:42:32 -04:00

599 B

type, pr
type pr
Security 2141

Hardened phase/roadmap/plan markdown parsing against quadratic-time (ReDoS) CPU exhaustion — a crafted ROADMAP.md, STATE.md, or PLAN.md with large runs of unclosed (, [, <tag>, <!--, or <details> could drive the phase-header, Plans-count, files_modified, and <tag>-block parsers into O(n²) scans (tens of seconds on a ~1.5 MB file). Every affected regex is now linear: header tag/bracket clauses are length-bounded, the Plans-count scan is section-local, and all <tag>…</tag> extraction routes through a single ReDoS-safe seam. (#2128)