MAL-2026-12787

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/dynstrg-howto/MAL-2026-12787.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12787
Aliases
  • GHSA-p2vx-mw75-76fw
Published
2026-08-05T13:15:13Z
Modified
2026-09-09T03:00:04Z
Summary
Malicious code in dynstrg-howto (npm)
Details

-= Per source details. Do not edit below this line.=-

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.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-014944",
            "import_time": "2026-08-05T14:19:45.414421932Z",
            "modified_time": "2026-08-05T13:15:13Z",
            "sha256": "800fab99d95f1a2cef6ebf269ca240bf60518735cfb58c7c24b6a8474c72ee77",
            "source": "amazon-inspector",
            "versions": [
                "1.0.1"
            ]
        },
        {
            "id": "GHSA-p2vx-mw75-76fw",
            "import_time": "2026-09-08T00:15:11.418476124Z",
            "modified_time": "2026-09-07T16:17:41Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "687ddbe581731d5da84cb2a0e04508c31995cbc7fdd378b53090ac8b9a51a0d2",
            "source": "ghsa-malware"
        },
        {
            "id": "IN-MAL-2026-019775",
            "import_time": "2026-09-09T02:44:24.206489347Z",
            "modified_time": "2026-09-09T02:44:00Z",
            "sha256": "545d5d0e2e8e5ec332762e5afca7db5ad6f8762b0fc5ef5b0739818452497ce3",
            "source": "amazon-inspector",
            "versions": [
                "1.1.1"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / dynstrg-howto

Package

Name
dynstrg-howto
View open source insights on deps.dev
Purl
pkg:npm/dynstrg-howto

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.0.1
1.1.1

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    },
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    },
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "index.js",
            "sha256": "460460430d93d4d48446d86cd0d16ae29ddac7a559191d4c46b5d68853348b69",
            "tlsh": "4a412399a2c917330dd214c0aa0c70842399fa777159e99076df4397af869f8b7326f3"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/dynstrg-howto/MAL-2026-12787.json"