win-mouse-native-hardened
Warn
Audited by Gen Agent Trust Hub on Apr 21, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The
win-mouse.cmdscript executes PowerShell with the-ExecutionPolicy Bypassflag, which ignores local script execution restrictions to run the underlying automation logic. - [COMMAND_EXECUTION]: The
scripts/win-mouse.ps1script utilizes theAdd-Typecmdlet to compile C# source code at runtime. This dynamic compilation is required to access theuser32.dllfunctionsSetCursorPosandSendInput, which enable the skill's mouse control capabilities. - [PROMPT_INJECTION]: The skill exhibits an indirect prompt injection surface as it is designed to execute mouse actions based on potentially untrusted coordinate data provided by the user or extracted from the environment.
- Ingestion points: Untrusted coordinates are ingested via user instructions as described in
SKILL.md. - Boundary markers: The skill includes explicit security guardrails in
SKILL.mdandSAFETY.mdthat instruct the agent to use checkpoints for long sequences and verify authorization for remote desktop or VM sessions. - Capability inventory: The script
scripts/win-mouse.ps1provides full mouse interaction capabilities (moving, clicking, dragging) via direct Win32 API calls. - Sanitization: While input arguments are cast to integers, there is no validation to ensure coordinates are within safe bounds or targeting intended UI elements.
Audit Metadata