Intel

AIKIDO-2025-10700

@unit-finance/unit-node-sdk is vulnerable to Observable Timing Discrepancy

Observable Timing Discrepancy Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Oct 10, 2025

20

Low Risk

This Affects:

JS@unit-finance/unit-node-sdk
0.8.13 - 1.3.4
Fixed in 1.3.5
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to a Timing Attack in the webhook signature verification function due to a non-constant-time string comparison. The vulnerable code used a standard equality operator to compare the expected and provided HMAC digests, which allows an attacker to exploit microscopic timing differences in the comparison operation. By repeatedly submitting forged signatures and measuring the server's response time, an attacker could gradually deduce the correct HMAC value character by character.

Who does this affect?

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

Background info

@unit-finance/unit-node-sdk is vulnerable to Observable Timing Discrepancy in versions 0.8.13 - 1.3.4.

How to fix this

Upgrade the @unit-finance/unit-node-sdk library to the patch version.