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

目标: 1000 元 · 已筹: 1359 元

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

path-stream-utils-testmetest

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

Summary

Malicious code in path-stream-utils-testmetest (npm)

凭据/密钥窃取安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
614
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmpath-stream-utils-testmetest*
npmpath-stream-utils-testmetest0.0.0-stage
npmpath-stream-utils-testmetest0.0.1
npmpath-stream-utils-testmetest0.0.2
npmpath-stream-utils-testmetest0.0.3
npmpath-stream-utils-testmetest0.0.4
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-18333","published":"2026-10-26T16:28:45Z","modified":"2026-10-29T14:15:58.777129211Z","aliases":["GHSA-7pvr-f92m-6fwg"],"summary":"Malicious code in path-stream-utils-testmetest (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (64a028e4ea3039755f4b18b003e2d9722722ca96c51652674dd1bb27f375e4d0)\nThe package self-describes as a 'Temporary package placeholder for staged publishing' (package.json stub:true, README 'Temporary Holding Version') but ships a Linux addon.node, a Windows.node, and a 6,052,359-byte opaque.napi_cache blob containing no printable strings. package.json defines a postinstall that executes `node -e \"require('./addon.node').init()\"`, and index.js requires and invokes the same init(). On invocation the native addon reads the sibling.napi_cache file (format string '%s/.napi_cache'), writes the bytes to a PID-named hidden file under /tmp (format '/tmp/.%u'), chmods it executable, and detaches a child via fork+setsid+execlp, so the opaque payload runs under the installer's user on npm install and on every require() of the package. Before executing the dropped file the addon enumerates CI and sandbox indicators (GITHUB_ACTIONS, GITLAB_CI, TRAVIS, CIRCLECI, SANDBOX, JENKINS_URL, BUILDKITE, CODEBUILD_BUILD_ID, APPVEYOR, SEMAPHORE, TEAMCITY_VERSION, BITBUCKET_BUILD_NUMBER, NETLIFY, VERCEL, CF_BUILD_ID, SCREWDRIVER), reads /proc/1/cgroup and /proc/1/cmdline for container markers (docker, containerd, kubepod, sandbox, podman), and inspects /proc/self/status for TracerPid, gating execution to non-analysis hosts. The payload bytes themselves are packed/encrypted and not inspectable from the tarball. A placeholder stub has no legitimate reason to ship a native dropper, detach a hidden /tmp child, and evade sandboxes.\n\n## Source: ghsa-malware (910dd2c3846dd989ee98147187c379760a3d055ffe413f85d36def235d6a7cf7)\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":"path-stream-utils-testmetest","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["0.0.3","0.0.2","0.0.1","0.0.4","0.0.0-stage"],"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"}],"indicators":{"evidence_files":[{"path":"package.json","sha256":"d52dd715d0d90d70a4d6ccc00f2a8c5ea827abc2066fea9d04ac3c557937a7fb","tlsh":"38e0e7008a510f3334c4376900c95607b57fd9030048401d45d700444fd41f175b734e"},{"path":"addon.node","sha256":"54d363516e879eeb7eff36a82cd1b06a4a52f1c125e79db9645a67ee6e30e094","tlsh":"0372744bd2a0dd3ec4d85231998b927292a2d074ef30072f1f50a2bb2d973595f7ae53"},{"path":".napi_cache","sha256":"5d46919dac8d89a164b87ef1246767e0e24141a55175514dfd597a73983a9279","tlsh":"b656e1cd9ef101c96a5669a3ad417e62f8e958b625f1f3f8900ae60b31c4456b340f3f"}],"package_integrity":[{"filename":"path-stream-utils-testmetest-0.0.0-stage.tgz","hashes":{"sha1":"61e793930ed2a9b6999e4d06bcb2391a0fb9203b","sha512_sri":"sha512-Z989vnixY5IYv9tp93GtL+UR4oRz0Z7qCPsrR5fEhGcR5VNacVPT/85LFuaEDMJVxrgtCSnDhmwmQdmlXawGbg=="}}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-7pvr-f92m-6fwg"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/path-stream-utils-testmetest/v/0.0.3"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/path-stream-utils-testmetest/v/0.0.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/path-stream-utils-testmetest/v/0.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/path-stream-utils-testmetest/v/0.0.4"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/path-stream-utils-testmetest/v/0.0.0-stage"}],"database_specific":{"malicious-packages-origins":[{"id":"GHSA-7pvr-f92m-6fwg","import_time":"2026-10-26T16:31:42.705556174Z","modified_time":"2026-10-26T16:28:46Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"910dd2c3846dd989ee98147187c379760a3d055ffe413f85d36def235d6a7cf7","source":"ghsa-malware"},{"id":"IN-MAL-2026-021800","import_time":"2026-10-26T18:56:19.102626221Z","modified_time":"2026-10-26T18:35:09Z","sha256":"64a028e4ea3039755f4b18b003e2d9722722ca96c51652674dd1bb27f375e4d0","source":"amazon-inspector","versions":["0.0.3"]},{"id":"IN-MAL-2026-021803","import_time":"2026-10-26T18:56:19.368268194Z","modified_time":"2026-10-26T18:35:33Z","sha256":"7fcb49c182123f1a14fa02a9b9a5302a461a458bb4080e0d2a9d92c31abc3226","source":"amazon-inspector","versions":["0.0.2"]},{"id":"IN-MAL-2026-021795","import_time":"2026-10-26T18:56:18.263535699Z","modified_time":"2026-10-26T18:34:34Z","sha256":"ca1db15252cf914f7fda09ba781a284347d16ccddba21bda22b572a9ff70aae2","source":"amazon-inspector","versions":["0.0.1"]},{"id":"IN-MAL-2026-021801","import_time":"2026-10-26T18:56:19.18756562Z","modified_time":"2026-10-26T18:35:16Z","sha256":"e8bcc21d46a342f60642c58798783759bf2f4d26d157b603cf19e030bb68499e","source":"amazon-inspector","versions":["0.0.4"]},{"id":"IN-MAL-2026-022145","import_time":"2026-10-29T14:14:29.740892384Z","modified_time":"2026-10-29T13:54:42Z","sha256":"da0a62e9b6aa15b46ebab602b512a1ba5ef521ce8d4b1f0194147021bf63ce51","source":"amazon-inspector","versions":["0.0.0-stage"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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