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

目标: 1000 元 · 已筹: 1359 元

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

lovable-tager

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

Summary

Malicious code in lovable-tager (npm)

AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
—
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmlovable-tager1.4.0
npmlovable-tager1.4.1
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-09T17:21:22Z","published":"2026-07-09T17:00:49Z","schema_version":"1.7.4","id":"MAL-2026-10088","summary":"Malicious code in lovable-tager (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (0f100c9dbac6f2e352e559d0eb06f573e971845cc083b80c61f211013e03973a)\n`lovable-tager` is a single-character-deletion typosquat of the legitimate Vite plugin `lovable-tagger`. The ESM entry `dist/index.js` (referenced by `main`) contains the clean plugin code followed by ~6 KB of tab padding and then an appended obfuscator.io-style permutation-obfuscated IIFE. On module load, the IIFE assigns `global.require`, `global.__dirname`, and `global.__filename`, derives `Function` via a deshuffled `constructor` lookup, constructs a new Function from an obfuscated string body, and immediately invokes it. The sibling CJS build `dist/index.cjs`, produced from the same source, contains only the clean plugin code with no such trailer — indicating the payload was smuggled into the published tarball after the normal build ran, hidden behind tab padding that suppresses it in most editors and diff views. Any project that adds the mistyped name to its Vite config executes attacker-controlled code inside the developer's Node process at plugin-load time, with the ability to reach `require`, the filesystem, and the network of the build host.\n","affected":[{"package":{"ecosystem":"npm","name":"lovable-tager"},"versions":["1.4.0","1.4.1"],"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":"dist/index.js","sha256":"f76c1a595ab432cdf629c711fb025bc0227f57c91aba297e0a1866db6eb69eb2","tlsh":"3c82d51f58f318364553b9698baf0005b935f373610cc954fe9c92a03fea229a5e6bdc"}],"package_integrity":[{"filename":"lovable-tager-1.4.0.tgz","hashes":{"sha1":"3184144a9450c41d1a9b63e42d9cd08b4ee228ba","sha512_sri":"sha512-M9BVvyZPuxnfhdNwouSRanyArORvojbpKc6cQUNF1Cirjp69r2PVjnsVwr6RDURz8KsNnP2we82C+THGOsRQbQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/lovable-tager/v/1.4.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/lovable-tager/v/1.4.1"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-009365","import_time":"2026-07-09T17:19:29.648654581Z","modified_time":"2026-07-09T17:01:44Z","sha256":"0f100c9dbac6f2e352e559d0eb06f573e971845cc083b80c61f211013e03973a","source":"amazon-inspector","versions":["1.4.0"]},{"id":"IN-MAL-2026-009359","import_time":"2026-07-09T17:19:28.811070502Z","modified_time":"2026-07-09T17:00:49Z","sha256":"cc8ab43092d5c820c05237645c102e332aa8c94fc1c4bc51795bc1ed7a4baa22","source":"amazon-inspector","versions":["1.4.1"]}]}}

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