VDB
KO

MAL-2026-14202

Malicious code in chameleon-src (npm)

Details

--- _-= Per source details. Do not edit below this line.=-_

## Source: amazon-inspector (170070f9183f8660c8ab51246ab146d6f03af25dcb6fb027ca73624619d098bc) The package's preinstall lifecycle runs examples/verify.js, which invokes init() defaulting to a hardcoded Sentry DSN (o4510485815754752.ingest.us.sentry.io project 4511805473488896). verify.js calls setUserFromPublicIp() to fetch https://www.cloudflare.com/cdn-cgi/trace and parse the installer's public IP, attaches it as the Sentry event user, deliberately throws inside check() to force an exception capture, and awaits flush(5000) to ensure upload before process exit. Because init() is configured with sendDefaultPii:true, the hostname (server_name) is also attached. Every `npm install` of this package therefore uploads the installer's public IP and hostname to the author's Sentry project without consent, opt-in, or a caller-configurable destination on the install path. The package's one-line description and name ("chameleon-src") do not disclose telemetry collection.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm / chameleon-src

No fixed version published yet for chameleon-src (npm). Pin to a known-safe version or switch to an alternative.

References