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) executes screencapture on macOS and scrot, gnome-screenshot, or import on Linux depending on availability.
  • It executes local helper scripts including ensure_macos_permissions.sh and various Swift files (macos_permissions.swift, macos_window_info.swift) using bash and swift respectively.
  • [DYNAMIC_EXECUTION]: The Windows implementation utilizes dynamic code compilation to access native APIs for window management.
  • The take_screenshot.ps1 script uses the Add-Type cmdlet to compile C# code at runtime, which allows the PowerShell script to invoke Win32 API functions such as GetForegroundWindow and GetWindowRect to 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
Risk Level
SAFE
Analyzed
Sep 23, 2026, 02:33 PM