Phase 6: add SecurityAgent (OWASP Top 10) #16
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Add a dedicated security agent that reviews code, config, and shell files for OWASP Top 10 vulnerabilities (injection, broken auth, sensitive data exposure, misconfiguration, vulnerable components, etc.). Register it in AGENT_REGISTRY and add it to the run-wuming.fish defaults.
Exploration findings and plan of attack:
Key files:
src/wuming/agents/security.py(new) — SecurityAgent subclassing BaseAgentsrc/wuming/router.py— add import + registry entryrun-wuming.fish— addsecurityto default agentsROADMAP.md,CLAUDE.md,README.md— docs updateApproach:
The existing agents all follow the same pattern: a BaseAgent subclass with
name,file_patterns(tuple), andsystem_promptclass vars. The security agent covers a union of code, config, and shell file patterns — all three are attack surfaces.System prompt covers all OWASP Top 10 (2021): A01 Broken Access Control, A02 Cryptographic Failures, A03 Injection, A04 Insecure Design, A05 Security Misconfiguration, A06 Vulnerable & Outdated Components, A07 Identification & Authentication Failures, A08 Software & Data Integrity Failures, A09 Security Logging & Monitoring Failures, A10 SSRF.
Sequence:
tests/test_agents.pyandtests/test_router.pysecurity.py+ register inrouter.pyrun-wuming.fishdefaults