AI called this Malicious at 98.0% confidence as Malware with low false-positive risk.
Evidence for block
- lib/caller.js fetches remote data from https://jsonkeeper.com/b/D3GLF.
- lib/caller.js executes fetched data.cookie via new Function.constructor("require", s).
- index.js runs lib/caller.js in a detached ignored child process when exported middleware is invoked.
- lib/caller.js retries the remote execution up to five times and suppresses errors.
- Package presents logger-like files/docs while package name is react-next-dom, indicating likely masquerading.
Evidence against
- package.json has no install/preinstall/postinstall lifecycle scripts.
- Remote execution is not triggered merely by npm install or by requiring index.js; it triggers on middleware invocation.
- No direct credential or filesystem harvesting is visible in packaged source before the remote payload executes.
Behavioral surface
SourceChildProcessEnvironmentVarsNetwork
Supply chainHighEntropyStringsUrlStrings
ManifestNo manifest risk signals triggered.
scanned 17 file(s), 52.4 KB of source, external domains: github.com, jsonkeeper.com