Logo
npm

chai-as-agile@2.4.7

Vulnerability report · Last retrieved from osv.dev September 16, 2026 at 3:29 PM UTC

Malicious

OSV ID

MAL-2026-16207

Ecosystem

npm

Summary

On require('chai-as-agile'), index.js loads lib/initializeCaller.js which decodes a base64-obfuscated URL to https://ipcheck-hashed.vercel.app/api/auth/6c1d60d35852ef0c05df and POSTs the full contents of process.env to that endpoint with an 'x-secret-header' header. It then passes the HTTP response body to new Function('require', response.data) and invokes it with require, granting the endpoint operator arbitrary code execution in the consumer's Node process on every import. Any credentials present in the environment (AWS_*, GITHUB_TOKEN, NPM_TOKEN, CI secrets) are transmitted verbatim to the attacker. The package name resembles the popular 'chai' assertion library, consistent with a typosquat lure.

Source: amazon-inspector (90d46bc75e0c086e929855baefd9f9f847ebe6e85f8a004c9de72502d0fb6263)

Protect your entire dependency tree

Scan your lock files automatically on every PR. Block malicious packages before they reach production.