Skip to content

fix(coding-agent): patch vulnerable dependencies - #281

Merged
Pepps233 merged 1 commit into
mainfrom
fix/dependabot-vulnerabilities
Oct 26, 2026
Merged

Pepps233 merged 1 commit into
mainfrom
fix/dependabot-vulnerabilities

Conversation

@Pepps233

@Pepps233 Pepps233 commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Bump Zod 3.25.76 -> 4.6.6 and benchmark filelock from 3.32.7 -> 4.2.1.

Reasoning

The installed MCP SDK built 10,001 validation issues for one oversized completion response before the update; patched Zod rejects it with one size error.

The filelock reproduction deleted an unrelated temporary fixture through a planted SQLite journal before the update; 4.2.1 preserves the fixture.

LiteLLM 1.106.4 still caps filelock below 4, so the benchmark uses an exact uv override with locking compatibility coverage.

Changes

  • Pin Zod 4.6.6 in the root, CLI, and standalone sandbox overrides.
  • Regenerate the root, sandbox, CLI shrinkwrap, and installer locks.
  • Pin benchmark filelock 4.2.1 without updating unrelated Python packages.
  • Add MCP response-validation, sandbox-configuration, planted-journal, and lock-consumer regressions.

Testing

  • ./test.sh passed after supplying existing generated TUI and telemetry artifacts to the fresh worktree.
  • npm ci --ignore-scripts, npm run check:model-data, and npm run check passed against current main.
  • node --test scripts/dependency-security.test.mjs scripts/distribution-lock-resolution.test.mjs: 8 passed.
  • Benchmark unittest discovery with ResourceWarning treated as an error: 200 passed.
  • Production installer npm audit --json: zero vulnerabilities.
  • Earlier validation of the same security changes: 11 Mistral tests passed; standalone sandbox installed with scripts disabled; sandbox CLI executed an allowed command and denied a protected fixture read.

- Pin Zod 4.6.6 across development and CLI distribution locks, and update sandbox-runtime for compatible declarations.
- Pin benchmark filelock 4.2.1 despite the LiteLLM upper bound, with response validation and filesystem-lock regressions.
- Address Dependabot alerts 79-84; retain disclosure of the sandbox-only, unpatched node-forge RSA verification advisory.
@Pepps233 Pepps233 added bug fix dependencies Pull requests that update a dependency file labels Oct 26, 2026
@Pepps233 Pepps233 self-assigned this Oct 26, 2026
@Pepps233
Pepps233 merged commit 4cb6689 into main Oct 26, 2026
37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug fix dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant