MAL-2026-12787

    Dashboard / Malicious Package / MAL-2026-12787

    MAL-2026-12787

    Published: 5 Aug 2026Last Modified: 5 Aug 2026

    Summary: Malicious code in dynstrg-howto (npm)

    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.

    Affected packages

    Package

    Name: dynstrg-howto

    Purl: pkg:npm/dynstrg-howto

    Affected ranges

    Type: N/A

    Events:

    Introduced- None
    Fixed -None

    Affected versions

    1.0.1