MAL-2025-190882

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

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

Source: amazon-inspector (a5b044ae176df3e6019c54c314bdf3ec17c98741510cf5c024f85a07c7e520b1)

The package @posthog/hedgehog-mode was found to contain malicious code.

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

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": [
        {
            "import_time": "2025-11-24T16:39:43.1843919Z",
            "modified_time": "2025-11-24T16:31:47Z",
            "source": "amazon-inspector",
            "sha256": "a5b044ae176df3e6019c54c314bdf3ec17c98741510cf5c024f85a07c7e520b1",
            "versions": [
                "0.0.42"
            ]
        },
        {
            "import_time": "2025-11-25T00:17:33.173379Z",
            "modified_time": "2025-11-25T00:16:49Z",
            "source": "google-open-source-security",
            "sha256": "e6a99b71261b2ff751b1800e834d3b4c199d846688fac1775dba15a7edc4df17",
            "versions": [
                "0.0.42"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @posthog/hedgehog-mode

Package

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

Affected ranges

Affected versions

0.*
0.0.42

Database specific

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