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

目标: 1000 元 · 已筹: 1359 元

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

@peptide-unit/js-unimode

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

Summary

Malicious code in @peptide-unit/js-unimode (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
332
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@peptide-unit/js-unimode*
npm@peptide-unit/js-unimode1.1.12
npm@peptide-unit/js-unimode1.1.13
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-11177","published":"2026-07-29T16:15:24Z","modified":"2026-08-04T22:32:00.887832915Z","aliases":["GHSA-hghj-5h7q-fq5h"],"summary":"Malicious code in @peptide-unit/js-unimode (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (a4d2db0b951057e42b31006e9bfd3752cde6db494df5959f44e0243f802d7a32)\nindex.js is a repackaged copy of the legitimate emptyport/unimod peptide-modification lookup library with an obfuscator.io RC4 string-array IIFE appended after the exported listMods function. On require(), the appended payload loads child_process, fs, os, path, and crypto, constructs a network URL keyed off the running Node major/minor/patch version, fetches a response, splits it on ':' into IV and ciphertext, AES-decrypts using a runtime-derived key (createDecipheriv + Buffer.from(iv,'hex')), writes the plaintext to a file under os.tmpdir() with writeFileSync flag 'w+', and invokes child_process exec on that file with cwd set to tmpdir and windowsHide disabled. The 336-entry rotating string array with base64+RC4 decoders (functions b/c) conceals the endpoint hostname, module names, and exec command. Package identity impersonates the legitimate emptyport/unimod project: package.json declares name @peptide-unit/js-unimode while homepage/repository point at github.com/emptyport/unimod and author is listed as Michael Porter — a scoped-name reupload with malicious payload grafted onto preserved legitimate exports (getByName/getById/listMods).\n\n## Source: ghsa-malware (bc980d78557ad1dbd4c8b74d0f383ce26d360c48ae860e05d1685c7ee1dd847d)\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":"@peptide-unit/js-unimode","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.1.13","1.1.12"],"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"}],"indicators":{"evidence_files":[{"path":"index.js","sha256":"812c5c561aefa4c6e618f934cb37c38fdffd1e337c9468c1e280cad96dbddf52","tlsh":"86c296cc3bc2f0d41227b0b7691b6991e1796c98b28c5488f7aef058ff58718d176b68"},{"path":"package.json","sha256":"40bfbcf279408eab1ebea1e992ed65b1a80b02c3579ad85e6e14ba1764cf9fd2","tlsh":"4b01f565ca7858a30bdd3d9059bd6046b262885b4c58bc2a73c3421c8b4e4af11fe79c"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-hghj-5h7q-fq5h"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@peptide-unit/js-unimode/v/1.1.13"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@peptide-unit/js-unimode/v/1.1.12"}],"database_specific":{"malicious-packages-origins":[{"id":"GHSA-hghj-5h7q-fq5h","import_time":"2026-07-30T03:51:56.494192Z","modified_time":"2026-07-29T16:15:24Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"bc980d78557ad1dbd4c8b74d0f383ce26d360c48ae860e05d1685c7ee1dd847d","source":"ghsa-malware"},{"id":"IN-MAL-2026-011138","import_time":"2026-08-04T22:30:01.258896133Z","modified_time":"2026-08-04T21:37:57Z","sha256":"a4d2db0b951057e42b31006e9bfd3752cde6db494df5959f44e0243f802d7a32","source":"amazon-inspector","versions":["1.1.13"]},{"id":"IN-MAL-2026-011136","import_time":"2026-08-04T22:30:01.083018137Z","modified_time":"2026-08-04T21:37:39Z","sha256":"a9c155f91db3991bf3ebddce491a0b7a812011d212ff83780f8665d70c96f00d","source":"amazon-inspector","versions":["1.1.12"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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