MAL-2026-16342

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/pflag29424/MAL-2026-16342.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-16342
Aliases
  • GHSA-8jr8-g7mm-57m6
Published
2026-09-21T03:32:53Z
Modified
2026-10-01T04:45:48Z
Summary
Malicious code in pflag29424 (npm)
Details

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

Source: amazon-inspector (d9b974c9d8555f026dfc5556c4f628d366fbaedca83eab549559fe95fc984602)

index.js (the package's declared main) unconditionally executes on module load: it calls fetch('/profile'), scans the response for a DGA{...} token, and sends either the matched token or the first 300 characters of the response as a query parameter to a hardcoded anonymous collector at https://webhook.site/42c6d937-77c7-42a5-8678-ef06b4501e38. The package has no README, no documented purpose, and a generic throwaway name; the sole effect of loading it is to relay content from the loading context to an attacker-controlled webhook.site endpoint.

Source: ghsa-malware (cd211e848e5775cbc33c73e1f7a6a83bf8b42418e22b32479ba479fdd3430e85)

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-020244",
            "import_time":  "2026-09-21T03:46:39.33150626Z",
            "modified_time":  "2026-09-21T03:32:53Z",
            "sha256":  "d9b974c9d8555f026dfc5556c4f628d366fbaedca83eab549559fe95fc984602",
            "source":  "amazon-inspector",
            "versions":  [
                "1.0.0"
            ]
        },
        {
            "id":  "GHSA-8jr8-g7mm-57m6",
            "import_time":  "2026-10-01T04:32:29.793002822Z",
            "modified_time":  "2026-10-01T03:42:02Z",
            "ranges":  [
                {
                    "events":  [
                        {
                            "introduced":  "0"
                        }
                    ],
                    "type":  "SEMVER"
                }
            ],
            "sha256":  "cd211e848e5775cbc33c73e1f7a6a83bf8b42418e22b32479ba479fdd3430e85",
            "source":  "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / pflag29424

Package

Affected ranges

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

Affected versions

1.*
1.0.0

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"
    }
]
indicators
{
    "evidence_files":  [
        {
            "path":  "index.js",
            "sha256":  "a6d0bf00ec30b9d39a51b5fbc799a3aea7fe3062ae31c58958162767ea9c2fa6",
            "tlsh":  "d6d02223020c8842157ad008b66df00ddd0aeb02ec6ee26ec2028f381b220649c023a6"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "pflag29424-1.0.0.tgz",
            "hashes":  {
                "sha1":  "f3258985cf2fb301b254fd597687d94fad587a4d",
                "sha512_sri":  "sha512-4Tud+3+fnomrJ+Zhj2JP+wz6OYDuzsMcGj1n0fysmqTfJj/D9QRdojWzBW7TapYk03jC258mqOcUYhz8SwdFsg=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/pflag29424/MAL-2026-16342.json"