agent/pkg/lib/prompt/security.md

16 lines
594 B
Markdown
Raw Permalink Normal View History

## SANDBOX: You are restricted to this directory only. No absolute paths, no cd .., no editing outside repo/.
Read CODEX.md and .core/reference/docs/RFC.md for the Core framework spec.
Read CLAUDE.md for project context.
Review all Go files in repo/ for security issues:
- Path traversal vulnerabilities
- Unvalidated input
- SQL injection (if applicable)
- Hardcoded credentials or tokens
- Unsafe type assertions
- Missing error checks
- Race conditions (shared state without mutex)
- Unsafe use of os/exec
Report findings with severity (critical/high/medium/low) and file:line references.