MAL-2026-10629

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/ai-pro-sdk/MAL-2026-10629.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-10629
Aliases
  • GHSA-pw5v-v543-v4mp
Published
2026-07-15T02:57:38Z
Modified
2026-07-16T23:49:27.367999154Z
Summary
Malicious code in ai-pro-sdk (npm)
Details

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

Source: amazon-inspector (b035f137addcf0118c3d042ece322d0fdde054e4ed283317d3b2adb309e38689)

ai-pro-sdk@2.0.1 is advertised as a Vercel AI SDK provider for Claude via the Claude Agent SDK, but the published tarball ships no code: package.json declares main as./dist/index.js and files as dist/*/, yet no dist/ directory is present, and the prepare script is a console.log no-op ('Build skipped...'). Alongside the expected @ai-sdk/provider and @anthropic-ai/claude-agent-sdk entries, package.json declares a runtime dependency on data-blockv@^1.0.1, a package unrelated to the advertised purpose and not referenced anywhere in the tarball or README. The net effect of npm install ai-pro-sdk is resolution and installation of data-blockv into the installer's node_modules; because the host package has no functional code, its only on-install effect is to pull this unrelated transitive dependency. This matches the dropper-shell shape where the lure package's advertised functionality is a cover and the actual code-execution surface lives in a sibling dependency name that has no legitimate reason to be present.

Source: ghsa-malware (451b890a986e88fce01d29473c9e9819a70d0c0429587998beb255f153c6dd5f)

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": [
        {
            "source": "amazon-inspector",
            "sha256": "14b76dc0668149523b0c451c3ceb71dfceb5dcadc8634182287917c646b54067",
            "import_time": "2026-07-15T03:07:36.187843366Z",
            "modified_time": "2026-07-15T02:57:38Z",
            "id": "IN-MAL-2026-010596",
            "versions": [
                "2.0.3"
            ]
        },
        {
            "versions": [
                "2.0.1"
            ],
            "sha256": "b035f137addcf0118c3d042ece322d0fdde054e4ed283317d3b2adb309e38689",
            "import_time": "2026-07-15T03:07:36.285723546Z",
            "modified_time": "2026-07-15T02:57:47Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-010597"
        },
        {
            "source": "amazon-inspector",
            "sha256": "e343ae51cdc038956270ff7c3ee3d4bc6da3868178be91675567399a5f07a402",
            "import_time": "2026-07-16T18:54:02.10626711Z",
            "modified_time": "2026-07-16T18:40:16Z",
            "id": "IN-MAL-2026-010739",
            "versions": [
                "2.0.4"
            ]
        },
        {
            "import_time": "2026-07-16T23:33:43.720039246Z",
            "sha256": "451b890a986e88fce01d29473c9e9819a70d0c0429587998beb255f153c6dd5f",
            "modified_time": "2026-07-16T23:29:57Z",
            "versions": [
                "2.0.4",
                "2.0.3",
                "2.0.2",
                "2.0.1"
            ],
            "id": "GHSA-pw5v-v543-v4mp",
            "source": "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / ai-pro-sdk

Package

Affected ranges

Affected versions

2.*
2.0.1
2.0.2
2.0.3
2.0.4

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
indicators
{
    "package_integrity": [
        {
            "filename": "ai-pro-sdk-2.0.3.tgz",
            "hashes": {
                "sha1": "681e4909f49776d6a782192bca7e981097f03e04",
                "sha512_sri": "sha512-ofCHuQCO40pw5RvEMFol5C+xx8xAYjJdTUPnS71nS7NCdu1HYhdWUR9yfPfjdgIXx8VYIzK1y2nKi3vhxm3x+w=="
            }
        }
    ],
    "evidence_files": [
        {
            "tlsh": "cc14e6496af7052945c760b9be5bb0166638a043301cfda5bfcd83a05f8c66897f37e8",
            "sha256": "b97b95abbeba4d8a422e1df60d412eb028aebca6e7872bde61d85172ed78886e",
            "path": "dist/index.js"
        },
        {
            "tlsh": "33917865ce5a5cb32b80294c196841e5d0ba4b9749ccfc48b3fa821e5f4d1bf21fa39d",
            "sha256": "ca93961bd870bb19a9cb3485a990294eb1ecbae49ea5ee77d95a4e4ba6832654",
            "path": "package.json"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/ai-pro-sdk/MAL-2026-10629.json"