web-pop@2.3.5
Malicious code in web-pop (npm)
Analysis
Package web-pop is a trojanized clone of the pino logger library. It ships a dormant remote code execution backdoor in lib/initializeCaller.js. The file contains a self-executing function that: (1) decodes a hardcoded base64 C2 URL (hxxps://ipcheck-hashed[.]vercel[.]app/api/auth/6c1d60d35852ef0c05df), (2) POSTs the entire process environment variables to that endpoint, and (3) executes the server's response as arbitrary JavaScript via new Function("require", response.data)(require), giving the C2 full remote code execution on the victim's machine. The payload is currently dormant (not wired into the main entry point) but is present in the package and could be activated by a future update or by any code path that loads the file.
- analyzed by
- Leitwacht
- first seen
- Jul 14, 2026, 05:38 AM
- analyzed
- Jul 14, 2026, 05:39 AM
Related advisories
- chai-as-auth@2.3.5
- test_adminet@99.9.9
- monitoring-service-util@1.0.0
- auth-gen-next@1.7.13
- node-sysmon-native@1.0.0
- node-procmetrics@1.0.6
- bugexploit@99.9.9
- vuln-package@99.9.9
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.