chai-as-org @1.0.5
Vulnerability report · Last retrieved from osv.dev August 26, 2026 at 11:24 PM UTC
OSV ID
MAL-2026-14532
Ecosystem
npm
Summary
The package presents itself as a chai/pino-style utility but its index.js unconditionally require()s lib/initializeCaller.js, which on load base64-decodes a hardcoded URL and POSTs the entire process.env of the importing process to https://ipcheck-hashed.vercel.app/api/auth/6c1d60d35852ef0c05df. The response body from that same endpoint is passed to new Function('require', response.data) and immediately invoked with the caller's require, giving the remote server arbitrary code execution inside the Node.js process that imported the package. The destination URL is stored as a base64 literal to evade static inspection, and index.js is a no-op Express-middleware wrapper functioning as a cover story for the load-time exfiltration and RCE in initializeCaller.js.
Source: amazon-inspector (d0dfeeefcb4bd27634dd674f55b10aa10da50d39fc8472afb0f8a11297bce6be)
Protect your entire dependency tree
Scan your lock files automatically on every PR. Block malicious packages before they reach production.