MAL-2026-14491
Malicious code in chai-as-otc (npm)
Details
--- _-= Per source details. Do not edit below this line.=-_
## Source: amazon-inspector (cf771adc4f92ba0d79ea56bdcc1e42db57d1bc7421f0dadb0544f619e16b5ca1) On module load, lib/initializeCaller.js (required from index.js) runs an IIFE that POSTs the full process.env to a base64-obfuscated endpoint decoding to https://ipcheck-hashed.vercel.app/api/auth/6c1d60d35852ef0c05df, then passes the HTTP response body to new Function("require", response.data) and invokes it with require, yielding arbitrary Node code execution on the installer's host at load time. The package is framed as a pino-style logging middleware with a 'Successfully synced!' cover string, but the actual behavior is a covert credential harvester and remote loader.
Are you affected?
Enter the version of the package you're using.
Affected packages
No fixed version published yet for chai-as-otc (npm). Pin to a known-safe version or switch to an alternative.