Malicious code in react-hook-use-debounce-throttle-12 (npm)
The npm package react-hook-use-debounce-throttle-12 contains malicious code that executes a network request to an attacker-controlled IP address during installation. This behavior is inconsistent with the package's advertised functionality and is used to leak information about the installer's environment. The package author metadata is generic and suspicious, and the package versions 1.0.0, 1.0.1, and 1.0.2 are affected. Installing this package can lead to full system compromise.
AI Analysis
Technical Summary
The react-hook-use-debounce-throttle-12 npm package declares a postinstall script that runs a Node.js HTTPS request to a bare IPv4 address (8.140.205.78) on port 80 without TLS, silently swallowing errors. This network activity occurs unconditionally on every npm install, leaking the installer's IP address, install timing, and machine footprint to the operator of the remote host. The package advertises React debounce/throttle hooks but has no legitimate reason for network communication during installation. The author metadata is a generic placeholder with no valid repository, and the package name includes a numeric suffix typical of disposable or republished malicious packages. This behavior constitutes a victim-enumeration and install-tracking attack. According to the GHSA-malware source, any system with this package installed should be considered fully compromised, with immediate rotation of all secrets and keys recommended. Removal of the package does not guarantee elimination of all malicious software introduced.
Potential Impact
Installation of this package results in a network beacon to attacker-controlled infrastructure, leaking sensitive information about the install environment. The package is considered fully compromising, potentially allowing attackers full control over the infected system. All secrets and keys on the compromised machine should be considered exposed and rotated immediately. The presence of this package indicates a high risk of persistent malicious activity beyond the package itself.
Mitigation Recommendations
Remove the react-hook-use-debounce-throttle-12 package immediately if installed. Rotate all secrets and keys stored on the affected machine from a separate, trusted device. Because the package may have granted full control to an attacker, consider a full system audit and reinstallation from a clean state. There is no official patch or fix; avoidance and removal are the only mitigations.
Malicious code in react-hook-use-debounce-throttle-12 (npm)
Description
The npm package react-hook-use-debounce-throttle-12 contains malicious code that executes a network request to an attacker-controlled IP address during installation. This behavior is inconsistent with the package's advertised functionality and is used to leak information about the installer's environment. The package author metadata is generic and suspicious, and the package versions 1.0.0, 1.0.1, and 1.0.2 are affected. Installing this package can lead to full system compromise.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The react-hook-use-debounce-throttle-12 npm package declares a postinstall script that runs a Node.js HTTPS request to a bare IPv4 address (8.140.205.78) on port 80 without TLS, silently swallowing errors. This network activity occurs unconditionally on every npm install, leaking the installer's IP address, install timing, and machine footprint to the operator of the remote host. The package advertises React debounce/throttle hooks but has no legitimate reason for network communication during installation. The author metadata is a generic placeholder with no valid repository, and the package name includes a numeric suffix typical of disposable or republished malicious packages. This behavior constitutes a victim-enumeration and install-tracking attack. According to the GHSA-malware source, any system with this package installed should be considered fully compromised, with immediate rotation of all secrets and keys recommended. Removal of the package does not guarantee elimination of all malicious software introduced.
Potential Impact
Installation of this package results in a network beacon to attacker-controlled infrastructure, leaking sensitive information about the install environment. The package is considered fully compromising, potentially allowing attackers full control over the infected system. All secrets and keys on the compromised machine should be considered exposed and rotated immediately. The presence of this package indicates a high risk of persistent malicious activity beyond the package itself.
Defensive Guidance
Remove the react-hook-use-debounce-throttle-12 package immediately if installed. Rotate all secrets and keys stored on the affected machine from a separate, trusted device. Because the package may have granted full control to an attacker, consider a full system audit and reinstallation from a clean state. There is no official patch or fix; avoidance and removal are the only mitigations.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-5909
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-2x4w-64xc-78fv"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a885f1aacd9273b493f7914
Added to database: 08/21/2026, 14:22:18 UTC
Last enriched: 08/21/2026, 14:27:42 UTC
Last updated: 08/21/2026, 22:24:16 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.