MAL-2026-3643

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/camelotlabs-utils/MAL-2026-3643.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-3643
Aliases
  • GHSA-2j2p-88v8-7xrm
Published
2026-05-07T00:00:00Z
Modified
2026-10-29T14:30:39Z
Summary
Malicious code in camelotlabs-utils (npm)
Details

Five packages (camelotlabs-sdk, camelotlabs-core, camelotlabs-config, camelotlabs-worker, and camelotlabs-utils) were published to the public npm registry at version 99.0.0 by the actor madman0619 as a dependency confusion attack targeting the internal npm packages of Camelot Labs. The inflated version number causes npm to prefer the public malicious package over any internally-hosted version of the same name. All five packages carry an identical payload designed to exfiltrate credentials from Cloudflare Workers projects using Upstash Redis and HMAC signing keys.

On installation the preinstall script executes index.js, which collects hostname, platform, working directory, and environment variables whose names match patterns for API keys, tokens, secrets, HMAC signing keys, Upstash/Redis credentials, Vercel and Cloudflare environment bindings, and database connection strings. It also reads and exfiltrates .env, .env.production, .env.local, wrangler.toml, wrangler.json, and wrangler.jsonc files from the working directory and its parents. All collected data is sent via HTTP POST to the C2 server at http://82.221.101.203:9999/exfil.


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

Source: amazon-inspector (d277387cfcdea41911776ded30cdc04ce0456d17156646a35323ca327997e9c3)

Package camelotlabs-utils version 0.0.0-stage contains two files and no detectable malicious behavior. There are no install or lifecycle scripts fetching or executing remote content, no reads of installer secrets such as ~/.aws, ~/.ssh, ~/.npmrc, or environment credentials, no network beacons to attacker-controlled endpoints, no silent-relay of caller-supplied data, no backdoor or persistence mechanism, and no dependency-chain dropper indicators. The version string suggests a pre-release or staging placeholder publication.

Source: ghsa-malware (fbac07cc979afe49710172fd0be0c18a446a6989fa2c96b9684038e75b407f88)

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "GHSA-2j2p-88v8-7xrm",
            "import_time": "2026-10-28T15:20:42.983738582Z",
            "modified_time": "2026-10-28T14:33:31Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "fbac07cc979afe49710172fd0be0c18a446a6989fa2c96b9684038e75b407f88",
            "source": "ghsa-malware"
        },
        {
            "id": "IN-MAL-2026-022191",
            "import_time": "2026-10-29T14:14:33.168577173Z",
            "modified_time": "2026-10-29T14:00:48Z",
            "sha256": "d277387cfcdea41911776ded30cdc04ce0456d17156646a35323ca327997e9c3",
            "source": "amazon-inspector",
            "versions": [
                "0.0.0-stage"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / camelotlabs-utils

Package

Name
camelotlabs-utils
View open source insights on deps.dev
Purl
pkg:npm/camelotlabs-utils

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.0.0-stage

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    },
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "package_integrity": [
        {
            "filename": "camelotlabs-utils-0.0.0-stage.tgz",
            "hashes": {
                "sha1": "75f9a59ba232b462eec23f3addae9608a66d96b2",
                "sha512_sri": "sha512-dVJnske/VpdHf76bFM1/0HKgroVWi2RVo+rdAtnpWRyimRaUztvafwhtMKMlVNXq/aJ4mGYkAaygDDEfgeO7Yw=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/camelotlabs-utils/MAL-2026-3643.json"