MAL-2026-5480

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/mcp-server-notion/MAL-2026-5480.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-5480
Aliases
  • GHSA-56wr-9mvj-77pf
Published
2026-06-09T20:34:01Z
Modified
2026-08-20T15:30:12.060307723Z
Summary
Malicious code in mcp-server-notion (npm)
Details

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

Source: amazon-inspector (0423928197ec83ac273fa4a1b66d9e75398b956e7d5027014ff6326c552a46c2)

Package occupies the unscoped name mcp-server-notion to catch misrouted installs of the scoped MCP Notion server. package.json declares "postinstall": "node index.js", and index.js reads os.hostname(), process.cwd(), process.env.npm_config_user_agent, the Node version, and os.platform(), then POSTs them to https://npx-canary-log.vulnerable-live.workers.dev/log. The transmission fires automatically on npm install with no consent prompt or opt-in. The author self-describes the package as a security-research "canary," but the resulting behavior — squatting a confusable name and silently shipping installer host identifiers to a third-party Cloudflare Workers endpoint — is indistinguishable from a typosquat-and-beacon supply-chain attack, and the installer is not the consenting party.

Source: ghsa-malware (972c9d835e33c8ceee2c472aafd539c0369bdd6099e09a7df1eb57b02f6b28a1)

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": [
        {
            "import_time": "2026-06-09T20:45:56.356645589Z",
            "sha256": "0423928197ec83ac273fa4a1b66d9e75398b956e7d5027014ff6326c552a46c2",
            "modified_time": "2026-06-09T20:34:01Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-005223",
            "versions": [
                "0.0.1"
            ]
        },
        {
            "import_time": "2026-06-09T20:45:56.492174225Z",
            "sha256": "275fa8cabb1dbe9b27616a42616c7b9eee8c76e6841677f1ce27a6e317e811fe",
            "modified_time": "2026-06-09T20:34:01Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-005224",
            "versions": [
                "0.0.1"
            ]
        },
        {
            "import_time": "2026-06-12T19:43:36.342874597Z",
            "sha256": "1550bd2024c28fe1b717099c47bc56e638974568084904916d7deb02a15ed509",
            "modified_time": "2026-06-12T19:02:35Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-005816",
            "versions": [
                "0.0.2"
            ]
        },
        {
            "import_time": "2026-06-12T19:43:36.440996243Z",
            "sha256": "aaeddc875e4decaef363c687df30846c0fb582acd1279d6064510d4fc0141b2c",
            "modified_time": "2026-06-12T19:02:35Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-005817",
            "versions": [
                "0.0.2"
            ]
        },
        {
            "import_time": "2026-08-20T15:26:15.514631325Z",
            "sha256": "972c9d835e33c8ceee2c472aafd539c0369bdd6099e09a7df1eb57b02f6b28a1",
            "modified_time": "2026-08-20T14:25:57Z",
            "source": "ghsa-malware",
            "id": "GHSA-56wr-9mvj-77pf",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ]
        }
    ]
}
References
Credits

Affected packages

npm / mcp-server-notion

Package

Affected ranges

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

Affected versions

0.*
0.0.1
0.0.2

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/mcp-server-notion/MAL-2026-5480.json"
indicators
{
    "evidence_files": [
        {
            "sha256": "19b99229d1e68fb0aea2a14f275a7928666838f0fdbde293d5cdeb18c3e58c9a",
            "path": "index.js",
            "tlsh": "303195e190f805351bee46d3e2e9a899a36ff126360678f0b45e02691fc90980771cd2"
        },
        {
            "sha256": "d11d537f6aefd2f34a00ec552205f365020a5fea1e2db9d94365644cef580db5",
            "path": "README.md",
            "tlsh": "1021a32793c1623903d34a363944b6726b3b70b6334210b0f6dd455fea4282983734e6"
        }
    ],
    "domains": [
        "npx-canary-log.vulnerable-live.workers.dev"
    ],
    "package_integrity": [
        {
            "filename": "mcp-server-notion-0.0.1.tgz",
            "hashes": {
                "sha1": "5046887764ba0238288787a2b5d73e2dcabeee8a",
                "sha512_sri": "sha512-zYVB4mPUBmYXgB5ih9AQguSXU88kUKAyGBWD5A4Jxo2LHe0LB8cDLSwtwCYjmgT09koMEOfhzvLztDoKBrwSDQ=="
            }
        }
    ]
}
cwes
[
    {
        "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."
    }
]