registry  /  crazynut  /  2.0.0

crazynut@2.0.0

Republished package

AI Security Review

scanned 2h ago · by lpm-firewall-ai

Opening the package's HTML main entry automatically imports a third-party remote script and local proxy/service-worker components. The local controller can intercept browser requests and exchange request metadata and cookies across its proxy context.

Static reason
One or more suspicious static signals were detected.; source matched previously finalized malicious package; routed for review; source fingerprint signature matched known malicious package; routed for review
Trigger
A user opens or serves `index.html` in a browser.
Impact
The remote `c.vipersfutbol.com` script runs with the page's origin privileges; the embedded proxy stack can process routed browser traffic and cookie state.
Mechanism
Remote script execution plus browser request/cookie interception.
Attack narrative
The package is presented as an npm artifact but its `main` is a browser page. On page load it executes a script from an unrelated third-party domain and loads local Scramjet proxy code. The bundled service-worker/controller path claims clients, conditionally intercepts fetches, and passes request URLs, headers, bodies, and cookie updates through its RPC layer. This establishes a concrete runtime web-control surface whose remote script can be changed outside the package, although there is no install-time execution.
Rationale
Direct source inspection confirms automatic remote code loading and a browser proxy/service-worker stack that handles routed requests and cookies. There is no npm lifecycle execution, but the concrete runtime attack surface warrants blocking this package artifact.
Evidence
index.htmlbfjdx/757lr8.jsct1tl/pap3do.jsct1tl/csbzam.jsct1tl/jmqwjq.jsj6k3y8.jspackage.json
Network endpoints2
c.vipersfutbol.com/script.jswww.googletagmanager.com/gtag/js?id=G-0VL3ZSBXDH

Decision evidence

public snapshot
AI called this Malicious at 90.0% confidence as Malware with low false-positive risk.
Evidence for block
  • `index.html` executes `https://c.vipersfutbol.com/script.js` automatically when opened.
  • `index.html` loads opaque `bfjdx/757lr8.js` and `ct1tl/pap3do.js` before the app bundle.
  • `j6k3y8.js` installs a service worker that claims clients and routes matching requests.
  • `ct1tl/jmqwjq.js` forwards intercepted requests, headers, bodies, and cookies through a controller RPC.
  • `ct1tl/csbzam.js` injects the Scramjet client and exchanges cookies with the service worker.
Evidence against
  • `package.json` contains no `scripts`, lifecycle hook, or `bin` entry.
  • The browser control surface is activated only by opening `index.html`, not npm installation.
  • `bfjdx/757lr8.js`/`ct1tl/*` appear to implement a web-proxy framework; no fixed exfiltration host was found in those sources.
Behavioral surface
Source
ChildProcessDynamicRequireFilesystemNetworkWebSocket
Supply chain
HighEntropyStringsMinifiedObfuscatedProtestwareUrlStrings
Manifest
NoLicense
scanned 24 file(s), 7.27 MB of source, external domains: 127.0.0.1, aomediacodec.github.io, cdn.jsdelivr.net, cloud-api.livekit.io, curl.se, emscripten.org, fingerprint.com, github.com, m1.openfpcdn.io, react.dev, sj-cache.invalid, twemoji.maxcdn.com, www.w3.org, www.zlib.net

Source & flagged code

9 flagged · loading source
assets/proxy-runtime-1NyFshf9.jsView file
1patternName = aws_access_key severity = critical line = 1 matchedText = var OQ=O...B+=`
Critical
Critical Secret

Package contains a critical-looking secret pattern.

assets/proxy-runtime-1NyFshf9.jsView on unpkg · L1
1patternName = aws_access_key severity = critical line = 1 matchedText = var OQ=O...B+=`
Critical
Secret Pattern

AWS access key ID in assets/proxy-runtime-1NyFshf9.js

