目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%
← 返回恶意软件包
npm active

nebulajs-api

MAL-2026-17220
2026-09-28 18:26:48
OpenSSF Malicious Packages
该软件包被识别为恶意包。建议隔离受影响环境,并排查凭据泄露和异常网络连接。

Summary

Malicious code in nebulajs-api (npm)

凭据/密钥窃取安装阶段执行
AI 分析整理claude-sonnet-4-6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
201
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmnebulajs-api*
npmnebulajs-api1.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-17220","published":"2026-09-28T16:05:39Z","modified":"2026-09-28T18:26:47.596680527Z","aliases":["GHSA-2gr6-gxvx-3594"],"summary":"Malicious code in nebulajs-api (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (07debd960454b52639fee783e21c0c303702d8dce6de5e3320393f1b0abc7077)\npackage.json declares scripts.preinstall = 'node preinstall.cjs'. preinstall.cjs is a single ~232KB opaque Function(...) invocation containing a custom PRNG-based string decoder (VnDKxn using constants 0x9e3779b9, 0x243f6a88, 0x6a09e667, 0x7f4a7c15) and a ciphertext table (KWlywdS) that is XOR-reconstructed at runtime via Tr8b5jD into executable code. The visible source contains no readable build logic; the entire install-time behavior is materialized from the decoded blob. This is the canonical npm install-time RCE dropper shape: an author-controlled preinstall hook whose destinations, commands, and payload are all hidden behind runtime decoding, executing on the installer's machine at `npm install` time before the user has run any package code. The shipped main module (nebula.js) is a thin AI-client wrapper hardcoding baseUrl https://api.nebulaai.dev/v2, disproportionately small compared to the obfuscated install script, and functions as a cover surface unrelated to the preinstall payload.\n\n## Source: ghsa-malware (8e5df52f8d9581ab8db82a19ed61221cea9967ba53897bb4278838d6ef50063c)\nAny computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.\n","affected":[{"package":{"name":"nebulajs-api","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.0"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"preinstall.cjs","sha256":"a6b6ab9bd94d3e648650795806cfccc3f3fdae7e86f507895d7bbc8347b2fc06","tlsh":"2c349dc7624361d5cb7241276aeffecba6c02a23966477f9b8687500f5e54c3d2e4e80"},{"path":"nebula.js","sha256":"d6b33324fdba4969820bb00f159ffb090e156760fffce1bc941bf83999690cf6","tlsh":"6ed1de56b57b55308eb7e390ee334009e321a26f3045862b7ffc82985f74911969afec"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-2gr6-gxvx-3594"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/nebulajs-api/v/1.0.0"}],"database_specific":{"malicious-packages-origins":[{"id":"GHSA-2gr6-gxvx-3594","import_time":"2026-09-28T16:31:02.108303107Z","modified_time":"2026-09-28T16:05:40Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"8e5df52f8d9581ab8db82a19ed61221cea9967ba53897bb4278838d6ef50063c","source":"ghsa-malware"},{"id":"IN-MAL-2026-020588","import_time":"2026-09-28T18:24:38.337614375Z","modified_time":"2026-09-28T18:03:07Z","sha256":"07debd960454b52639fee783e21c0c303702d8dce6de5e3320393f1b0abc7077","source":"amazon-inspector","versions":["1.0.0"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

数据来源:OpenSSF Malicious Packages · Apache-2.0