{"id":"MAL-2026-5856","summary":"Malicious code in carousel-controller-mixin (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (c1a4b1be297682ca77d8a92fc502887ee6d718a5541fa88413acdc6accb3ed97)\npackage.json declares both preinstall and postinstall hooks that execute callback.js on every install. callback.js collects username, uid, hostname, cwd, homedir, local and external IPs (via https.get to api.ipify.org) and probes for CI/cloud credential environment variables (AWS_ACCESS_KEY_ID, GITHUB_TOKEN, NPM_TOKEN, DOCKER_PASSWORD) along with GITHUB_REPOSITORY/GITHUB_ACTOR/BUILD_NUMBER context. The collected data is POSTed to a hardcoded Discord webhook (discord.com/api/webhooks/1516163806559076442/\u003credacted\u003e) and additionally exfiltrated through a DNS side-channel: base64-encoded host data is prepended as a subdomain and resolved via dns.resolve() to defeat egress HTTP filtering on CI networks. Self-labeled as a dependency-confusion PoC, the version number 999.0.0 is the canonical floating-version bait used to win internal-name resolution. Harmful to any installer regardless of the 'research' framing.\n\n## Source: ghsa-malware (f91353de7458768895b5ef059ccf6a93e994e1af38203ec719a810898f02a835)\nAny computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.\n","aliases":["GHSA-cm93-hx95-m69r"],"modified":"2026-06-23T07:46:21.683854933Z","published":"2026-06-16T02:15:33Z","database_specific":{"malicious-packages-origins":[{"modified_time":"2026-06-16T02:15:33Z","versions":["999.0.0"],"id":"IN-MAL-2026-006741","source":"amazon-inspector","import_time":"2026-06-16T02:23:12.197716609Z","sha256":"c1a4b1be297682ca77d8a92fc502887ee6d718a5541fa88413acdc6accb3ed97"},{"ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"modified_time":"2026-06-23T06:10:52Z","id":"GHSA-cm93-hx95-m69r","source":"ghsa-malware","import_time":"2026-06-23T07:33:18.917085328Z","sha256":"f91353de7458768895b5ef059ccf6a93e994e1af38203ec719a810898f02a835"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/carousel-controller-mixin/v/999.0.0"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-cm93-hx95-m69r"}],"affected":[{"package":{"name":"carousel-controller-mixin","ecosystem":"npm","purl":"pkg:npm/carousel-controller-mixin"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["999.0.0"],"database_specific":{"cwes":[{"cweId":"CWE-506","name":"Embedded Malicious Code","description":"The product contains code that appears to be malicious in nature."},{"cweId":"CWE-506","name":"Embedded Malicious Code","description":"The product contains code that appears to be malicious in nature."}],"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/carousel-controller-mixin/MAL-2026-5856.json","indicators":{"evidence_files":[{"path":"callback.js","tlsh":"6f12b7a567b1161405e347902a0fa416327af1572756deb0bb9c43192fc0b7c93f2efa","sha256":"bc2bb13a751b66a6c89e02b6307b41bfccc20ca2ac3fe526050ab61202a60101"}],"package_integrity":[{"hashes":{"sha1":"de15efce03e37252c62f107a638ef8a5c057db74","sha512_sri":"sha512-6Ao0C8yrOUbYF+BJq/v3/rBEj2LlW90PNA9qzWKFH+c8XobcFBNt5eD5hEiuDc/VmIzNbygEkdhSvZAxCp9t8w=="},"filename":"carousel-controller-mixin-999.0.0.tgz"}]}}}],"schema_version":"1.7.5","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}