exec() call detected
- Category
- Dangerous Code Execution
- 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.
- Content
python 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)
