Malicious package · npm
Malicious code in com.unity.external-dependency-manager (npm)
2.1.1No safe version. Remove it.What it does
com.unity.external-dependency-manager is a dependency-confusion package that takes the name of Unity's External Dependency Manager, a package Unity distributes from its own registry rather than npm; it has no functional code and its description is "A utility for managing SVG buckets." Its postinstall script runs node index.js on npm install, which POSTs a JSON beacon (event: "authorized-poc-test", a random test id, status: "executed") to https://webhook.site/6fc1b78a-5046-4192-abc9-edf993a31b33, revealing to the collector that the package was installed and from which network. It was published by the npm account depipp777, which has no other packages.
Package name mimics the Unity com.unity.* namespace while its contents are unrelated. package.json declares postinstall: node index.js, and on npm install the script reads os.hostname() and process.cwd() and POSTs them, together with a generated UUID and an authorized-poc-test event marker, to the hardcoded collector https://webhook.site/6fc1b78a-5046-4192-abc9-edf993a31b33. The shape — namespace squat + automatic install-time beacon of host identifiers to a third-party webhook collector — is dependency-confusion reconnaissance: installer hostnames and working-directory paths leak to an attacker-controlled endpoint without user consent, and the same channel can be used to identify viable internal-build targets for follow-on attacks.
No fix · Remove and contain
npm uninstall com.unity.external-dependency-managerSources