Skip to content

chore(deps): move zod to 4.6.6+ (cli, rules ^4.4.3; config, crawler ^3.25.76 need a zod 3->4 migration; transitive: MCP packages, tangly/astro, ultracite) and drop the audit ignore #1085

Closed

Description

@nc9

bun audit flags GHSA-mrhx-c7xc-m3w5 (high): Zod can exhaust memory while validating oversized constrained collections, fixed in zod 4.6.6. The tree resolves zod 4.4.3, 4.1.11 and 3.25.76.

Consumers:

  • cli and rules use ^4.4.3: a plain bump.
  • config and crawler use ^3.25.76: moving to 4.6.6+ is a zod 3 to 4 migration.
  • Transitive: the MCP packages, tangly/astro and ultracite.

The audit currently ignores the advisory with a written reason in .github/dependency-audit-allowlist.md. This issue removes that ignore.

Acceptance Criteria

  • bun run audit:dependencies exits 0 without --ignore=GHSA-mrhx-c7xc-m3w5
  • The allowlist entry for GHSA-mrhx-c7xc-m3w5 is removed
  • config and crawler schemas are migrated to zod 4 with tests covering them
  • The full test suite is green

Activity

  1. added
    enhancement
    size: L
    on Oct 23, 2026
  2. nc9 commented on Oct 26, 2026

    @nc9
    ContributorAuthor

    Fixed in #1094 and #1115 (main c082dc9, 287c668): zod is 4.6.7 everywhere and the audit ignore for GHSA-mrhx-c7xc-m3w5 is gone.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementsize: L

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions