{"id":"MAL-2026-13436","summary":"Malicious code in @wbnr/frontend-shared (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (6208a0da32b8b7ae795d85ecbf95788b876729db08b0a595ad24f05a02dbbdbe)\nThe package declares a preinstall lifecycle script (preinstall.js) that automatically runs on npm install. The script reads the installer's OS username (from process.env USER/USERNAME) and hostname (os.hostname()), embeds them into a subdomain of a hardcoded 4otph6fase1x2won0hrfzul2wt2qqge5.oastify.com callback host, and transmits them via both a DNS lookup and an HTTPS GET to that host at path /depconf/. The behavior is consistent with a dependency-confusion probe using Burp Collaborator (oastify.com) infrastructure; installer identifiers (username, internal hostname, timestamp, package name) are disclosed to a third-party callback domain on every install.\n","modified":"2026-08-06T23:50:03.955031316Z","published":"2026-08-06T16:19:30Z","database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","versions":["99.0.0"],"id":"IN-MAL-2026-016680","import_time":"2026-08-06T18:09:05.150583525Z","modified_time":"2026-08-06T16:22:04Z","sha256":"6208a0da32b8b7ae795d85ecbf95788b876729db08b0a595ad24f05a02dbbdbe"},{"import_time":"2026-08-06T18:09:04.478112375Z","modified_time":"2026-08-06T16:19:30Z","sha256":"d10e6da61faa186ed684c79707395158b1fd639ebe55ab4b36f13d8f98789fa1","source":"amazon-inspector","versions":["99.0.1"],"id":"IN-MAL-2026-016675"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@wbnr/frontend-shared/v/99.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@wbnr/frontend-shared/v/99.0.1"}],"affected":[{"package":{"name":"@wbnr/frontend-shared","ecosystem":"npm","purl":"pkg:npm/%40wbnr/frontend-shared"},"versions":["99.0.0","99.0.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@wbnr/frontend-shared/MAL-2026-13436.json","cwes":[{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."},{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"}],"indicators":{"package_integrity":[{"filename":"frontend-shared-99.0.0.tgz","hashes":{"sha512_sri":"sha512-ILBG4IsmDmnQjWKchK65cChG/k4uM2p5wY/ytgcVYpzCAluOM9LALSBXa9T+PgprGkmlVKe3D8WGK12lmwXwTw==","sha1":"110a186c4d8b59c46565976372a795ecc1157607"}}],"evidence_files":[{"tlsh":"fc0123f8b3e5eb310cd013c4b16c2e2f565be3a231ce9892085563c207b3a71c310ba8","path":"preinstall.js","sha256":"e54aed4cc27b61f78dd095fb67b92e1dff62bd9508b16f0b56d66357611dbb0d"}]}}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}