Files
OpenBB/cli/openbb_cli/controllers
T Arjun 0479f7324f fix(cli): replace eval with ast.literal_eval in parse_unknown_args_to_dict (#7390)
eval() on unsanitized CLI input allowed arbitrary code execution via
crafted --key payloads. ast.literal_eval is a safe drop-in that only
parses Python literals and raises ValueError/SyntaxError on expressions.
Also narrows the except clause and fixes the fallback key stripping bug.

Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
2026-03-04 16:17:44 +00:00
..
2025-10-10 23:16:16 +00:00