Repository navigation
v1.4.2
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, andapi-keyheaders 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 inconfig.yaml. - Sensitive-path escalation now covers foreground
shellcommands 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
envkeys are validated ([A-Za-z_][A-Za-z0-9_]*) before process setup on every backend. Malformed keys such as-uorA=Bare rejected instead of reaching/usr/bin/envon 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 runprints MCP warnings (dead servers, missing tools) to stderr. Previously these only showed in/mcpand 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.ps1measures 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