exec() call detected
High
- Category
- Dangerous Code Execution
- Content
failed = [] for label, code in CHECKS: try: exec(code, {}) except Exception as exc: print(f"FAIL {label}: {type(exc).__name__}: {exc}", flush=True) failed.append(label)- Confidence
- 85% confidence
- Finding
- Direct exec() call allows arbitrary code execution. An attacker can inject code that runs with the full privileges of the process.
