Skip to content

v25.1.2

Choose a tag to compare

@github-actions github-actions released this 20 Nov 14:49
b36a612

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 whitelist decoding for smart_rollup_originate in LocalForger.parse() (#3582):
    • publicKeyHashesDecoder previously read and discarded the 4-byte length prefix of a smart_rollup_originate whitelist field and decoded until the end of the remaining operation buffer instead of slicing a bounded sub-buffer of the declared length.
    • publicKeyHashDecoder now throws OperationDecodingError on 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 a smart_rollup_originate operation with a whitelist followed by trailing operations in the same batch.
  • Credit: Discovered and responsibly reported to security@ecadlabs.com by 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