Security context

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

bubbuild/bub
main @ a2b6388
1
Fixes
0
CVEs
MEDIUM
Peak severity
Highlights
Prompt Injection: 1 prior fix. Scrutinize any change in this area.
src/bub/core/router.py: most-fixed (1 issue). Treat as high-risk during review.
0 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.

Prompt Injection: Untrusted command and tool outputs were embedded directly into XML command blocks, allowing model manipulation or injection attacks if the output contained malicious instructions. This was resolved by HTML escaping the values.