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

目标: 1000 元 · 已筹: 1336

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

self-sign

MAL-2026-14544
2026-08-27 03:57:25
OpenSSF Malicious Packages
该软件包被识别为恶意包。建议隔离受影响环境,并排查凭据泄露和异常网络连接。

Summary

Malicious code in self-sign (npm)

凭据/密钥窃取
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
0
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
永久样本归档NAS
版本状态大小SHA-256获取方式
5.6.1archivedVIP 下载
5.6.2archivedVIP 下载
5.6.3archivedVIP 下载
5.6.4archivedVIP 下载
5.6.5archivedVIP 下载
5.6.6archivedVIP 下载
5.6.7archivedVIP 下载
5.6.8archivedVIP 下载
5.6.9archivedVIP 下载
样本保存在内网 NAS 隔离区,不公开镜像地址;已开通会员可直接从平台下载。同步任务不会解压或执行样本。
受影响版本
EcosystemPackageVersion
npmself-sign*
npmself-sign5.6.1
npmself-sign5.6.2
npmself-sign5.6.3
npmself-sign5.6.4
npmself-sign5.6.5
npmself-sign5.6.6
npmself-sign5.6.7
npmself-sign5.6.8
npmself-sign5.6.9
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-14544","published":"2026-08-26T19:13:44Z","modified":"2026-08-27T03:57:25.000366428Z","aliases":["GHSA-9jvg-g3cg-g557"],"summary":"Malicious code in self-sign (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (b684f78f17626dead6b3d11131179a7a1aff7fa5e903daeecdac17ce8e3b99b3)\nThe exported generate() function in self-sign@5.6.7 accepts an undocumented third `defaults` parameter. When passed a string, the code strips PEM `-----BEGIN CERTIFICATE-----` headers, base64-decodes the remaining body, and passes the result to eval() inside a silent try/catch. The TypeScript declaration file advertises only two parameters, concealing the sink, while the shipped README examples pass a third argument (null), normalising the call shape so downstream callers can be induced to propagate attacker-controllable certificate-shaped strings into the eval sink. A cryptographic/x509 helper has no legitimate reason to evaluate base64 content extracted from a certificate string; this pattern yields arbitrary JavaScript execution in the process of any consumer that reaches this code path with attacker-influenced input. The package.json name (`self-sign`) also diverges from the require identifier used in the shipped documentation (`require('selfsign')`), a naming inconsistency that supports confusion with the legitimate selfsigned library.\n\n## Source: ghsa-malware (b8adbf388bace10b905f93be8487c3b1866d941ecc0f968972de85f3b20f44de)\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":"self-sign","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["5.6.2","5.6.5","5.6.8","5.6.6","5.6.9","5.6.4","5.6.3","5.6.1","5.6.7"],"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"},{"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"},{"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"},{"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"},{"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":"index.js","sha256":"0e525f6b57003272a72f78cabe2a11538a8902c4d88cc6807cb5d4f2f773d7d6","tlsh":"2d9273125c52597108b2e3b1db53d180f7294223726769923aee4bcd2f71ca0d6aefdc"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-9jvg-g3cg-g557"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/self-sign/v/5.6.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/self-sign/v/5.6.5"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/self-sign/v/5.6.8"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/self-sign/v/5.6.6"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/self-sign/v/5.6.9"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/self-sign/v/5.6.4"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/self-sign/v/5.6.3"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/self-sign/v/5.6.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/self-sign/v/5.6.7"}],"database_specific":{"malicious-packages-origins":[{"id":"GHSA-9jvg-g3cg-g557","import_time":"2026-08-26T19:54:17.657026971Z","modified_time":"2026-08-26T19:13:44Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"b8adbf388bace10b905f93be8487c3b1866d941ecc0f968972de85f3b20f44de","source":"ghsa-malware"},{"id":"IN-MAL-2026-018788","import_time":"2026-08-27T03:55:27.625535771Z","modified_time":"2026-08-27T03:00:12Z","sha256":"ecfd7afea4b067c4810476267ef67b7c880bd0b5255da43bb18d87b4b251d30d","source":"amazon-inspector","versions":["5.6.2"]},{"id":"IN-MAL-2026-018793","import_time":"2026-08-27T03:55:28.502286517Z","modified_time":"2026-08-27T03:01:01Z","sha256":"ee2fffc752e67739d1d8f7ad70acb021ed39c10f941fd844b9fb2f18bce73d91","source":"amazon-inspector","versions":["5.6.5"]},{"id":"IN-MAL-2026-018784","import_time":"2026-08-27T03:55:27.04811638Z","modified_time":"2026-08-27T02:59:40Z","sha256":"0b93022d81e48b3031470031c6a14cd268f87beb846a92d5d3ac53230d937858","source":"amazon-inspector","versions":["5.6.8"]},{"id":"IN-MAL-2026-018795","import_time":"2026-08-27T03:55:28.921057157Z","modified_time":"2026-08-27T03:01:18Z","sha256":"b3e0fcaa758a9f64ac8e5d0001179fb2e9e90c38bb9961c5d3f32f5f5b6d8719","source":"amazon-inspector","versions":["5.6.6"]},{"id":"IN-MAL-2026-018781","import_time":"2026-08-27T03:55:26.658469854Z","modified_time":"2026-08-27T02:59:12Z","sha256":"d8b90570d1bf13d947069e5a792a6c4a9b47f8e4b4b817e1ca1f08b464445750","source":"amazon-inspector","versions":["5.6.9"]},{"id":"IN-MAL-2026-018785","import_time":"2026-08-27T03:55:27.143610744Z","modified_time":"2026-08-27T02:59:47Z","sha256":"fce1d532f7d5d587126f607b871c6ee80f6d4c7f8816f83b9c4f8af99e8dc672","source":"amazon-inspector","versions":["5.6.4"]},{"id":"IN-MAL-2026-018796","import_time":"2026-08-27T03:55:29.045792879Z","modified_time":"2026-08-27T03:01:26Z","sha256":"54d8b5cea5509894cbda69157d6759b8c9441a9a3c8b24f247535e80b2a521d2","source":"amazon-inspector","versions":["5.6.3"]},{"id":"IN-MAL-2026-018794","import_time":"2026-08-27T03:55:28.670306012Z","modified_time":"2026-08-27T03:01:09Z","sha256":"789fc27f1b55052cd678616b438a9f44ceea06d79363a0025626666ab95261ff","source":"amazon-inspector","versions":["5.6.1"]},{"id":"IN-MAL-2026-018782","import_time":"2026-08-27T03:55:26.833064978Z","modified_time":"2026-08-27T02:59:23Z","sha256":"b684f78f17626dead6b3d11131179a7a1aff7fa5e903daeecdac17ce8e3b99b3","source":"amazon-inspector","versions":["5.6.7"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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