capture-screen
Pass
Audited by Gen Agent Trust Hub on Nov 27, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes local macOS system utilities to perform screen captures and control application behavior.
- Evidence: Use of
screencaptureinSKILL.mdto capture desktop and window images. - Evidence: Use of
osascriptinSKILL.mdto automate applications like Microsoft Excel and Google Chrome via AppleScript. - Evidence: Execution of a bundled Swift script
scripts/get_window_id.swiftto enumerate active windows using CoreGraphics APIs. - [INDIRECT_PROMPT_INJECTION]: The skill ingests window titles and application names from the operating system, which are external data sources that could be used to influence agent behavior.
- Ingestion points:
scripts/get_window_id.swiftretrieves window metadata (titles and owner names) usingCGWindowListCopyWindowInfo. - Boundary markers: Absent. The metadata is processed for filtering and then printed directly to the output.
- Capability inventory: The skill can execute shell commands (
screencapture,osascript,swift) based on the identification of specific windows. - Sanitization: Absent. Window titles are matched using case-insensitive search and output without validation or escaping.
Audit Metadata