[HIGH:75] Issue Found by Staging CI Review
Severity: HIGH
Confidence: 75/100
PR comment: #1359 (comment)
Description
Prompt injection via unescaped channel/user in lightweight routines — build_lightweight_prompt() directly interpolates notify.channel and notify.user values into LLM prompt via format!() without escaping. Backticks provide no security boundary. Attacker controlling routine config could inject arbitrary prompt instructions.
Auto-created by staging-ci Claude Code review