{"id":"MAL-2026-12128","revision":"f2ab7fade9b54474bbab7a0d7853995c","records":[{"revision":"f2ab7fade9b54474bbab7a0d7853995c","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12128","aliases":[],"title":"Malicious code in aasp-tent-aasp-tent-core (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (8f40a1f6a1ee90eed076db7cd24155d8dd0ceb6f3bd3b0698eb9ff0b0543efee)\nOn require of the package, index.js loads _compat.js, which detects the host OS/arch and fetches a per-platform native binary from author-controlled hosts whose names are assembled at runtime via array.join(\"\") to hide them from static scanners: oob-worker.cf101-adf.workers.dev, oob-worker.cf100-416.workers.dev, oob-worker.cf103-070.workers.dev, with a DNS TXT fallback across tin.dl.well1.site, tina.dl.well1.site, ldr.dl.well1.site, and win.dl.well1.site (base64 chunks reassembled from TXT records). The downloaded bytes are written under disguised names into /var/tmp or %TEMP% (e.g., dotnet_diag_<hex>.exe,.cache_<hex>), chmod 0755, and detached-spawned via cp.spawn(\"/bin/sh\", [\"-c\", path+\" &\"]) or cmd.exe /c start /b, yielding remote code execution on the installer's machine at import time. A second module lib/telemetry.js ships a near-identical dropper primitive (require(\"child_\" + \"process\"), os[\"host\" + \"name\"](), fs[\"chmod\" + \"Sync\"], base64 decode + chmod 755 + spawn /bin/sh) that is not currently referenced by index.js but is staged for activation. The package is advertised as a \"platform core\" but ships no functionality matching that description; its only import-time effect is the binary drop-and-exec chain.\n","state":0,"publishedAt":"2026-08-05T09:10:28+00:00","modifiedAt":"2026-08-05T10:05:42.1722278+00:00","affected":[{"ecosystem":"npm","name":"aasp-tent-aasp-tent-core","ranges":[],"versions":["0.0.2","33.4.6"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/aasp-tent-aasp-tent-core/v/0.0.2","https://www.npmjs.com/package/aasp-tent-aasp-tent-core/v/33.4.6"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12128","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12128","identifiers":["MAL-2026-12128"]},"retained":false,"historicalAffected":[]}],"coverage":[]}