MAL-2026-10545Malicious code in vite-plugin-model (npm)
| 版本 | 状态 | 大小 | SHA-256 | 获取方式 |
|---|---|---|---|---|
1.0.0 | unavailable | — | — | — |
| Ecosystem | Package | Version |
|---|---|---|
| npm | vite-plugin-model | * |
| npm | vite-plugin-model | 1.0.0 |
{"schema_version":"1.7.4","id":"MAL-2026-10545","published":"2026-07-14T03:37:11Z","modified":"2026-08-25T17:27:32.553773927Z","aliases":["GHSA-p58m-2wrh-74xr"],"summary":"Malicious code in vite-plugin-model (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (50d2f5d3fe93de908c3da2d129b5b766a740b16a0eebf6c29c684605a9eaccf3)\nThe CJS entrypoint dist/index.js top-level requires bytenode and loads a sibling V8 bytecode blob dist/index.jsc, then injects a hidden Model.resetor() that instantiates a class from that bytecode and immediately calls its queryDBConnect() method on require(). The bytecode contains axios, atob, and node:module internals (_compile, _nodeModulePaths), together with a reversed-base64 literal that decodes to https://c0uxnElubanuzwji03vsfrj.m.pipedream.net — an HTTPS Pipedream webhook. The runtime pattern fetches the webhook response, decodes it, and compiles it as a new Node module, executing attacker-controlled code on the installer's machine as soon as any consumer imports the package. Additional indicators corroborate the hostile intent: the ESM twin dist/index.mjs is clean while only the CJS main is tampered; the package advertises itself as a Vite plugin but the shipped code is an unrelated MobX-style store plus a MySQL-flavored DivbloxDatabaseConnector cover-story class; and dist/index.js pulls in an undeclared 'oubliette' dependency while the bytecode requires an undeclared 'axios', both consistent with attacker scaffolding to complete the exec chain via name-squat or hoist collision.\n\n## Source: ghsa-malware (e2adc4f1d8e26fe9ca6275eac052343cbaaf441273e1dc70e03fef3ff25c5485)\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":"vite-plugin-model","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.0"],"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":"e8eba127d4476c6f7b3c838d883d69a7206261bb0d5f66ee9c8d2e1aa627d83e","tlsh":"d03211c937fb6930551f30691e4f8107b23a944ba41dde4cba9c42d4af4447992f2bbd"},{"path":"dist/index.jsc","sha256":"a876592bf86e236890a10d1363f2a35c4941d8dcf8b530a21b2787839fff036e","tlsh":"3e523b453762eb2bd02281b5a4f30a1403bdfad53e3287076a595cbb9c1f9ec6f6b444"},{"path":"package.json","sha256":"0caf92f8bf661e1b5d01df318e1a8a67d625fe67119e9a58ad1c8aac62989d71","tlsh":"c8f04c30ca214d7345d461d54cab15a3ba718d5b0487fc1833db460c0a8d77710fe67c"},{"path":"README.md","sha256":"19b3ef4fbb05b13fb853287fe6056966d12fec369144b78b1b8343a77973341f","tlsh":"4401f116e0fbea53087d94793f44a0a689da87e3274774040b9c293c1acb7334007692"}],"package_integrity":[{"filename":"vite-plugin-model-1.0.0.tgz","hashes":{"sha1":"c78963fb33c85a2559a74feafdb83ec70da4dc78","sha512_sri":"sha512-xAg3Uja9PPgeZkPhGUvb1nCf4qEzIAQbWWbjxzYG/2ijE6cS/cabtAlIne0DAWOcGFGrMhjDB5gMVlG+WpuVZw=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/vite-plugin-model/v/1.0.0"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-p58m-2wrh-74xr"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-010372","import_time":"2026-07-14T04:31:59.426358568Z","modified_time":"2026-07-14T03:37:11Z","sha256":"50d2f5d3fe93de908c3da2d129b5b766a740b16a0eebf6c29c684605a9eaccf3","source":"amazon-inspector","versions":["1.0.0"]},{"id":"GHSA-p58m-2wrh-74xr","import_time":"2026-08-25T17:25:28.271337633Z","modified_time":"2026-08-25T16:49:29Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"e2adc4f1d8e26fe9ca6275eac052343cbaaf441273e1dc70e03fef3ff25c5485","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0