Description-Behavior Mismatch
Medium
- Confidence
- 87% confidence
- Finding
- The script accepts a user-controlled --screenshot path and writes page content to that location without validation or confinement. In an agent/tooling context, this enables arbitrary local file writes within the agent's permissions, which expands the tool from read/fetch behavior into persistent disk modification and can overwrite sensitive files or deposit scraped data in unsafe locations.
