Security context

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

armur-ai/pentest-swarm-ai
main @ ca19c93
6
Fixes
0
CVEs
HIGH
Peak severity
0.0%
Coverage
Highlights
Auth Bypass: 2 prior fixes. Scrutinize any change in this area.
internal/agent/exploit/executor.go: most-fixed (3 issues). Treat as high-risk during review.
5 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.

Command Injection: The exploit executor is highly vulnerable to command injection via shell metacharacters and quoted arguments in LLM-generated payloads. If parsing mechanisms are bypassed, malicious shell commands can execute with the privileges of the runner.
Server-Side Request Forgery: Automated security tools can be co-opted via SSRF-style vector targeting to scan or attack out-of-scope networks, unauthorized hosts, or sensitive internal loopback interfaces if CIDR/domain allowlists are not consistently enforced.
Remote Code Execution: Execution of arbitrary binary paths by the agent can lead to complete host takeover. Strict enforcement of a coordinator-derived binary allowlist is required to restrict executables to authorized tools only.