Security context

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

deeplethe/forkd
main @ 03d55c2
10
Fixes
0
CVEs
HIGH
Peak severity
50.0%
Coverage
Highlights
Path Traversal: 5 prior fixes. Scrutinize any change in this area.
crates/forkd-cli/src/hub.rs: most-fixed (2 issues). Treat as high-risk during review.
6 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: Malicious snapshot tags or relative paths embedded inside downloaded archives bypass parent-directory boundaries to overwrite arbitrary files on the host during unpack operations. Ensure strict validation checks are consistently executed.
Path Traversal: Untrusted snapshot tags supplied via HTTP API requests can traverse out of the snapshot root path during sandbox creation, exposing critical host directory structures.
Timing Attack: A timing side-channel (length oracle) in bearer token verification allowed attackers to systematically deduce authorization tokens. Validation logic must enforce constant-time and padded evaluations.