You're offline — showing cached data

MC-4353

[auto-review] Path traversal vulnerability in screenshot normalization. The function
2026-06-13 08:48:30 SAST
Home Board MC-4353

[auto-review] Path traversal vulnerability in screenshot normalization. The function

**Severity:** high **Location:** mission-control/mc_tessa_gate.py:301 **Flagged by:** gemini **Issue:** Path traversal vulnerability in screenshot normalization. The function `...
State Done Next Action Closed Owner Luci Runtime Closed Age 16d ago
MC-4353
Ticket is done; runtime is closed. · profile claude_opus_1m_medium · cwd /home/lucienne/workspace/mission-control · uptime 16d 4h · last activity 16d 2h ago

Description

MC-4353
**Severity:** high **Location:** mission-control/mc_tessa_gate.py:301 **Flagged by:** gemini **Issue:** Path traversal vulnerability in screenshot normalization. The function `_normalize_screenshot_ref` takes a file path from Tessa's output (untrusted LLM output) and copies it to a web-accessible directory. The code resolves relative paths like `../../../.ssh/id_rsa` against the application's current working directory, allowing an attacker who can control Tessa's output to copy and expose sensitive files from the host filesystem. **Suggested fix:** Validate that the resolved path is within a designated, safe directory before copying. For example, establish a safe base path like `(Path.cwd() / '.scratchpad').resolve()` and ensure that `path.resolve().is_relative_to(safe_base)` is true before performing the copy operation. --- Found by mc-auto-review on 2026-05-28 06:14 SAST. Repos reviewed: workspace, mission-control. auto-review-hash: e6135a7cc7ab

Activity

done
Luci is working...
Live
No activity yet
Help