Security context

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

cft0808/edict
main @ 14a2075
3
Fixes
0
CVEs
HIGH
Peak severity
Highlights
Path Traversal: 2 prior fixes. Scrutinize any change in this area.
dashboard/server.py: most-fixed (3 issues). Treat as high-risk during review.
1 high-severity fix 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: Attackers could exploit file:// URL schemes in the add_remote_skill function to traverse directories and read arbitrary local system files if path canonicalization and allowed-root prefix validation are bypassed or omitted.
Path Traversal: The read_skill_content function was vulnerable to path traversal (CWE-22) because it verified path existence without resolving and canonicalizing paths against a strict allowed-roots boundary.
SSRF: Feishu webhook URL configurations could be manipulated to point to arbitrary domains, potentially allowing SSRF attacks if external network requests are not restricted to authorized domains.