assets/proxy-runtime-1NyFshf9.jsView on unpkg · L1
bfjdx/757lr8.jsView file
17L18: //# sourceURL=${A}`)();n=c,o=l}else n=g.z$,o=g.Mt;r.construct&&(l.construct=function(e,t,i){let n,s=!1,a={fn:e,this:null,args:t,newTarget:i,return:e=>{s=!0,n=e},call:()=>(s=!0,n=o(... L19: //# sourceURL=${r.url.href}`),n}return o.body;case"style":return(0,i.sM)(await o.text(),e.context,r.meta);case"sharedworker":case"worker":return(0,i.iP)(new Uint8Array(await o.arra...
Medium
Dynamic Require

Package source references dynamic require/import behavior.

bfjdx/757lr8.jsView on unpkg · L17
assets/ChatPage-zoA8Z6RX.jsView file
1(function(_0x31bba3,_0x379132){const _0x159e7b={_0x26fc34:0x358,_0x56fc24:0x70c,_0x216b69:0x578,_0x22d6fc:0x60b,_0x33af41:0x2a6,_0x514b56:0x7f9,_0x4ccc4c:0x9d1,_0x35dd24:0xfdf,_0x1...
High
Obfuscated Payload Loader

Source contains an obfuscator-style string-array loader that reconstructs and executes hidden code.

assets/ChatPage-zoA8Z6RX.jsView on unpkg · L1
matchType = malicious_source_fingerprint_signature signature = 2d82bc066e3c546d signatureType = suspicious_hashes sourceLabel = final_verdict:malicious matchedPackage = captainindia@2.0.0 matchedPath = assets/ChatPage-zoA8Z6RX.js matchedIdentity = npm:Y2FwdGFpbmluZGlh:2.0.0 similarity = 1.000 shingleOverlap = 14 summary = package final verdict is malicious
High
Known Malware Source Fingerprint Signature

Source fingerprint signature matches a known malicious package signature; route for source-aware review.

assets/ChatPage-zoA8Z6RX.jsView on unpkg
bfjdx/w7m632.wasmView file
path = bfjdx/w7m632.wasm kind = wasm_module sizeBytes = 586279 magicHex = [redacted]
Medium
Ships Wasm Module

Package ships WebAssembly modules.

bfjdx/w7m632.wasmView on unpkg
assets/KaTeX_Script-Regular-D3wIWfF6.woff2View file
path = assets/KaTeX_Script-Regular-D3wIWfF6.woff2 kind = high_entropy_blob sizeBytes = 9644 magicHex = [redacted]
High
Ships High Entropy Blob

Package ships high-entropy non-source blobs.

assets/KaTeX_Script-Regular-D3wIWfF6.woff2View on unpkg
assets/fingerprint-Y5nV5FVa.jsView file
matchType = normalized_sha256 matchedPackage = captainindia@2.0.0 matchedPath = assets/fingerprint-Y5nV5FVa.js matchedIdentity = npm:Y2FwdGFpbmluZGlh:2.0.0 similarity = 1.000 summary = normalized source hash matched finalized malicious source
High
Known Malware Source Similarity

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

assets/fingerprint-Y5nV5FVa.jsView on unpkg
assets/livekit-C0E_jLSz.jsView file
13patternName = generic_password severity = medium line = 13 matchedText = `},e.par...+`\r
Medium
Secret Pattern

Hardcoded password in assets/livekit-C0E_jLSz.js

assets/livekit-C0E_jLSz.jsView on unpkg · L13

Findings

2 Critical5 High6 Medium4 Low
CriticalCritical Secretassets/proxy-runtime-1NyFshf9.js
CriticalSecret Patternassets/proxy-runtime-1NyFshf9.js
HighObfuscated Payload Loaderassets/ChatPage-zoA8Z6RX.js
HighObfuscated
HighShips High Entropy Blobassets/KaTeX_Script-Regular-D3wIWfF6.woff2
HighKnown Malware Source Similarityassets/fingerprint-Y5nV5FVa.js
HighKnown Malware Source Fingerprint Signatureassets/ChatPage-zoA8Z6RX.js
MediumDynamic Requirebfjdx/757lr8.js
MediumNetwork
MediumProtestware
MediumShips Wasm Modulebfjdx/w7m632.wasm
MediumStructural Risk Force Deep Review
MediumSecret Patternassets/livekit-C0E_jLSz.js
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings
LowNo License