Repository navigation
chore(scripts): drop the illustrative Ethereum ANS-104 script - #679
kevincodex1 wants to merge 1 commit into
Conversation
scripts/ans104_golden.mjs signed an illustrative Ethereum (sigtype 3) DataItem with arbundles' EthereumSigner. Nothing pinned its output (the node's interop test uses the Ed25519 vector from ans104_golden_ed25519.mjs), and it was this repo's only caller of elliptic's ECDSA, which has an unpatched advisory (GHSA-848j-6mx2-7j84 / CVE-2025-14505, Dependabot alert #23). elliptic stays in scripts/package-lock.json as a transitive dependency of arbundles; the remaining Ed25519 script does not use it. Comment and note updates only otherwise.
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
What
Removes
scripts/ans104_golden.mjs. It signed an illustrative Ethereum (sigtype 3) DataItem with arbundles'EthereumSigner, which useselliptic's ECDSA.elliptichas an advisory with no patched version: GHSA-848j-6mx2-7j84 / CVE-2025-14505, Dependabot alert #23, which flags it as "vulnerability found in your code".ans104::tests::dataitem_matches_arbundles_golden_vector) uses the Ed25519 vector fromscripts/ans104_golden_ed25519.mjs, which is unchanged and doesn't useelliptic.scripts/ans104_golden_output.txtand two comments incrates/twigpine-node/src/ans104.rsstop referring to the removed script. Comments only, no code change.SIGNATURE_TYPE_ETHEREUMstays.ellipticstays inscripts/package-lock.jsonas a transitive dependency ofarbundles, so after merging, alert #23 is dismissed as "Vulnerable code is not actually used". scripts/ is dev-only: it isn't installed in CI and isn't in any release artifact.Checks
cargo test -p twigpine-node --lib ans104: 23/23, including the golden-vector test.rustfmt --checkon ans104.rs: clean. No references to the removed script remain.Summary by CodeRabbit