Security context

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

openbb-finance/openbb
develop @ f6ad868
14
Fixes
10
CVEs
HIGH
Peak severity
Highlights
Information Disclosure: 6 prior fixes. Scrutinize any change in this area.
frontend-components/tables: most-fixed (2 issues). Treat as high-risk during review.
4 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.

Code Injection: Untrusted branch names can inject malicious payload scripts into GitHub Actions workflow environments. Pinning actions and using intermediate environment variables instead of direct inline script expansion is critical.
Code Execution: Unsafe parsing of dynamic CLI arguments using standard Python eval() allowed remote code execution. Replacing this with ast.literal_eval restricts evaluation to literal structures only.
SQL Injection: Dynamic SQL schema modifications (ALTER TABLE) with unescaped column names permitted SQL injection attacks. Dynamic identifiers must always have their double-quotes properly escaped.