OpenSSF/OSV advisory MAL-2026-14491 confirms this npm version as malicious. 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...
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in chai-as-otc (npm)
Details
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.
Decision reason
OpenSSF Malicious Packages via OSV confirms chai-as-otc@1.0.5 as malicious (MAL-2026-14491): Malicious code in chai-as-otc (npm)