screenshot
Pass
Audited by Gen Agent Trust Hub on Sep 23, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill interacts with the operating system by executing various commands to capture screenshots.
- The Python helper (
take_screenshot.py) executesscreencaptureon macOS andscrot,gnome-screenshot, orimporton Linux depending on availability. - It executes local helper scripts including
ensure_macos_permissions.shand various Swift files (macos_permissions.swift,macos_window_info.swift) usingbashandswiftrespectively. - [DYNAMIC_EXECUTION]: The Windows implementation utilizes dynamic code compilation to access native APIs for window management.
- The
take_screenshot.ps1script uses theAdd-Typecmdlet to compile C# code at runtime, which allows the PowerShell script to invoke Win32 API functions such asGetForegroundWindowandGetWindowRectto identify and capture specific windows. - [SAFE]: The skill's operations are transparent and consistent with its stated purpose of providing screenshot functionality. All external calls are to local system utilities, and no external network requests or unauthorized data access patterns were identified.
Audit Metadata