MAL-2026-5240

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/create-cf-token/MAL-2026-5240.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-5240
Aliases
  • GHSA-cf4c-f3hr-3wh4
Published
2026-06-05T00:53:43Z
Modified
2026-08-05T10:06:06Z
Summary
Malicious code in create-cf-token (npm)
Details

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

Source: amazon-inspector (6567c748c8606e9aa7982b7eb2eb585824d9a1e29b951f50fa9c49007eb28804)

No concrete installer-harm signals were observed in this version. The package name suggests a Cloudflare token helper utility, and no exfiltration, install-time remote code execution, credential-distribution, or silent-relay behavior has been corroborated in the package contents. Routing to human review so a reviewer can confirm the package's purpose and behavior before issuing a public verdict.

Source: ghsa-malware (c16042e0d497e283ae066a417b9dfaf1bb88b7f12326f29bda91189f362fb9c3)

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.

Source: google-open-source-security (a6c7977dbc054cdb7fe56da0d2fbd26e2a6fed695deb4263ccbf4adfedd86acb)

The Miasma malware is a self-propagating worm that spreads across the npm registry by abusing weaponized binding.gyp files to achieve execution during package installation, bypassing security tools that only inspect package lifecycle scripts. Upon execution, the malware attempts to exfiltrate credentials and OIDC tokens for various cloud and registry services, and propagates by compromising other packages managed by the stolen accounts or committing backdoor files to GitHub repositories.

Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-06-05T05:50:37.549948Z",
            "modified_time": "2026-06-05T05:12:55.157000667Z",
            "sha256": "a6c7977dbc054cdb7fe56da0d2fbd26e2a6fed695deb4263ccbf4adfedd86acb",
            "source": "google-open-source-security",
            "versions": [
                "1.1.2",
                "1.1.3"
            ]
        },
        {
            "id": "IN-MAL-2026-008807",
            "import_time": "2026-07-08T22:51:22.570811975Z",
            "modified_time": "2026-07-08T22:36:01Z",
            "sha256": "56d9884f6d63e063d1320b8d8efbfb8852f00bd3c18c87b03b445f6978897570",
            "source": "amazon-inspector",
            "versions": [
                "1.1.2"
            ]
        },
        {
            "id": "IN-MAL-2026-008805",
            "import_time": "2026-07-08T22:51:22.346586346Z",
            "modified_time": "2026-07-08T22:35:47Z",
            "sha256": "cb321b42e58485fcbfa0fdfa254b66dd6e36bf1a639975d47614fb8abc4c4d92",
            "source": "amazon-inspector",
            "versions": [
                "1.1.3"
            ]
        },
        {
            "id": "GHSA-cf4c-f3hr-3wh4",
            "import_time": "2026-08-05T00:10:18.0323883Z",
            "modified_time": "2026-08-04T21:55:50Z",
            "sha256": "c16042e0d497e283ae066a417b9dfaf1bb88b7f12326f29bda91189f362fb9c3",
            "source": "ghsa-malware",
            "versions": [
                "1.1.4",
                "1.1.3",
                "1.1.2"
            ]
        },
        {
            "id": "IN-MAL-2026-014247",
            "import_time": "2026-08-05T09:27:47.232580007Z",
            "modified_time": "2026-08-05T08:22:36Z",
            "sha256": "6567c748c8606e9aa7982b7eb2eb585824d9a1e29b951f50fa9c49007eb28804",
            "source": "amazon-inspector",
            "versions": [
                "1.1.4"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / create-cf-token

Package

Name
create-cf-token
View open source insights on deps.dev
Purl
pkg:npm/create-cf-token

Affected ranges

Affected versions

1.*
1.1.2
1.1.3
1.1.4

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"
    },
    {
        "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": "create-cf-token-1.1.2.tgz",
            "hashes": {
                "sha1": "9410d886cea6090e55a4c93c35fcf5e656a47428",
                "sha512_sri": "sha512-5AxJaSG4moFiizvKR0kE86cJgbBDqrawUAIgtLRuYJMBWeWyEMRw472TbtT43InkooluMGflI4RfDPUUquxrxA=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/create-cf-token/MAL-2026-5240.json"