ai@7.0.0-beta.62

AI SDK by Vercel - build apps like ChatGPT, Claude, Gemini, and more with a single interface for any model using the Vercel AI Gateway or go direct to OpenAI, Anthropic, Google, or any other model provider.

  • latest version

    6.0.185

  • first published

    12 years ago

  • latest version published

    1 hours ago

  • licenses detected

    • >=0.0.0-01d6317c-20260129172110 <0.0.1; >=2.0.0
  • Direct Vulnerabilities

    Known vulnerabilities in the ai package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Server-side Request Forgery (SSRF)

    ai is an AI SDK by Vercel - The AI Toolkit for TypeScript and JavaScript

    Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) due to the order of operations in the validateDownloadUrl() implementation in download-blob.ts and download.ts. The fetch() operation called before applying validateDownloadUrl() follows redirects by default. This open redirect response is blocked by the SSRF protection such that it never makes it back to the application or the attacker, but the request made to the redirect target may still succeed, allowing operations on or disruption of internal resources.

    How to fix Server-side Request Forgery (SSRF)?

    There is no fixed version for ai.

    *