{"id":"MAL-2026-6730","summary":"Malicious code in ue-automation-scripts (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (cbc2db9a2a365d53d76fe7ca2a8f219f98118d99b53698cf7ce8b31cf81eda3f)\nPackage name 'ue-automation-scripts' with version 99999.0.0 is the canonical dependency-confusion shape used to hijack installs on internal CI systems that resolve unqualified names against the public npm registry. The preinstall lifecycle script in package.json runs unconditionally on `npm install` and: (1) collects hostname, username, cwd, platform, node version, npm user-agent, and CI indicators; (2) enumerates process.env with a regex matching credential-shaped keys (AWS_, GITHUB_, GH_, NPM_, EPIC_, UE_, HORDE_, P4, CI, BUILD, TOKEN, KEY, SECRET), taking up to 30 matches; (3) POSTs the JSON payload over plain HTTP to the hardcoded bare-IP endpoint http://109.123.247.172/npm/ue_automation_scripts; and (4) performs a DNS lookup encoding hostname and username as a subdomain of ue_automation_scripts.npm.epic-dc.oast.fun (an interactsh/OAST out-of-band interaction service) as a secondary confirmation channel that also works from environments blocking HTTP egress. The Epic/UE/HORDE/P4 targeting indicates the campaign is aimed at Epic Games / Unreal Engine internal build infrastructure (Horde agents, Perforce credentials).\n\n## Source: ghsa-malware (99a6158ac008e16c5150e5cebe3ffa1da95ae8fa9b5391913e75af12c2611f69)\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\n## Source: ossf-package-analysis (312f2d385743023503ed2c86bab1361eff17db32aa8a33d6d4da0015b3650095)\nThe OpenSSF Package Analysis project identified 'ue-automation-scripts' @ 99999.0.0 (npm) as malicious.\n\nIt is considered malicious because:\n\n- The package communicates with a domain associated with malicious activity.\n","aliases":["GHSA-g68g-mm68-67f5"],"modified":"2026-07-10T03:31:48.786369288Z","published":"2026-07-02T21:20:58Z","database_specific":{"malicious-packages-origins":[{"import_time":"2026-07-02T21:28:58.018047956Z","modified_time":"2026-07-02T21:20:58Z","versions":["99999.0.0"],"source":"ossf-package-analysis","sha256":"312f2d385743023503ed2c86bab1361eff17db32aa8a33d6d4da0015b3650095"},{"id":"IN-MAL-2026-008133","modified_time":"2026-07-08T16:29:30Z","versions":["99999.0.0"],"source":"amazon-inspector","sha256":"cbc2db9a2a365d53d76fe7ca2a8f219f98118d99b53698cf7ce8b31cf81eda3f","import_time":"2026-07-08T17:01:33.188319386Z"},{"import_time":"2026-07-10T03:23:39.55384214Z","id":"GHSA-g68g-mm68-67f5","modified_time":"2026-07-10T03:03:08Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"source":"ghsa-malware","sha256":"99a6158ac008e16c5150e5cebe3ffa1da95ae8fa9b5391913e75af12c2611f69"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/ue-automation-scripts/v/99999.0.0"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-g68g-mm68-67f5"}],"affected":[{"package":{"name":"ue-automation-scripts","ecosystem":"npm","purl":"pkg:npm/ue-automation-scripts"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["99999.0.0"],"database_specific":{"indicators":{"evidence_files":[{"path":"package.json","sha256":"3c06acb1d115941b831d632a7d132f87fad6a74cff4bb0fd53994d964ff98f31","tlsh":"c33142f0ba289f7a1da14bd21630610695faf55a3130c870bcf350571bd37740fa2228"}],"package_integrity":[{"hashes":{"sha1":"4f9be54e331e5d64a78f3c1cfb73c1bd7378cc55","sha512_sri":"sha512-XW6i8MdEfV6RaZEYoCAr8rWg+rhuOWTSFJluRAXGJyGzg/lFKQE/X2KXQDXryIocEYEI9hnQ3LjVtECMlLORYA=="},"filename":"ue-automation-scripts-99999.0.0.tgz"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/ue-automation-scripts/MAL-2026-6730.json","cwes":[{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"},{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."}]}}],"schema_version":"1.7.5","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"OpenSSF: Package Analysis","contact":["https://github.com/ossf/package-analysis","https://openssf.slack.com/channels/package_analysis"],"type":"FINDER"}]}