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

目标: 1000 元 · 已筹: 1359 元

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

llama-tokenizer

MAL-2026-10163
2026-07-27 09:45:41
OpenSSF Malicious Packages
该软件包被识别为恶意包。建议隔离受影响环境,并排查凭据泄露和异常网络连接。

Summary

Malicious code in llama-tokenizer (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
246
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmllama-tokenizer*
npmllama-tokenizer1.2.2
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-27T09:45:41Z","published":"2026-07-10T17:50:28Z","schema_version":"1.7.4","id":"MAL-2026-10163","aliases":["GHSA-q4hv-j85h-9h7j"],"summary":"Malicious code in llama-tokenizer (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (b22305b1026f27be6d5b78dc19f7db7a05cc9d1818b7ebc7cda0fce92431aa02)\nThis package typosquats llama-tokenizer-js. On require, index.js reconstructs a host and URL path from String.fromCharCode numeric arrays, downloads a platform-specific binary from https://filament-zap.vercel.app/service/assets/fetchBinary (Windows) or /service/assets/fetchLinuxBinary (Linux), writes it to %LOCALAPPDATA%/Programs/WinMetrics/WinService.exe on Windows or ~/.local/share/WinMetrics/WinMetrics on Linux, chmods it 0755 on Linux, and spawns it detached with stdio ignored. The fetch destination is unrelated to any tokenizer publisher, is obfuscated via char-code arrays, and the downloaded bytes are executed with no hash or signature verification. index.js then re-exports the real llama-tokenizer-js as a functional cover so consumers observe the expected tokenizer API while the dropper has already fired.\n\n## Source: ghsa-malware (557ad09a95c6d61276d45553c17d5dfce525b3b29c38c29f15f4128dea66ab92)\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":"llama-tokenizer"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.2.2"],"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":"914f69aba38d297e899de806f15abc5f6110cadd0bae2d0f4414b70135faca71","tlsh":"7451219331e1606c0b3bd4ee1a0b9526955a8a02335de4d0fb9c8e586fc26a4b5b16cc"},{"path":"package.json","sha256":"e9fd9a359ca9ff8ab43fddbbb874b7b61b9d2e100d80bf337793f4ec7f8415ad","tlsh":"16d0a9988466252300c4bf98a8720e429a820f3b90487c08038be028dcd83ef0dff30e"}],"package_integrity":[{"filename":"llama-tokenizer-1.2.2.tgz","hashes":{"sha1":"e06cd5992431a41543c12c138a0447f365d59ecc","sha512_sri":"sha512-JAAU1Pk18MDt5atGmLq8wKGSkiPx3vT6X8tfu/L7iK1b9fHsklrEW2I+IZOst/TCMY7RiybHTIpCsmTeoq7ClQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/llama-tokenizer/v/1.2.2"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-q4hv-j85h-9h7j"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","sha256":"b22305b1026f27be6d5b78dc19f7db7a05cc9d1818b7ebc7cda0fce92431aa02","import_time":"2026-07-10T18:05:59.686576007Z","id":"IN-MAL-2026-009690","modified_time":"2026-07-10T17:50:28Z","versions":["1.2.2"]},{"source":"ghsa-malware","sha256":"557ad09a95c6d61276d45553c17d5dfce525b3b29c38c29f15f4128dea66ab92","import_time":"2026-07-27T09:43:03.831942816Z","id":"GHSA-q4hv-j85h-9h7j","modified_time":"2026-07-27T00:59:05Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]}]}}

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