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

目标: 1000 元 · 已筹: 1359 元

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

log-rotate-testmetest

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

Summary

Malicious code in log-rotate-testmetest (npm)

AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
0
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmlog-rotate-testmetest1.0.1
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-10-22T06:11:42Z","published":"2026-10-22T06:11:42Z","schema_version":"1.7.4","id":"MAL-2026-18185","summary":"Malicious code in log-rotate-testmetest (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (8608133ab1a2f106c095f84116cd25fa141208dbf81ea6fe2331e38a88551a4b)\nThe package ships a binding.gyp whose `sources` field uses GYP command-expansion (`<!(env node index.js...)`) with no native source files, causing npm's implicit `node-gyp rebuild` to execute index.js at install time. index.js is a Caesar+10 (ROT) obfuscated eval blob that, once decoded, AES-128-GCM-decrypts a hardcoded hex ciphertext and the sibling `data.bin`, brotli-decompresses the result, writes it to a mkdtemp'd temporary file, and spawns it under Bun (`Bun.spawn([execPath,'run',tmp])` / `spawn(getBunPath(),['run',tmp])`). package.json declares `bun` as a runtime dependency, deliberately routing execution through an alternate runtime rather than Node. The executed payload is fully opaque and attacker-controlled. The combination of a no-source binding.gyp used solely as a lifecycle trigger, multi-layer obfuscation (ROT + AES-GCM + brotli), and alternate-runtime dispatch has no legitimate native-build justification.\n","affected":[{"package":{"ecosystem":"npm","name":"log-rotate-testmetest"},"versions":["1.0.1"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"binding.gyp","sha256":"fda4df745212660faa56de9d1f20739402b418aab082401c38a4d3c1304123d3","tlsh":"e9c08c2cb838094539d91c3491a88402a4b242a3485a2d41fade60286fb841f288cb9d"},{"path":"index.js","sha256":"35050233e0dd6b05184b764aba65de30079053eb081d1fb986207f5683ec3470","tlsh":"c76264a2678d1ba561880cf6b39d6503a5a0e85f39b07b69ffd24597bd3c522bc20370"},{"path":"package.json","sha256":"dec425e6c245b3b552aceb4309ca3273c9f9d450ef0b6d4126355f76359da335","tlsh":"88d012249822e47315c666661d7a8113f6619d4b0104bc0867c7512847de3b748fe64d"}],"package_integrity":[{"filename":"log-rotate-testmetest-1.0.1.tgz","hashes":{"sha1":"80d3bf9ab070888922a2f2bf69fca09f3c2c5acd","sha512_sri":"sha512-zYo6acnVxU2T0Rl6C3CGkD3pYSpC/MHp+q+F4vZeoxwd3az9k4gQw2pxdCwn+5NNIxVq+5EPydvJBoNt9YN31A=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/log-rotate-testmetest/v/1.0.1"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-021577","import_time":"2026-10-22T06:30:24.756688262Z","modified_time":"2026-10-22T06:11:42Z","sha256":"8608133ab1a2f106c095f84116cd25fa141208dbf81ea6fe2331e38a88551a4b","source":"amazon-inspector","versions":["1.0.1"]}]}}

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