Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

alvinunreal/oh-my-opencode-slim
master @ 438da8d
11
Fixes
0
CVEs
HIGH
Peak severity
Highlights
Auth Bypass: 6 prior fixes. Scrutinize any change in this area.
src/agents/index.ts: most-fixed (4 issues). Treat as high-risk during review.
7 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.

Auth Bypass: Subagents and specialist agents can bypass interaction prompts or inherit sensitive tools (e.g., 'council_session') through permissive default configurations and loose privilege assignment rules.
Path Traversal: Patch execution operations are susceptible to directory traversal beyond workspace and worktree roots if path canonicalization and prefix validation are bypassed during application.
Remote Code Execution: Executing package installation steps during plugin cache warming without ignoring lifecycle scripts allows untrusted manifests to trigger arbitrary code execution.