Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

minitap-ai/mobile-use
main @ 47cce16
2
Fixes
0
CVEs
HIGH
Peak severity
Highlights
Command Injection: 1 prior fix. Scrutinize any change in this area.
minitap/mobile_use/controllers/mobile_command_controller.py: most-fixed (1 issue). Treat as high-risk during review.
1 high-severity fix in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Command Injection: Using formatted shell strings to execute actions on devices via `device.shell` allowed attackers to execute arbitrary shell commands. This was mitigated by adopting structured argument lists.
YAML Injection: Constructing YAML configuration files or payloads via manual string concatenation allowed untrusted input to manipulate the YAML structure, which was fixed by adopting `yaml.dump` for safe serialization.