MAL-2025-190886

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

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

Source: amazon-inspector (79eae844852de94f0a7cd6826f344e60fe40945cdacfaa3d3d589c965ade4ad1)

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

Source: google-open-source-security (b3751a8050beed95d0bc8e5ae8ca9c915c9e5733b6032ad72bbe7e602c6099ac)

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": "79eae844852de94f0a7cd6826f344e60fe40945cdacfaa3d3d589c965ade4ad1",
            "source": "amazon-inspector",
            "modified_time": "2025-11-24T16:31:47Z",
            "import_time": "2025-11-24T16:39:41.937118537Z",
            "versions": [
                "0.0.3"
            ]
        },
        {
            "sha256": "b3751a8050beed95d0bc8e5ae8ca9c915c9e5733b6032ad72bbe7e602c6099ac",
            "source": "google-open-source-security",
            "modified_time": "2025-11-25T00:16:49Z",
            "import_time": "2025-11-25T00:17:32.81745Z",
            "versions": [
                "0.0.3"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @posthog/nextjs

Package

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

Affected ranges

Affected versions

0.*
0.0.3

Database specific

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