Description-Behavior Mismatch
Medium
- Confidence
- 88% confidence
- Finding
- `cleanup_output_dir()` recursively deletes `png`, `excel`, and `ppt` subdirectories and removes files in the user-supplied output directory. Because `--output-dir` is externally controlled and there is no safety boundary, confirmation, or path allowlist, a mistaken or maliciously chosen directory can cause destructive data loss outside the expected dashboard workspace.
