MAL-2025-190998

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/react-native-get-pixel-dimensions/MAL-2025-190998.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2025-190998
Aliases
  • GHSA-pc7r-3qqx-jjrv
Published
2025-11-24T22:11:55Z
Modified
2025-11-26T00:13:12.071445Z
Summary
Malicious code in react-native-get-pixel-dimensions (npm)
Details

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

Source: amazon-inspector (d3570e34574e0faad44ff9473f62241285d926a86915d14b3593b9c3105520fc)

The package react-native-get-pixel-dimensions was found to contain malicious code.

Source: ghsa-malware (c33b23d6a460a044d3be46c1adb9dd5b825b4c80e43aa67a95a1f2854edfde3e)

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.

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

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": [
        {
            "id": "GHSA-pc7r-3qqx-jjrv",
            "import_time": "2025-11-24T22:23:10.957163971Z",
            "modified_time": "2025-11-24T22:12:11Z",
            "sha256": "c33b23d6a460a044d3be46c1adb9dd5b825b4c80e43aa67a95a1f2854edfde3e",
            "source": "ghsa-malware",
            "versions": [
                "1.0.1",
                "1.0.2"
            ]
        },
        {
            "import_time": "2025-11-24T23:07:24.551814141Z",
            "modified_time": "2025-11-24T22:54:02Z",
            "sha256": "d3570e34574e0faad44ff9473f62241285d926a86915d14b3593b9c3105520fc",
            "source": "amazon-inspector",
            "versions": [
                "1.0.1",
                "1.0.2"
            ]
        },
        {
            "import_time": "2025-11-25T00:17:35.76279Z",
            "modified_time": "2025-11-25T00:16:49Z",
            "sha256": "e6f983cd17eac3ccab99cc8e719737a9bb7c6c1143ce80f6bcb86e1f9c297d55",
            "source": "google-open-source-security",
            "versions": [
                "1.0.1",
                "1.0.2"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / react-native-get-pixel-dimensions

Package

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

Affected ranges

Affected versions

1.*
1.0.1
1.0.2

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/react-native-get-pixel-dimensions/MAL-2025-190998.json"