agent/pkg/lib/prompt/security.md
Snider ecd47fe3db revert fcb9c189e5
revert fix(agentic): harden TODO workspace write

Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-18 11:22:27 +00:00

594 B

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.