@hey-api/openapi-ts@0.0.0-next-20260312005929

🌀 OpenAPI to TypeScript code generator. Production-grade SDKs, Zod schemas, TanStack Query hooks, and 20+ plugins. Used by Vercel, OpenCode, and PayPal.

  • latest version

    0.99.0

  • latest non vulnerable version

  • first published

    2 years ago

  • latest version published

    12 days ago

  • licenses detected

    • >=0.0.0-next-20260205083026 <0.53.10; >=0.60.0
  • Direct Vulnerabilities

    Known vulnerabilities in the @hey-api/openapi-ts 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
    Prototype Pollution

    @hey-api/openapi-ts is a 🌀 OpenAPI to TypeScript code generator. Production-grade SDKs, Zod schemas, TanStack Query hooks, and 20+ plugins. Used by Vercel, OpenCode, and PayPal.

    Affected versions of this package are vulnerable to Prototype Pollution in the buildClientParams process. An attacker can inject arbitrary properties into the prototype chain of the params.query object by supplying specially crafted keys such as $query___proto__ in input objects. This allows the attacker to influence downstream logic that iterates over or checks inherited properties, potentially bypassing authorization or altering request serialization.

    How to fix Prototype Pollution?

    Upgrade @hey-api/openapi-ts to version 0.97.3 or higher.

    <0.97.3