Highlights
Insecure Permissions: 3 prior fixes. Scrutinize any change in this area.
internal/agent/agent.go: most-fixed (2 issues). Treat as high-risk during review.
8 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns
The bug types that recur here, drawn from past fixes, not open vulnerabilities.
Path Traversal: Arbitrary directory deletion was possible via unvalidated paths in the DELETE data directory endpoint. Future filesystem-mutating functions must utilize canonical path validation and prefix checks before executing operations.
Server-Side Request Forgery: LLM agent execution tools allowed pivoting to out-of-scope hosts and local/private network interfaces. Tight target-scope boundaries must be validated across all tools and agent integrations to prevent network probing.
Path Traversal: The authentication profile key resolution logic was vulnerable to path traversal, allowing access to files outside the intended single-segment profiles directory. Profile resolution logic must reject multi-segment paths and URL-encoded slashes.