MAL-2026-3641

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/camelotlabs-core/MAL-2026-3641.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-3641
Aliases
  • GHSA-pf82-f9wr-54vx
Published
2026-05-07T00:00:00Z
Modified
2026-10-29T14:30:39Z
Summary
Malicious code in camelotlabs-core (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 (c64aa85407d08ae0bbcb5e0eafe067a5fb4786574152dfc062bc5b20fae6efe6)

camelotlabs-core@0.0.0-stage is a two-file npm package with a pre-release stage version identifier. No install lifecycle scripts, no network activity, no filesystem access to installer-owned secret paths, no credential handling, and no code-fetch-and-execute patterns were observed in the shipped contents. The package appears to be a placeholder or staging release with no functional payload.

Source: ghsa-malware (45021d5e899cb34bf505ef106af0e8987f330b03333b65784415a4f3243baee5)

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-pf82-f9wr-54vx",
            "import_time": "2026-10-28T15:20:43.004089286Z",
            "modified_time": "2026-10-28T14:33:27Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "45021d5e899cb34bf505ef106af0e8987f330b03333b65784415a4f3243baee5",
            "source": "ghsa-malware"
        },
        {
            "id": "IN-MAL-2026-022192",
            "import_time": "2026-10-29T14:14:33.25350215Z",
            "modified_time": "2026-10-29T14:00:57Z",
            "sha256": "c64aa85407d08ae0bbcb5e0eafe067a5fb4786574152dfc062bc5b20fae6efe6",
            "source": "amazon-inspector",
            "versions": [
                "0.0.0-stage"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / camelotlabs-core

Package

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

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-core-0.0.0-stage.tgz",
            "hashes": {
                "sha1": "3382a2e4877ce2a81ba79c3c799fe17e596d632d",
                "sha512_sri": "sha512-zDoiZMQM/amCmmng9pQy/UolISMbWfbT+Jn+ceJoJ2x0MpWVONXq3FQXOy4cLyxxhLL4wFgCYjM7Fmu6hPZyXA=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/camelotlabs-core/MAL-2026-3641.json"