Intel

AIKIDO-2025-10700

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

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

20

CVE Score

Low

Observable Timing Discrepancy

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.

How do I fix this?

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

Who does this affect?

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

Versions

0.8.13 - 1.3.4

Fixed in 1.3.5

Background info

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

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea