Skip to content

chore: bump @ckb-ccc/core to 1.14.0 to fix ws vulnerability#436

Open
humble-little-bear wants to merge 4 commits into
ckb-devrel:developfrom
humble-little-bear:bump-ccc-core-ws-fix
Open

chore: bump @ckb-ccc/core to 1.14.0 to fix ws vulnerability#436
humble-little-bear wants to merge 4 commits into
ckb-devrel:developfrom
humble-little-bear:bump-ccc-core-ws-fix

Conversation

@humble-little-bear

Copy link
Copy Markdown

Upgrades @ckb-ccc/core from 1.5.3 to 1.14.0 so the transitive ws dependency resolves to ^8.21.0, which patches the reported memory exhaustion DoS advisory.

humble-little-bear and others added 4 commits June 24, 2026 12:42
Upgrades @ckb-ccc/core from 1.5.3 to 1.14.0 so the transitive
ws dependency resolves to ^8.21.0, which patches the reported
memory exhaustion DoS advisory.
ccc >= 1.14.0 calls getKnownScript(NervosDao) during completeFeeBy
for every input. Devnet has no NervosDao deployment, so supplying the
testnet definition lets isNervosDao() return false without throwing.

Also add the missing changeset for the @ckb-ccc/core bump.

Co-Authored-By: Claude <noreply@anthropic.com>
The github-script comment steps require pull-requests: write, which
fork PRs do not receive with the pull_request trigger. Skip the
optional comment steps on forks so the required changeset check can
still pass/fail cleanly.

Co-Authored-By: Claude <noreply@anthropic.com>
The previous fallback reused the testnet NervosDao definition. Devnet
deploys its own DAO system cell, so map KnownScript.NervosDao to the
devnet dao script derived from ckb list-hashes instead.

Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant