MAL-2025-190887

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@posthog/nextjs-config/MAL-2025-190887.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2025-190887
Published
2025-11-24T16:31:47Z
Modified
2025-11-26T00:10:56.181762Z
Summary
Malicious code in @posthog/nextjs-config (npm)
Details

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

Source: amazon-inspector (413c527b7ca5fcc3cc28ad0195f527e99f9d0f1061994161eafba170450175b7)

The package @posthog/nextjs-config was found to contain malicious code.

Source: google-open-source-security (1e0b23442ee8f111a93aed8884b9a1c643fd409e28124750b0947805257d70f0)

This package was compromised by the Sha1-Hulud: The Second Coming NPM worm. The malicious payload steals tokens and credentials and publishes them to GitHub. The worm will propogate itself to NPM packages the user owns and establish persistence is a GitHub action. The package may also destroy the user's home directory.

Database specific
{
    "malicious-packages-origins": [
        {
            "sha256": "413c527b7ca5fcc3cc28ad0195f527e99f9d0f1061994161eafba170450175b7",
            "source": "amazon-inspector",
            "modified_time": "2025-11-24T16:31:47Z",
            "import_time": "2025-11-24T16:39:54.122125046Z",
            "versions": [
                "1.5.1"
            ]
        },
        {
            "sha256": "1e0b23442ee8f111a93aed8884b9a1c643fd409e28124750b0947805257d70f0",
            "source": "google-open-source-security",
            "modified_time": "2025-11-25T00:16:49Z",
            "import_time": "2025-11-25T00:17:33.06865Z",
            "versions": [
                "1.5.1"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @posthog/nextjs-config

Package

Name
@posthog/nextjs-config
View open source insights on deps.dev
Purl
pkg:npm/%40posthog/nextjs-config

Affected ranges

Affected versions

1.*
1.5.1

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@posthog/nextjs-config/MAL-2025-190887.json"