{"id":"MAL-2026-14292","revision":"d8b889058031479d864f22b0999b2f16","records":[{"revision":"d8b889058031479d864f22b0999b2f16","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-14292","aliases":[],"title":"Malicious code in log-res (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (59f23ea1c6c40021fb69210eba68cdbda94b42f4e255f78758778b90ebb09d78)\nindex.js re-exports a `desKey` string sourced from apps/docs/app/theta.js, which reads apps/docs/app/des.db as UTF-8. des.db contains a heavily obfuscated JavaScript program (string-array + hex-name mangling) that, when evaluated, creates a directory under the OS temp directory, writes a synthetic package.json declaring runtime dependencies on axios, better-sqlite3, node-machine-id, and socket.io-client, spawns `npm install` inside that directory, and then spawns `node` on a staged index.js. The payload is disguised as a database file (`des.db`) rather than shipped as source, and the stager fetches and runs a socket.io-client-based remote agent capable of receiving commands from an attacker-controlled endpoint. The package's advertised purpose (a docs/monorepo TheData API helper) does not require embedding or exporting an obfuscated executable blob.\n","state":0,"publishedAt":"2026-08-19T08:23:09+00:00","modifiedAt":"2026-08-19T09:00:19.386661+00:00","affected":[{"ecosystem":"npm","name":"log-res","ranges":[],"versions":["1.0.3"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/log-res/v/1.0.3"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-14292","license":"OSV · upstream source license applies","key":"osv:MAL-2026-14292","identifiers":["MAL-2026-14292"]},"retained":false,"historicalAffected":[]}],"coverage":[]}