MAL-2025-190926

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

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

Source: amazon-inspector (bdc429049d0797390f57bc821cabd2d46fad88c5363136fc96bab4b5497000fe)

The package posthog-react-native was found to contain malicious code.

Source: google-open-source-security (3750278ea88edf0ebcf86392fa3a9179766a1a65004bb33e995c2f627883785e)

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": [
        {
            "source": "amazon-inspector",
            "import_time": "2025-11-24T16:39:43.269547403Z",
            "modified_time": "2025-11-24T16:31:47Z",
            "versions": [
                "4.12.5",
                "4.11.1"
            ],
            "sha256": "bdc429049d0797390f57bc821cabd2d46fad88c5363136fc96bab4b5497000fe"
        },
        {
            "source": "google-open-source-security",
            "import_time": "2025-11-25T00:17:33.167031Z",
            "modified_time": "2025-11-25T00:16:49Z",
            "versions": [
                "4.12.5",
                "4.11.1"
            ],
            "sha256": "3750278ea88edf0ebcf86392fa3a9179766a1a65004bb33e995c2f627883785e"
        }
    ]
}
References
Credits

Affected packages

npm / posthog-react-native

Package

Name
posthog-react-native
View open source insights on deps.dev
Purl
pkg:npm/posthog-react-native

Affected ranges

Affected versions

4.*
4.11.1
4.12.5

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/posthog-react-native/MAL-2025-190926.json"