Skip to content

v1.4.2

Choose a tag to compare

@github-actions github-actions released this 01 Oct 10:45
· 110 commits to main since this release

v1.4.2

Follow-up to v1.4.1. This release closes four audit findings around permissions, secrets, and provider reliability, plus two smaller fixes found by testing.

Changes

  • Provider configs now reject Authorization, x-api-key, x-goog-api-key, and api-key headers in any casing. The adapters set these from the resolved API key, so allowing them meant a config value could silently replace the real credential and store a live key in config.yaml.
  • Sensitive-path escalation now covers foreground shell commands and MCP tool arguments, using the same sensitive-path definition as the file tools. An allow-ruled shell can no longer read credential files without prompting, and neither can an allowed MCP tool through path arguments.
  • Shell env keys are validated ([A-Za-z_][A-Za-z0-9_]*) before process setup on every backend. Malformed keys such as -u or A=B are rejected instead of reaching /usr/bin/env on WSL.

Fixes

  • Provider streams now time out after 60 seconds without body data. Active streams run as long as data keeps arriving; a stalled stream fails as a retryable timeout instead of holding the turn forever.
  • Headless ff run prints MCP warnings (dead servers, missing tools) to stderr. Previously these only showed in /mcp and the status file.
  • MCP server shutdown drains unread stderr before closing the pipe, fixing lost diagnostics from fast-exiting servers (seen as a CI-only failure on ubuntu).

Improvements

  • New bench/startup.ps1 measures cold/warm startup latency with no inference. Measured here: 44.8 ms cold p50, 43.0 ms warm p50 (n=15 each).
  • Every change above ships with regression tests proven to fail against the old behavior.

Full Changelog: v1.4.1...v1.4.2