Page MenuHomePhabricator

[monorepo] Override linkify-it 5.0.2 for markdown-it DoS fixes
ClosedPublic

Authored by bytesofman on Wed, Aug 19, 03:23.

Details

Summary

Force linkify-it 5.x past 5.0.1 so b58-ts typedoc's markdown-it picks up patches for GHSA-22p9-wv53-3rq4 and GHSA-v245-v573-v5vm (high).

Test Plan
  • pnpm install --lockfile-only
  • rg 'linkify-it@' pnpm-lock.yaml # 5.0.2 only
  • pnpm audit --audit-level high # linkify-it GHSAs gone; high 11→9

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Build Bitcoin ABC Diffs / Diff Testing (ai-review) passed.
CodeRabbit Review

Diff : committed changes only
Compare : HEAD → master
Directory : work
────────────────────────────────────────

(\(\
(• .•) Blink twice if you're a bug.

────────────────────────────────────────
Review complete
No findings ✔

2 files reviewed:

  • pnpm-lock.yaml
  • pnpm-workspace.yaml

────────────────────────────────────────

This revision is now accepted and ready to land.Thu, Aug 20, 07:28

Rebase onto latest master. Keep the landed nanoid 3.3.18 override and add the linkify-it 5.0.2 pin.

Build Bitcoin ABC Diffs / Diff Testing (ai-review) passed.
CodeRabbit Review

Diff : committed changes only
Compare : HEAD → master
Directory : work
────────────────────────────────────────

(\(\
(• .•) If you don't make mistakes, you're not working on hard enough problems. - Frank Wilczek

────────────────────────────────────────
Review complete
No findings ✔

2 files reviewed:

  • pnpm-lock.yaml
  • pnpm-workspace.yaml

────────────────────────────────────────