Malicious package · npm
Malicious code in ember-quickstart (npm)
1.0.0No safe version. Remove it.What it does
ember-quickstart takes the name of the sample application that the Ember.js Quick Start guide creates (ember new ember-quickstart), but has no functional code, and its description ("A utility for managing SVG buckets.") does not match its name. 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/b5eb2476-7a63-4360-b0af-c1bf1c2fae63, telling the collector the package was installed and from which network. It was published by the npm account akv560572, which has no other packages; the same code, with other webhook.site URLs, was published by the accounts djdhhdjdjf7777 and depipp777.
ember-quickstart@1.0.0 declares a postinstall script that runs node index.js on npm install. index.js collects the installer's hostname via os.hostname() and POSTs a JSON payload (fields including event: 'authorized-poc-test', testId, status) to the hardcoded URL https://webhook.site/b5eb2476-7a63-4360-b0af-c1bf1c2fae63. webhook.site is an anonymous request-inspection service used to receive out-of-band callbacks; the beacon is not disclosed in README, and the package's stated purpose (an SVG bucket utility) is unrelated to the network call. The self-labeled 'authorized-poc-test' string does not constitute installer consent.
No fix · Remove and contain
npm uninstall ember-quickstartSources