Highlights
Path Traversal: 2 prior fixes. Scrutinize any change in this area.
src/agents/loader.ts: most-fixed (1 issue). Treat as high-risk during review.
2 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: Input parsing routines that support referencing files (e.g., via specialized syntax like '@file') can be abused to read sensitive local files if the resolved paths are not properly validated.
Path Traversal: The dynamic loading of agents from the file system is vulnerable to path traversal if the loader resolves directory paths without verifying they remain inside the intended base directory.