Highlights
Insecure File Permissions: 2 prior fixes. Scrutinize any change in this area.
cli/agent_setup.go: most-fixed (1 issue). Treat as high-risk during review.
0 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.
Insecure File Permissions: Writing configuration files with overly broad permissions (0644) allows other local users on the system to read sensitive API keys or connection strings. Restricting this to owner-only permissions (0600) is critical for local configuration files.
Insecure File Permissions: Generating subagent configurations with default permissions risks exposing sensitive agent parameters and execution configurations to local attackers.
Use of Weak Cryptographic Hash: The PostgresStore.LookupByContentHash function relies on a weak hash algorithm for the content_hash argument, exposing the cache lookup mechanism to collision exploits.