Security context

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

sipeed/picoclaw
main @ bbf6893
38
Fixes
0
CVEs
HIGH
Peak severity
54.3%
Coverage
Highlights
Auth Bypass: 13 prior fixes. Scrutinize any change in this area.
pkg/tools/shell.go: most-fixed (6 issues). Treat as high-risk during review.
27 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: Multiple cron job operations lacked ownership and channel allowlist checks, allowing unauthorized remote users to mutate or execute jobs.
Path Traversal: Multiple sandbox escapes via working_dir, URL scheme exemptions, and symlink/domain-like tokens allowed file access outside the workspace.
Command Injection: Regex-based command execution guards were repeatedly bypassed via shell separators, env expansion, symlinks, and command substitution, requiring expanding deny patterns.