Malicious code in ai-pro-sdk (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (b035f137addcf0118c3d042ece322d0fdde054e4ed283317d3b2adb309e38689) [email protected] 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.
AI Analysis
Technical Summary
The ai-pro-sdk package at versions 2.0.1 and 2.0.3 is designed to appear as a legitimate AI SDK provider but ships no actual code in its tarball. The package.json references a main file and files directory that do not exist, and the build script is a no-op. It declares a runtime dependency on data-blockv@^1.0.1, which is unrelated to the advertised functionality and is not referenced elsewhere in the package. Installing ai-pro-sdk results in the installation of data-blockv, which is the likely malicious component. This pattern is consistent with a dropper-shell attack where the primary package is a cover to deliver a malicious sibling dependency.
Potential Impact
Users installing ai-pro-sdk versions 2.0.1 or 2.0.3 will unknowingly install the unrelated data-blockv package, which may contain malicious code. The ai-pro-sdk package itself contains no functional code, so the risk arises from the transitive dependency. This could lead to execution of malicious code on the host system if data-blockv is exploited or contains harmful functionality.
Mitigation Recommendations
No official patch or fix is currently documented for ai-pro-sdk. Users should avoid installing ai-pro-sdk versions 2.0.1 and 2.0.3. Review and audit dependencies before installation, especially for packages with suspicious or missing code. Monitor vendor advisories for any updates or official remediation guidance. Since this is not a cloud service, remediation depends on user action to avoid or remove the affected package.
Malicious code in ai-pro-sdk (npm)
Description
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (b035f137addcf0118c3d042ece322d0fdde054e4ed283317d3b2adb309e38689) [email protected] 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.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The ai-pro-sdk package at versions 2.0.1 and 2.0.3 is designed to appear as a legitimate AI SDK provider but ships no actual code in its tarball. The package.json references a main file and files directory that do not exist, and the build script is a no-op. It declares a runtime dependency on data-blockv@^1.0.1, which is unrelated to the advertised functionality and is not referenced elsewhere in the package. Installing ai-pro-sdk results in the installation of data-blockv, which is the likely malicious component. This pattern is consistent with a dropper-shell attack where the primary package is a cover to deliver a malicious sibling dependency.
Potential Impact
Users installing ai-pro-sdk versions 2.0.1 or 2.0.3 will unknowingly install the unrelated data-blockv package, which may contain malicious code. The ai-pro-sdk package itself contains no functional code, so the risk arises from the transitive dependency. This could lead to execution of malicious code on the host system if data-blockv is exploited or contains harmful functionality.
Mitigation Recommendations
No official patch or fix is currently documented for ai-pro-sdk. Users should avoid installing ai-pro-sdk versions 2.0.1 and 2.0.3. Review and audit dependencies before installation, especially for packages with suspicious or missing code. Monitor vendor advisories for any updates or official remediation guidance. Since this is not a cloud service, remediation depends on user action to avoid or remove the affected package.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10629
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a577ef668715ace43b41c72
Added to database: 07/15/2026, 12:37:10 UTC
Last enriched: 07/15/2026, 12:59:16 UTC
Last updated: 07/26/2026, 21:16:55 UTC
Views: 57
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.