react-hook-scripts
This report shows the evidence for react-hook-scripts@5.4.2, the only known version.
OpenSSF/OSV Malicious Advisory
imported 4mo ago · by OpenSSF/OSVOpenSSF/OSV advisory MAL-2026-10684 confirms this npm version as malicious.
Independent LPM AI assessment
SuspiciousIndependent AI assessment: suspicious. LPM AI assessed this version as suspicious; the assessments disagree.
Source confirms a concealed remote payload execution primitive, but the package contains no observed payload and does not invoke it at install or import time. Treat it as a staged payload carrier requiring a warning rather than a confirmed active malicious chain.
Independent scan evidence
public snapshot- `index.js` fetches `https://svganchordev.net/icons/108`.
- `index.js` passes response field `data.credits` to `new Function`.
- Remote code receives `require`, `process`, `global`, `Buffer`, and filesystem-relative module resolution.
- `README.md` documents React hooks that `index.js` does not export.
- `package.json` has no lifecycle hooks; remote loader runs only when its default export is called.
- No install, preinstall, postinstall, or prepare script exists in `package.json`.
- No direct credential harvesting, file writes, shell execution, or exfiltration code appears in package source.
- `getPlugin` is exported but not invoked during module initialization.
Source & flagged code
2 flaggedSource fingerprint signature matches a known malicious package signature; route for source-aware review.
index.jsView on unpkgFindings
Affected versions and remediation
This report applies to react-hook-scripts@5.4.2.
The versions list below shows the verdict for each recorded version.
- Avoid installing react-hook-scripts@5.4.2. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Source advisory published: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.