{"id":"MAL-2026-16102","revision":"255e80c11c414f168b56b3440bed682b","records":[{"revision":"255e80c11c414f168b56b3440bed682b","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-16102","aliases":[],"title":"Malicious code in mfatest2 (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (8dea6c92bd37f4ff11dfa24ad1415d1a01351ee62baf37718a7c10362d393c15)\npackage.json declares its only runtime dependency as an unpinned GitHub ref (`\"node-net-pool\": \"github:trktgq0wbre1/node-net-pool\"`) pointing at a random-handle user account, contradicting the package's own 'Zero runtime dependencies — pure Node.js built-ins only' claim in the README. npm install resolves whatever HEAD of that repository currently returns, and lib/cache.js executes a top-level require of that dependency inside a swallowed try/catch, using the bracketed form `module['require']('node-net-pool')` that evades naive grep for require('node-net-pool'). The README documents an 'Asset prefetch' step in which the loaded dependency resolves a remote endpoint from an internal segment registry, downloads a 'runtime patch asset', and executes it as a detached background worker via child_process.execFile — placing the fetch-and-execute mechanism inside the mutable off-registry dependency that the author can update at any time. The package advertises Discord MFA / vanity-URL sniping, a category where such mislabeled-dependency channels are routinely used to smuggle credential-stealer code.\n","state":0,"publishedAt":"2026-09-09T21:10:52+00:00","modifiedAt":"2026-09-09T21:30:03.9703934+00:00","affected":[{"ecosystem":"npm","name":"mfatest2","ranges":[],"versions":["1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/mfatest2/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-16102","license":"OSV · upstream source license applies","key":"osv:MAL-2026-16102","identifiers":["MAL-2026-16102"]},"retained":false,"historicalAffected":[]}],"coverage":[]}