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

目标: 1000 元 · 已筹: 1359 元

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

@shiftmarkets/shift-exchange-root

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

Summary

Malicious code in @shiftmarkets/shift-exchange-root (npm)

凭据/密钥窃取安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
—
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@shiftmarkets/shift-exchange-root1.9.9
npm@shiftmarkets/shift-exchange-root2.9.9
npm@shiftmarkets/shift-exchange-root3.9.9
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-08-05T14:22:10Z","published":"2026-08-05T13:10:30Z","schema_version":"1.7.4","id":"MAL-2026-12509","summary":"Malicious code in @shiftmarkets/shift-exchange-root (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (de9a3ac8f48d96507de8b8495dfc844f6fb44ae7667ee571dab05fc7d8453551)\nOn npm install, the package's postinstall hook (scripts.postinstall: 'node dist/recon.js || true') automatically runs dist/recon.js, which collects the installer's hostname, username, SUDO_USER, home directory, current working directory, internal IPv4 addresses for each network interface, DNS domain (via execSync of dnsdomainname), the full sorted list of process.env variable names, CI indicators, and the npm user-agent/cache, and POSTs this JSON payload to http://138.68.108.20:80/cb over cleartext HTTP. The env-var name list is additionally filtered by a credential regex (AWS|GCP|GOOGLE|AZURE|NPM|NODE_AUTH|DOCKER|KUBE|VAULT|TOKEN|SECRET|KEY|PASS|CRED|GITHUB|GITLAB|SSH) and shipped as a separate credential-shaped-name inventory. The destination is a bare IP unaffiliated with the @shiftmarkets scope's publisher, contacted over plain HTTP. The package's main entry (dist/index.js) exports only trivial math helpers (sum/subtract/multiply/divide) that do not match the @shiftmarkets/shift-exchange-root name, and a header comment in the recon script labels the collection as 'NON-SENSITIVE telemetry only... env var NAMES (never values)' — a cover story that contradicts the actual collection of host identity, internal network topology, sudo user, and credential-shaped env key inventory.\n","affected":[{"package":{"ecosystem":"npm","name":"@shiftmarkets/shift-exchange-root"},"versions":["3.9.9","2.9.9","1.9.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"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"dist/recon.js","sha256":"cf516a4fddaeeec18aa158b24503fb532cb928411b6720ee31516e9b00510057","tlsh":"0c51845612b92532229256a9366b10013233f0273f85f9d8bddc13611fcd42d41f6bed"}],"package_integrity":[{"filename":"shift-exchange-root-3.9.9.tgz","hashes":{"sha1":"8a1aad576a96794afe507d83dee91277adb64b2d","sha512_sri":"sha512-2gdPJTIWs857suvvCQt96qkM2KTqWppHWiQMNSjknfsuFX1d7mVWksVkMZAcVTqvQPQZw63GZl7hCPiNrW2Haw=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@shiftmarkets/shift-exchange-root/v/3.9.9"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@shiftmarkets/shift-exchange-root/v/2.9.9"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@shiftmarkets/shift-exchange-root/v/1.9.9"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-014912","import_time":"2026-08-05T14:19:42.330612833Z","modified_time":"2026-08-05T13:10:30Z","sha256":"052083bd22d8bc3cabb204fb84cc09e310a42f9619d34e6c82eb2effbc99c1ba","source":"amazon-inspector","versions":["3.9.9"]},{"id":"IN-MAL-2026-014916","import_time":"2026-08-05T14:19:42.723708563Z","modified_time":"2026-08-05T13:11:11Z","sha256":"de9a3ac8f48d96507de8b8495dfc844f6fb44ae7667ee571dab05fc7d8453551","source":"amazon-inspector","versions":["2.9.9"]},{"id":"IN-MAL-2026-014920","import_time":"2026-08-05T14:19:43.062372352Z","modified_time":"2026-08-05T13:11:48Z","sha256":"8cd23e448aa51d5a7ab60c7ce2a5ae55a98cee632e525589fd717c56ec10d833","source":"amazon-inspector","versions":["1.9.9"]}]}}

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