This release includes 3 security fixes for security teams reviewing exposed deployments.
Topics
+14 more
Affected surfaces
Summary
AI summaryAdded a real‑time cost‑per‑line‑of‑code efficiency endpoint.
Full changelog
v1.6.8
Code quality
Resolved all SonarCloud BLOCKER and CRITICAL issues across the codebase.
- 29 BLOCKER fixes — removed redundant
response_modelparams in FastAPI routes (tasks, agents, SBOM), switched toAnnotatedtype hints for dependency injection, fixed a method that always returned the same value - Cognitive complexity reduction — refactored 34 functions across 30+ modules from CC 20-85 down to <15, extracting focused helper functions while preserving all behavior
- Duplicate string literals — extracted 80+ repeated strings into module-level constants across i18n, agent_trust, seed, compliance_policies, cost, grpc_server, hipaa, and TUI
- Test correctness — fixed 10 method signature mismatches in adapter overrides, 4 wrong argument types, and 2 logic issues in tests
Security
- Hardened 25 regex patterns against ReDoS (catastrophic backtracking)
- Added Zip Slip path traversal validation for archive extraction
- Addressed all 65 SonarCloud security hotspots (code fixes + safe annotations)
External contribution
Security Fixes
- Hardened 25 regex patterns against ReDoS
- Added Zip Slip path traversal validation for archive extraction
- Resolved all SonarCloud security hotspots (65 fixes and safe annotations)
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About chernistry/bernstein
Deterministic multi-agent orchestrator for 18 CLI coding agents (Claude Code, Codex, Cursor, Aider, Gemini CLI, OpenAI Agents SDK, and more). MCP server mode (stdio + HTTP/SSE) exposes the orchestrator to any MCP client. Git worktree isolation per agent, HMAC-chained audit trail, cost-aware model routing via contextual bandit. ~11K monthly PyPI downloads, Apache 2.0.
Related context
Related tools
Beta — feedback welcome: [email protected]