{"id":"MAL-2025-6894","revision":"f1e40aa982ba4d2191b1aee083f1d482","records":[{"revision":"f1e40aa982ba4d2191b1aee083f1d482","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2025-6894","aliases":[],"title":"Malicious code in commonweb-flow (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (e116400179d508d6dbe723a75f049d05218e1b019474bca84f2ed62537219572)\ncommonweb-flow@7.999.999 declares its sole dependency `linker-event-header-serial` as a direct tarball URL on `artifacts.yosiroute.com` (not the npm registry), and npm-shrinkwrap.json marks that dependency with `hasInstallScript: true`. On `npm install`, npm fetches the tarball from `artifacts.yosiroute.com` and runs its lifecycle install scripts, giving that host arbitrary code execution on the installer's machine. The tarball contents at that URL are mutable and can be swapped server-side without republishing commonweb-flow. Package metadata is placeholder (`author: \"Package Registry\"`, `description: \"Generated package\"`, repository `github.com/example/commonweb-flow`), and the manifest version `7.999.999` is inflated relative to the README/index.js self-reported `1.0.0` — the shape of a dependency-confusion lure aimed at internal builds that resolve `commonweb-flow` from the public registry over an internal package of the same name.\n\n## Source: ossf-package-analysis (0062bd72b843a0cab680d5655259ce9502b602bf366057232de9469f99b853e3)\nThe OpenSSF Package Analysis project identified 'commonweb-flow' @ 10.11.0 (npm) as malicious.\n\nIt is considered malicious because:\n\n- The package communicates with a domain associated with malicious activity.\n\n- The package executes one or more commands associated with malicious behavior.\n","state":0,"publishedAt":"2025-08-17T11:40:41+00:00","modifiedAt":"2026-08-06T23:50:07.3429313+00:00","affected":[{"ecosystem":"npm","name":"commonweb-flow","ranges":[],"versions":["10.11.0","10.14.0","10.12.0","10.15.0","10.13.0","7.3.999","7.1.999","5.8.999","7.2.999","99.99.99","5.999.999","6.0.999","7.999.999","1.0.0","6.999.999"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/commonweb-flow/v/7.3.999","https://www.npmjs.com/package/commonweb-flow/v/7.1.999","https://www.npmjs.com/package/commonweb-flow/v/5.8.999","https://www.npmjs.com/package/commonweb-flow/v/7.2.999","https://www.npmjs.com/package/commonweb-flow/v/99.99.99","https://www.npmjs.com/package/commonweb-flow/v/5.999.999","https://www.npmjs.com/package/commonweb-flow/v/6.0.999","https://www.npmjs.com/package/commonweb-flow/v/7.999.999","https://www.npmjs.com/package/commonweb-flow/v/1.0.0","https://www.npmjs.com/package/commonweb-flow/v/6.999.999"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2025-6894","license":"OSV · upstream source license applies","key":"osv:MAL-2025-6894","identifiers":["MAL-2025-6894"]},"retained":false,"historicalAffected":[]}],"coverage":[]}