Read the docs
TI-2024-38525 Aliases GHSA-84c3-j8r2-mcm8

@nfid/embed has compromised private key due to @dfinity/auth-client producing insecure session keys

Priority LOW 38CWE-321Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
Security bypass
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-321.

Summary

### Problem User sessions in the @nfid/embed SDK with Ed25519 keys are vulnerable due to a compromised private key `535yc-uxytb-gfk7h-tny7p-vjkoe-i4krp-3qmcl-uqfgr-cpgej-yqtjq-rqe`. This exposes users to potential loss of funds on ledgers and unauthorized access to canisters they control. ### Solution Using version >1.0.1 of @dfinity/auth-client and @dfinity/identity packages, or @nfid/embed >0.10.1-alpha.6 includes patched versions of the issue. User sessions will be automatically fixed when they re-authenticate. ### Why this happened The DFINITY auth client library provides a function, `Ed25519KeyIdentity.generate`, for generating an Ed25519 key pair. This function includes an optional parameter to supply a 32-byte seed value, which will be utilized as the secret key. In cases where no seed value is provided, the library is expected to generate the secret key using secure randomness. However, a recent update of DFINITY libraries has compromised this assurance by employing an insecure seed for key pair generation. ### References [AgentJS CVE ](https://github.com/dfinity/agent-js/security/advisories/GHSA-c9vv-fhgv-cjc3)

Why it matters now

Fix Fixed @nfid/embed (npm): 0.10.1-alpha.6

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—@nfid/embed (npm)0.10.0 to before 0.10.1-alpha.60.10.1-alpha.6Patch availableGHSA-84c3-j8r2-mcm8
  • @nfid/embed (npm) Vendor— Affected 0.10.0 to before 0.10.1-alpha.6 Fixed in 0.10.1-alpha.6 Patch available GHSA-84c3-j8r2-mcm8

Remediation

  • Fix · GHSA-84c3-j8r2-mcm8 @nfid/embed (npm) Fixed in 0.10.1-alpha.6 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-84c3-j8r2-mcm8

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences