Skip to content
OpenAdvisories
Malicious MAL-2026-12787 GHSA-p2vx-mw75-76fw

dynstrg-howto

npm package · versions 1.0.1, 1.1.1

Reported Aug 5, 2026 · Updated Sep 24, 2026

If this package is installed

Remove it, treat the machine (or CI runner) as compromised, and rotate every secret, token and key it could access — from a different, clean machine.

Details

Source: amazon-inspector (800fab99d95f1a2cef6ebf269ca240bf60518735cfb58c7c24b6a8474c72ee77)
package.json declares a preinstall hook that runs index.js on npm install. index.js collects the installer's hostname, username, home directory, DNS server list, and reads /etc/passwd and /etc/hosts, then HTTPS-POSTs the collected JSON to the hardcoded out-of-band endpoint idzskk7dl8mrfoqx6thyhegqbhha50tp.oastify.com (Burp Collaborator subdomain). Execution is automatic on default install; the destination is attacker-controlled and unrelated to any declared package purpose.

Source: ghsa-malware (687ddbe581731d5da84cb2a0e04508c31995cbc7fdd378b53090ac8b9a51a0d2)
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.