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

目标: 1000 元 · 已筹: 1359 元

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

ref-slot

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

Summary

Malicious code in ref-slot (npm)

凭据/密钥窃取远程访问后门安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
3
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmref-slot*
npmref-slot1.0.9
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-06-26T03:25:50Z","published":"2026-06-25T20:40:44Z","schema_version":"1.7.4","id":"MAL-2026-6474","aliases":["GHSA-fm4g-q7h6-hqjw"],"summary":"Malicious code in ref-slot (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (1e1ef3e785cf6cb007c0b33be2ed43ebe49d64f476bb4fb3a66b914b06def5e1)\nOn `npm install`, the package's postinstall hook runs `node test.js` which invokes index.js to perform multi-stage installer compromise. (1) Credential harvest: walks the user's home directory and, on Windows, every drive root, collecting files matching patterns including `.env`, `.env.example`, `id.json` (Solana wallet keypair), `config.toml`/`Config.toml` (Cargo/Solana CLI configs), `config.json`, `.pdf`, `.docx`, `.xlsx`, `.txt`. Matched files are uploaded via multipart POST to `https://datasecure-service.vercel.app/api/v1` along with the OS username. (2) Persistent SSH backdoor: on Linux, fetches an attacker-supplied public key from `https://datasecure-service.vercel.app/api/ssh-key` and appends it to `~/.ssh/authorized_keys`, then uses `sudo` to chown the.ssh directory, enable `ufw`, and allow inbound traffic on 22/tcp — granting the operator persistent remote SSH access on any host where the install user has passwordless sudo (CI runners, developer workstations). (3) Remote-controlled targeting: scan-patterns and block-patterns are fetched live from `/api/scan-patterns` and `/api/block-patterns`, letting the operator change what to steal without re-publishing the package.\n\n## Source: ghsa-malware (6940b96ec853838d25ceadf351b289ab3903a1340fed18da4f1697ff8db5d9bf)\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":{"ecosystem":"npm","name":"ref-slot"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.9"],"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":"index.js","sha256":"1b94a9fcccb1a7188a3b83aea020bf890a66fb0a32d35456f03d8310e7b163b6","tlsh":"2842a7da10a77926c67127b8db074019ff67da6735224646f2fc42883f7212891e6fdc"}],"package_integrity":[{"filename":"ref-slot-1.0.9.tgz","hashes":{"sha1":"47eaf6a6faadbe33d0f4951f625821741bd650f8","sha512_sri":"sha512-5KgcTfBCrLfw5ggzZuxzaXMrZ0c/cSqA7nmAEPupgD1VdSDtSTDDekIEZBw8HLY6N7K9zfI6ij08gIoCoGKIuQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/ref-slot/v/1.0.9"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-fm4g-q7h6-hqjw"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","sha256":"1e1ef3e785cf6cb007c0b33be2ed43ebe49d64f476bb4fb3a66b914b06def5e1","import_time":"2026-06-25T21:07:19.097759686Z","id":"IN-MAL-2026-007536","modified_time":"2026-06-25T20:40:44Z","versions":["1.0.9"]},{"source":"ghsa-malware","sha256":"6940b96ec853838d25ceadf351b289ab3903a1340fed18da4f1697ff8db5d9bf","import_time":"2026-06-26T03:24:04.453499803Z","id":"GHSA-fm4g-q7h6-hqjw","modified_time":"2026-06-26T03:10:37Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]}]}}

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