Context-Inappropriate Capability
Medium
- Confidence
- 93% confidence
- Finding
- The evaluate() method exposes arbitrary JavaScript execution in the loaded page context, which exceeds what is necessary for a smoke/accessibility/visual QA wrapper. In an agent setting, untrusted prompts or test data could drive this method to read sensitive page state, manipulate application behavior beyond intended testing, or bypass safer high-level automation primitives.
