Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-1631— agent-js: Insecure Key Generation in `Ed25519KeyIdentity.generate`

Quick assessment

Affected
Internet Computer agent-js
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

agent-js是使用 JavaScript 围绕互联网计算机构建软件的库和工具的集合。 agent-js v0.20.0-beta.0至1.0.1版本存在安全漏洞,该漏洞源于存在信息泄露漏洞。

CVSS 9.1 · Critical EPSS 0.88% · P58

Possible ATT&CK Techniques 1 AI

T1530 · Data from Cloud Storage
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-1631

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
agent-js: Insecure Key Generation in `Ed25519KeyIdentity.generate`
Source: CVE Program / CVE List V5
Vulnerability Description
Impact: The library offers a function to generate an ed25519 key pair via Ed25519KeyIdentity.generate with an optional param to provide a 32 byte seed value, which will then be used as the secret key. When no seed value is provided, it is expected that the library generates the secret key using secure randomness. However, a recent change broke this guarantee and uses an insecure seed for key pair generation. Since the private key of this identity (535yc-uxytb-gfk7h-tny7p-vjkoe-i4krp-3qmcl-uqfgr-cpgej-yqtjq-rqe) is compromised, one could lose funds associated with the principal on ledgers or lose access to a canister where this principal is the controller.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
使用硬编码的密码学密钥
Source: CVE Program / CVE List V5
Vulnerability Title
agent-js 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
agent-js是使用 JavaScript 围绕互联网计算机构建软件的库和工具的集合。 agent-js v0.20.0-beta.0至1.0.1版本存在安全漏洞,该漏洞源于存在信息泄露漏洞。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Shenlong Deep Dive — AI Deep Analysis

10-question deep dive: root cause, exploitation, mitigation, urgency. Read summary free, full version requires login.

Affected Products

Vendor Product Affected Versions CPE Subscribe
Internet Computer agent-js v0.20.0-beta.0 ~ v1.0.1 -

II. Public POCs for CVE-2024-1631

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 10022 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2024-1631

请登录查看更多情报信息。

Patches & Fixes for CVE-2024-1631 (1)

Vendor Advisories for CVE-2024-1631 (1)

Other References for CVE-2024-1631 (3)

IV. Related Vulnerabilities

V. Comments for CVE-2024-1631

No comments yet


Leave a comment