{"id":"MAL-2026-11097","summary":"Malicious code in @vaultflow/update-flow (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (031c8cb2cc9eb21371fdd4a9a9d6949857fd978868e3dfd8f5d126e95a6a5780)\nindex.js is a verbatim copy of the feross/buffer module with a single injected top-level statement `var ins = import('@vaultflow/create-flow')` that dynamically imports a same-scope sibling package on every require. The import result is never used, so the import itself is the effect: any consumer that requires this package silently loads and executes whatever ships in @vaultflow/create-flow's main. Package metadata is a cover story that does not describe the code — package.json name is `@vaultflow/update-flow` with an empty description, but the README is titled `bare-stream` with install instructions for an unrelated `@sql-access/nods` package, and the declared repository points to `guilderguzman/sql-link`, an unrelated placeholder. The combination of a legitimate-library clone, an injected dynamic import of an undocumented sibling, and mismatched README/repo framing is a supply-chain loader shape that smuggles execution of attacker-controlled sibling-package code into any project that installs this package.\n\n## Source: ghsa-malware (13662163c9d2e7a11d10165b3c16e0b74f8fcc91b9dc3c4cd994e68914a6dae0)\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","aliases":["GHSA-gv55-mvjq-232h"],"modified":"2026-08-04T23:04:44.818423056Z","published":"2026-07-28T00:41:14Z","database_specific":{"malicious-packages-origins":[{"id":"GHSA-gv55-mvjq-232h","import_time":"2026-07-28T02:02:27.765212Z","modified_time":"2026-07-28T00:41:14Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"13662163c9d2e7a11d10165b3c16e0b74f8fcc91b9dc3c4cd994e68914a6dae0","source":"ghsa-malware"},{"source":"amazon-inspector","versions":["1.2.6"],"id":"IN-MAL-2026-011312","import_time":"2026-08-04T22:30:10.473727182Z","modified_time":"2026-08-04T22:03:18Z","sha256":"031c8cb2cc9eb21371fdd4a9a9d6949857fd978868e3dfd8f5d126e95a6a5780"},{"import_time":"2026-08-04T22:30:10.443162049Z","modified_time":"2026-08-04T22:03:11Z","sha256":"96a47496d7ec0cb0c7a08ae1f6b51e862c938e35377fff5c1eed82c9a53143b1","source":"amazon-inspector","versions":["1.0.0"],"id":"IN-MAL-2026-011311"}]},"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-gv55-mvjq-232h"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@vaultflow/update-flow/v/1.2.6"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@vaultflow/update-flow/v/1.0.0"}],"affected":[{"package":{"name":"@vaultflow/update-flow","ecosystem":"npm","purl":"pkg:npm/%40vaultflow/update-flow"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.2.6","1.0.0"],"database_specific":{"indicators":{"evidence_files":[{"sha256":"15fb387a09e6d5a30bc3dfa63469c063efcdebdc8743606302b123463220e0d1","tlsh":"363364026f52511b4377b33d984f950efb769436422ac8c8b49c94902fb4d64cabbef9","path":"index.js"},{"path":"README.md","sha256":"3e41caa00cca47d4f2c1009c8e122d20885857da6587bac53b89f26c6d0bb61f","tlsh":"f3d0229f2807030e2f433cc110e04e29b695788cce089859b800872389a0230235820c"}]},"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@vaultflow/update-flow/MAL-2026-11097.json"}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}