{"id":"MAL-2026-10105","revision":"fc8b9928a95849159f4db9ed31f3767f","records":[{"revision":"fc8b9928a95849159f4db9ed31f3767f","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-10105","aliases":[],"title":"Malicious code in pxpure8 (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (a40ae433e9fa90bfbb449d343c281375329a44c0dacf080a91a0c1717579b679)\nThe package's main entry (pure.js) consists of a single behavior: it creates a <script> element pointing at https://cdn.jsdelivr.net/npm/px8my/px.js (no version pin) and appends it to document.head. When the module is required/imported in any browser-like environment (browser bundling, jsdom, Electron renderer), this causes arbitrary JavaScript from the unrelated `px8my` npm package — at whatever version its owner most recently published — to execute in the host page context. The destination is a different publisher's package, the version is unpinned (so the executed bytes are author-mutable at any time by a third party), and there is no documented purpose for this loader behavior. Package metadata reinforces the loader/lure shape: empty author, empty description, no repository, default test script — a throwaway package whose only function is to pull in remote third-party code. An installer that bundles or loads pxpure8 ends up shipping whatever px8my publishes, including any future malicious version, into their own application's execution context.\n","state":0,"publishedAt":"2026-07-09T23:09:27+00:00","modifiedAt":"2026-07-09T23:47:00.183796+00:00","affected":[{"ecosystem":"npm","name":"pxpure8","ranges":[],"versions":["1.0.2"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/pxpure8/v/1.0.2"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-10105","license":"OSV · upstream source license applies","key":"osv:MAL-2026-10105","identifiers":["MAL-2026-10105"]},"retained":false,"historicalAffected":[]}],"coverage":[]}