SCA: security update for @bsv/sdk (GHSA-vjpq-xx5g-qvmm)

medium Tenable Self-Hosted Container Security Plugin ID 437776

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- The BSV Blockchain SDK is a unified TypeScript SDK for developing scalable apps on the BSV Blockchain.
Prior to version 2.0.0, a cryptographic vulnerability in the TypeScript SDK's BRC-104 authentication
implementation caused incorrect signature data preparation, resulting in signature incompatibility between
SDK implementations and potential authentication bypass scenarios. The vulnerability was located in the
`Peer.ts` file of the TypeScript SDK, specifically in the `processInitialRequest` and
`processInitialResponse` methods where signature data is prepared for BRC-104 mutual authentication. The
TypeScript SDK incorrectly prepared signature data by concatenating base64-encoded nonce strings
(`message.initialNonce + sessionNonce`) then decoding the concatenated base64 string
(`base64ToBytes(concatenatedString)`). This produced ~32-34 bytes of signature data instead of the correct
64 bytes. BRC-104 authentication relies on cryptographic signatures to establish mutual trust between
peers. When signature data preparation is incorrect, signatures generated by the TypeScript SDK don't
match those expected by Go/Python SDKs; cross-implementation authentication fails; and an attacker could
potentially exploit this to bypass authentication checks. The fix in version 2.0.0 ensures all SDKs now
produce identical cryptographic signatures, restoring proper mutual authentication across implementations.
(CVE-2025-69287)

See Also

https://github.com/advisories/GHSA-vjpq-xx5g-qvmm

Plugin Details

Severity: Medium

ID: 437776

Version: Revision 1.9

Type: Local

Family: SCA Checks

Published: 2/18/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.1

Percentile: 53.55

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:P

CVSS Score Source: CVE-2025-69287

CVSS v3

Risk Factor: Medium

Base Score: 5.4

Temporal Score: 4.7

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 2/17/2026

Vulnerability Publication Date: 2/17/2026

Reference Information

CVE: CVE-2025-69287

cwe: CWE-573