Advisory

MAL-2026-10545

Also known as: GHSA-p58m-2wrh-74xr

Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.

Summary

Malicious code in vite-plugin-model (npm)

Details

---
_-= Per source details. Do not edit below this line.=-_

Source: amazon-inspector (50d2f5d3fe93de908c3da2d129b5b766a740b16a0eebf6c29c684605a9eaccf3)
The 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.

Source: ghsa-malware (e2adc4f1d8e26fe9ca6275eac052343cbaaf441273e1dc70e03fef3ff25c5485)
Any 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.

Severity

Not rated by the source.

Dates

Published
2026-07-14 03:37 UTC
Modified
2026-08-26 01:18 UTC

Affected packages and fixes

vite-plugin-model

npm · All systems

Affected

  • introduced 0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: OpenSSF Malicious Packages · Apache-2.0

Sources & licences