Intel

AIKIDO-2026-10494

@cashu/cashu-ts is vulnerable to Observable Timing Discrepancy

Observable Timing Discrepancy Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.

30

Low Risk

This Affects:

JS@cashu/cashu-ts
2.5.0 - 3.6.2
Fixed in 3.6.3

TL;DR

Affected versions of this package are vulnerable to timing side-channel attacks due to non-constant-time comparison in DLEQ proof verification. The affected verifyDLEQProof logic compares byte arrays using standard equality checks that may return early on mismatch, causing observable timing differences based on the input. An attacker able to measure these timing variations can gradually infer valid proof values or secret-dependent data, potentially compromising the integrity of the verification process.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

@cashu/cashu-ts is vulnerable to Observable Timing Discrepancy in versions 2.5.0 - 3.6.2.

How to fix this

Upgrade the @cashu/cashu-ts library to the patch version.