eval() call detected
High
- Category
- Dangerous Code Execution
- Content
# File existence (skip None to allow --synthetic mode) if not getattr(args, "synthetic", False): for flag, accessor in FILE_ARGS.items(): path = eval(accessor) # safe: only string concat if path is not None and not Path(path).exists(): print(f"ERROR: --{flag} not found: {path}", file=sys.stderr) return 2- Confidence
- 98% confidence
- Finding
- path = eval(accessor) # safe: only string concat
