{"id":"MAL-2026-18105","summary":"Malicious code in @securihackbot/depconf-stage-1792484738 (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (d8d8706d2a75c053047537a4f57f754a572a1ca4cec4cde80d00e453878013e1)\nThe package's npm postinstall hook automatically executes on install and transmits installer-identifying data to a hardcoded remote endpoint. It collects os.hostname(), the local username, platform/arch, Node version, package name, and a nonce, base64-encodes the payload, and sends it as a `d=` query parameter via plain-HTTP GET to http://34.143.131.27:18080/x-VA-1/main.js (overridable only via a DEPCONF_CALLBACK_URL env var that defaults to this hardcoded bare IP). A DNS beacon fallback to a configurable collaborator suffix is also issued. The package name (`@securihackbot/depconf-stage-...`) and bundled configure.sh workflow are structured to be re-published under victim-internal scopes so that `npm install` of an internal package name resolves to this artifact from the public registry, at which point the postinstall beacon fires and leaks the host, user, and internal package name back to the operator — a dependency-confusion attack payload against any environment that resolves it.\n","modified":"2026-10-20T19:00:04.366280213Z","published":"2026-10-20T18:45:40Z","database_specific":{"malicious-packages-origins":[{"modified_time":"2026-10-20T18:45:40Z","sha256":"d8d8706d2a75c053047537a4f57f754a572a1ca4cec4cde80d00e453878013e1","source":"amazon-inspector","versions":["1.0.0"],"id":"IN-MAL-2026-021549","import_time":"2026-10-20T18:46:13.740631893Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@securihackbot/depconf-stage-1792484738/v/1.0.0"}],"affected":[{"package":{"name":"@securihackbot/depconf-stage-1792484738","ecosystem":"npm","purl":"pkg:npm/%40securihackbot/depconf-stage-1792484738"},"versions":["1.0.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@securihackbot/depconf-stage-1792484738/MAL-2026-18105.json","indicators":{"evidence_files":[{"path":"postinstall.js","sha256":"8b7be396ba4e3e00e00d6b510c5c68cba2bbed63df3dc3d51fc8a0bd74252c06","tlsh":"bd41949943a8973005f017c1f46e58a7e67bf225378224f3ba1d100527b5d3062f71e3"},{"sha256":"5bf6f54abec58eebf24250b459bcf92bcde5be96b44861f6c2b647cc345b52f1","tlsh":"2b11632b5406473215b8484bb23e1979cb3beaf8f4eb4a6368d9133062cc708a15f322","path":"README.md"}],"package_integrity":[{"hashes":{"sha1":"5ec5155ad7645fe7e48ba8b79b4adcf823de6db1","sha512_sri":"sha512-hz2ndYfgylEQrmK//taR2t5bHdwVHtiUpn6uFguAAr+eUerwFVG3oOOf/ZYp4834SYmWemwfr7edPcFi8w2aNg=="},"filename":"depconf-stage-1792484738-1.0.0.tgz"}]},"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}]}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}