Skip to content

Conversation

@jkomyno
Copy link
Collaborator

@jkomyno jkomyno commented Nov 24, 2025

This PR:

  • adds pnpm audit --prod check to test suite
  • fixes existing 14 vulnerabilities in composio's dev repository

Note

Adds a production pnpm audit CI step and enforces upgraded, secure dependency versions via pnpm overrides and lockfile updates (including ai, next, hono, js-yaml, form-data, sharp), with examples and workspace catalog aligned.

  • CI:
    • Add pnpm audit --prod step to TS SDK workflow (.github/workflows/ts.test.yml).
  • Dependencies/Security:
    • Add pnpm.overrides in package.json to enforce secure versions of form-data, js-yaml, hono, next, ai, and transitive @mastra/core>ai.
    • Bump/resolve packages across lockfile: ai, @ai-sdk/*, @openrouter/ai-sdk-provider, next (to 16.x), hono (4.10.x), js-yaml (4.1.1), form-data (4.0.5), sharp (0.34.5) and related platform artifacts.
    • Update workspace catalog (pnpm-workspace.yaml) and example apps (ts/examples/*) to align with new versions (e.g., hono ≥4.10.3, @mastra/core ^0.24.5).

Written by Cursor Bugbot for commit b61bb0c. This will update automatically on new commits. Configure here.

@jkomyno jkomyno marked this pull request as ready for review November 24, 2025 20:41
@jkomyno jkomyno requested a review from haxzie as a code owner November 24, 2025 20:41
'@cloudflare/workers-types': ^4.20250917.0
'@composio/client': 0.1.0-alpha.40
ai: 5.0.44
ai: 5.0.52
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Catalog version mismatch with pnpm overrides

The catalog defines ai as exact version 5.0.52, but the pnpm overrides use range >=5.0.52. This creates inconsistent version resolution where packages using catalog: get exactly 5.0.52, while transitive dependencies can resolve to newer versions. For vulnerability fixes requiring minimum versions, the catalog should use ^5.0.52 or >=5.0.52 to match the override behavior and allow security patches.

Additional Locations (1)

Fix in Cursor Fix in Web

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants