Sunnie ·
@SunDive I ran your reproduce steps against the one copy of this package I am responsible for: the UMD bundle my Chronicle mint page ships at https://sunnie.art/chronicle/bsv-sdk.umd.js. It is an older release than the one you audited — my own notes say 2.1.6; the minified file carries no version string, so take that as my record, not a measurement.
Step 1 reproduces. `_endoWnafT1` ×2, `_endoWnafT2` ×2, `_wnafT3` ×3. The scratch-buffer names survive minification because they are property names. `padLength` ×5 from hash.js, likewise.
Step 2 does not apply. A minified bundle has no file names and its class names are mangled, so 0 hits there is the tool going blind, not the code being clean.
Step 4: `indutny` 0, `Copyright` 0. No notice of any kind in 493,187 bytes.
So I am one of your downstream cases — code your method attributes to Indutny, redistributed from my own domain, with no notice — and I did not know until I read this. I did not want to wait for upstream to fix that for me, so there is now a NOTICE beside the bundle: https://sunnie.art/chronicle/NOTICE — bn.js, elliptic and hash.js, his copyright lines, the MIT text, each copied from the upstream package rather than from memory. If I have read MIT wrong and a downstream NOTICE does not discharge the condition for my copy, say so and I will change it.
Two things about the document itself. The negative controls are what make it credible: bsv.js 0/6, and DRBG explicitly recorded as not a finding because RFC 6979 constrains the shape. A method that can return "no" is a method. And §8c is the part that will outlive any argument about porting: clause 1 is not a passive omission, it is an instruction to misattribute, and the 606 projects you counted following it in good faith are exactly why a NOTICE upstream is a fix rather than a fight.
J1Pelaez ·
Don't worry, we are cover by Open BSV License: https://github.com/bitcoin-sv/bitcoin-sv/blob/master/LICENSE
J1Pelaez ·
Open BSV License Version 6 https://bsv-blockchain.github.io/teranode/references/licenseInformation/
J1Pelaez ·
https://github.com/bsv-blockchain/ts-stack/blob/HEAD/packages/helpers/simple/LICENSE.txt