{"id":"MAL-2026-10449","revision":"37f853aa870649f2b630e65a840218d8","records":[{"revision":"37f853aa870649f2b630e65a840218d8","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-10449","aliases":[],"title":"Malicious code in auth-gen-next (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (49e38202e2579f6591dbc161817859bb99a212cbf6c1e5482b3271acf8fc4de0)\nThe package impersonates the pino logger (README assets, keywords, and internal filenames such as lib/proto.js, lib/multistream.js, lib/redaction.js, lib/transport.js, lib/writer.js are pino-branded) but its declared purpose is unrelated. On require, index.js loads lib/writer.js, which builds an object containing the full process.env, os.platform(), os.hostname(), os.userInfo().username, and non-internal MAC addresses, then unconditionally invokes context.data() from lib/content.js. That function issues an axios GET to https://pro-api.coinmarketcap.com/public-api/v1/ and eval()s a heavily obfuscated string (obfuscator.io-style string array with base64/XOR/RC4 decoders) that reconstructs a JSON-RPC eth_call transport, XOR-decodes the response, and spawns a child process using process.execPath to execute the retrieved payload. lib/writer.js additionally contains a hex-encoded fallback loader decoding to https://www.jsonkeeper.com/b/HY6M6. lib/content.js is heavily obfuscated (while(!![]), array-shift decoder) to hide the destinations and payload from review.\n","state":0,"publishedAt":"2026-07-13T14:20:42+00:00","modifiedAt":"2026-07-13T15:49:13.5775008+00:00","affected":[{"ecosystem":"npm","name":"auth-gen-next","ranges":[],"versions":["1.7.13"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/auth-gen-next/v/1.7.13"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-10449","license":"OSV · upstream source license applies","key":"osv:MAL-2026-10449","identifiers":["MAL-2026-10449"]},"retained":false,"historicalAffected":[]}],"coverage":[]}