Malicious code in chameleon-src (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-14202
Published--- _-= 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.
- Source published
- 19 Aug 2026 01:54:04 UTC
- Source modified
- 19 Aug 2026 02:45:11 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.