MAL-2026-3644

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/camelotlabs-worker/MAL-2026-3644.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-3644
Aliases
  • GHSA-4mgg-vrvh-32xg
Published
2026-05-07T00:00:00Z
Modified
2026-10-29T14:30:39Z
Summary
Malicious code in camelotlabs-worker (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 (0e0782db9a7d33e51ab9524a42a292ca4079dbd07ae25c7fb57a51877647fa98)

The package consists of two files with no a static rule matches and no traced installer-harm behavior. No lifecycle scripts, no outbound network calls to attacker-controlled destinations, no credential or environment reads, no filesystem persistence, and no code fetched or executed from remote sources are observable. The '0.0.0-stage' version string and minimal content suggest a staging or placeholder release rather than a functional library.

Source: ghsa-malware (3abf4b8acb69887cbb8f7cd9c78406dfc0f1211946e5b9db34aae46840b9e087)

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-4mgg-vrvh-32xg",
            "import_time": "2026-10-28T15:20:43.000534896Z",
            "modified_time": "2026-10-28T14:33:27Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "3abf4b8acb69887cbb8f7cd9c78406dfc0f1211946e5b9db34aae46840b9e087",
            "source": "ghsa-malware"
        },
        {
            "id": "IN-MAL-2026-022190",
            "import_time": "2026-10-29T14:14:33.105010497Z",
            "modified_time": "2026-10-29T14:00:41Z",
            "sha256": "0e0782db9a7d33e51ab9524a42a292ca4079dbd07ae25c7fb57a51877647fa98",
            "source": "amazon-inspector",
            "versions": [
                "0.0.0-stage"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / camelotlabs-worker

Package

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

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-worker-0.0.0-stage.tgz",
            "hashes": {
                "sha1": "fb3e0ca01949c75ab5ed56eaaaf9ade1f39db74d",
                "sha512_sri": "sha512-1e1BV+aCnT6c64THeUYC+Pwm7d3l+6i45WGKTNvAw6b8gqcIrI98rjXXmKBLhcCaOXLw6ekspAIrip+9M7qFGg=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/camelotlabs-worker/MAL-2026-3644.json"