MAL-2026-14202

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/chameleon-src/MAL-2026-14202.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-14202
Published
2026-08-19T01:54:04Z
Modified
2026-08-19T02:45:11.171023654Z
Summary
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.

Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-08-19T02:31:07.848371952Z",
            "sha256": "170070f9183f8660c8ab51246ab146d6f03af25dcb6fb027ca73624619d098bc",
            "modified_time": "2026-08-19T01:54:04Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-018280",
            "versions": [
                "6.6.29"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / chameleon-src

Package

Affected ranges

Affected versions

6.*
6.6.29

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/chameleon-src/MAL-2026-14202.json"
indicators
{
    "evidence_files": [
        {
            "sha256": "5ad398325b13e8cbef3117db92379af07fc5760158887b91d2a51f792ee00b84",
            "path": "package.json",
            "tlsh": "18f0ac10cd342f2304c8fb765c69008667608e8b02a87e087bcb462d4f8c36b24ff69d"
        },
        {
            "sha256": "db6229f320f9d053183689dac3824f1589c28eb1389a96dbd31fea7e4b70ff17",
            "tlsh": "7d21ccaca8f65573217b10484b1b14463ab206c22309f992badc8b2f5fc0c25d263d9a",
            "path": "examples/verify.js"
        }
    ],
    "package_integrity": [
        {
            "filename": "chameleon-src-6.6.29.tgz",
            "hashes": {
                "sha1": "f8681289195fc5acd5d74acc31db738e3a637add",
                "sha512_sri": "sha512-gpqvq6jNAELWB08JHzylTE5JKEfJ5YUg4W8SvOzfQJtUlg6uS5D8TdBZH9kDMosvGwq9Qxzx3Xsn4VGXnIRaaA=="
            }
        }
    ]
}
cwes
[
    {
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature."
    }
]