Security context

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

bobthecow/mustache.php
main @ fd79604
2
Fixes
0
CVEs
HIGH
Peak severity
Highlights
Code Injection: 1 prior fix. Scrutinize any change in this area.
src/Engine.php: most-fixed (1 issue). Treat as high-risk during review.
2 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.

Remote Code Execution: Attackers can exploit arbitrary PHP code injection if the template class prefix configuration option is not strictly validated against safe class-name patterns before being processed in dynamic evaluations.
Code Injection: Untrusted section names placed within PHP comments in compiled templates can break out of comment blocks, allowing arbitrary code injection during template compilation.