MAL-2026-14202Malicious code in chameleon-src (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | chameleon-src | 6.6.29 |
{"modified":"2026-08-19T01:54:04Z","published":"2026-08-19T01:54:04Z","schema_version":"1.7.4","id":"MAL-2026-14202","summary":"Malicious code in chameleon-src (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (170070f9183f8660c8ab51246ab146d6f03af25dcb6fb027ca73624619d098bc)\nThe 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.\n","affected":[{"package":{"ecosystem":"npm","name":"chameleon-src"},"versions":["6.6.29"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"package.json","sha256":"5ad398325b13e8cbef3117db92379af07fc5760158887b91d2a51f792ee00b84","tlsh":"18f0ac10cd342f2304c8fb765c69008667608e8b02a87e087bcb462d4f8c36b24ff69d"},{"path":"examples/verify.js","sha256":"db6229f320f9d053183689dac3824f1589c28eb1389a96dbd31fea7e4b70ff17","tlsh":"7d21ccaca8f65573217b10484b1b14463ab206c22309f992badc8b2f5fc0c25d263d9a"}],"package_integrity":[{"filename":"chameleon-src-6.6.29.tgz","hashes":{"sha1":"f8681289195fc5acd5d74acc31db738e3a637add","sha512_sri":"sha512-gpqvq6jNAELWB08JHzylTE5JKEfJ5YUg4W8SvOzfQJtUlg6uS5D8TdBZH9kDMosvGwq9Qxzx3Xsn4VGXnIRaaA=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/chameleon-src/v/6.6.29"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-018280","import_time":"2026-08-19T02:31:07.848371952Z","modified_time":"2026-08-19T01:54:04Z","sha256":"170070f9183f8660c8ab51246ab146d6f03af25dcb6fb027ca73624619d098bc","source":"amazon-inspector","versions":["6.6.29"]}]}}数据来源:OpenSSF Malicious Packages · Apache-2.0