Repository navigation
v25.1.2
Taquito v25.1.2
Stable patch release of v25.1.2, published under the latest dist-tag.
TL;DR. v25.1.2 fixes a low-impact decoding bug in @taquito/local-forging affecting smart_rollup_originate operations with a whitelist when parsed from raw forged bytes via LocalForger.parse() (#3582, GHSA-9wjf-4grc-2g2h).
Project status. Taquito is an unfunded project maintained by ECAD Labs. Releases continue on a best-effort basis; protocol-tracking and critical security and reliability releases remain a priority.
Fix (@taquito/local-forging)
- Advisory: GHSA-9wjf-4grc-2g2h
- Bounded
whitelistdecoding forsmart_rollup_originateinLocalForger.parse()(#3582):publicKeyHashesDecoderpreviously read and discarded the 4-byte length prefix of asmart_rollup_originatewhitelistfield and decoded until the end of the remaining operation buffer instead of slicing a bounded sub-buffer of the declared length.publicKeyHashDecodernow throwsOperationDecodingErroron unknown public key hash tags, and the byte reader throws on truncated input instead of returning fewer bytes than requested.
- Practical Scope (Low Exposure):
- Unaffected:
LocalForger.forge()and standard Taquito operation preparation, signing, and injection flows. - Affected: Only callers that use
LocalForger.parse()to decode raw forged operation bytes (0x03) back into JSON (such as wallets or inspection tools previewing raw bytes before signing), and only when a multi-operation batch contains asmart_rollup_originateoperation with awhitelistfollowed by trailing operations in the same batch.
- Unaffected:
- Credit: Discovered and responsibly reported to
security@ecadlabs.comby byfor (@byfor8 / https://x.com/byfor88).
Upgrading
npm install @taquito/taquito@25.1.2 @taquito/local-forging@25.1.2(Or update @taquito/local-forging to 25.1.2 if you consume it directly.)
Full Changelog: v25.1.1...v25.1.2