MAL-2026-14202
Dashboard / Malicious Package / MAL-2026-14202
MAL-2026-14202
Summary: Malicious code in chameleon-src (npm)
Details: 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.
Affected packages
Package
Name: chameleon-src
Purl: pkg:npm/chameleon-src
Affected ranges
Type: N/A
Events:
