MAL-2026-12424

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/react-native-ui-message/MAL-2026-12424.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12424
Aliases
  • GHSA-w3j6-3pww-qfcw
Published
2026-08-05T12:57:43Z
Modified
2026-08-21T12:30:11Z
Summary
Malicious code in react-native-ui-message (npm)
Details

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

Source: amazon-inspector (615dd38493e2ff2257cfe5fe94b089a9001329b0d68c6b48f7ac491e4fcb205f)

react-native-ui-message@1.0.0 declares a postinstall hook that runs src/utilities/SubscriptionGuard.js. On install the script enumerates non-internal network interfaces via os.networkInterfaces() to obtain the host's MAC address, then POSTs {mac, os: process.platform, path: __dirname} to https://react-native-ui-message.com/api/EntitlementState. It then issues a GET to https://react-native-ui-message.com/api/ValidateLicense/... and passes the response body to Node's vm.runInContext with a context exposing require/process/Buffer, executing arbitrary server-returned JavaScript on the installer's machine. The accompanying integrity check compares a constant string against itself, so no verification of the fetched code occurs. The package presents itself as a pure-JS React Native toast/message component, for which no license-server-controlled remote code path is required.

Source: ghsa-malware (dee8481cdae210e822ba45fe71276dffeb9fd613380963ab7e4d10178298d847)

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.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-014825",
            "import_time": "2026-08-05T13:08:49.429917625Z",
            "modified_time": "2026-08-05T12:57:43Z",
            "sha256": "615dd38493e2ff2257cfe5fe94b089a9001329b0d68c6b48f7ac491e4fcb205f",
            "source": "amazon-inspector",
            "versions": [
                "1.0.0"
            ]
        },
        {
            "id": "GHSA-w3j6-3pww-qfcw",
            "import_time": "2026-08-21T12:26:03.500979162Z",
            "modified_time": "2026-08-21T11:43:09Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "dee8481cdae210e822ba45fe71276dffeb9fd613380963ab7e4d10178298d847",
            "source": "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / react-native-ui-message

Package

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

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.0.0

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    },
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "src/utilities/SubscriptionGuard.js",
            "sha256": "d3563aafe52c819ebdbc1d830a26b7c1376a3814195ba0b1058e9731d6f9358d",
            "tlsh": "045134dc69a7145247b267f85d27501ffba081233240c2657abd83e02ff6414a5a3fdc"
        }
    ],
    "package_integrity": [
        {
            "filename": "react-native-ui-message-1.0.0.tgz",
            "hashes": {
                "sha1": "0bfd450b06dde0f1ef8ead88a0c122eae30a09fc",
                "sha512_sri": "sha512-UlZkYfBiZS5Nd0ubDa2KXuOOPAKfpSQ8MK388hYko/5jbGtactlTa34UcBDKXqzvAUbzimYbkbSK+rmpN/IWGw=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/react-native-ui-message/MAL-2026-12424.json"