desktop-screenshot

Pass

Audited by Gen Agent Trust Hub on Oct 24, 2026

Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill executes a local shell script (scripts/capture.sh) to manage screenshot operations. It also invokes system utilities like grim, niri, and wlr-randr to interact with the Wayland compositor.
  • [EXTERNAL_DOWNLOADS]: The capture script contains a fallback mechanism that uses the Nix package manager (nix shell nixpkgs#grim) to download and run the screenshot tool if it is not found on the system path. This fetches software from the official Nixpkgs repository.
  • [INDIRECT_PROMPT_INJECTION]: The skill provides a surface for indirect prompt injection because the agent is instructed to read and interpret the contents of the desktop screenshots. If the user's screen displays adversarial text (e.g., in a terminal, editor, or browser), the agent might interpret that text as instructions.
  • Ingestion points: Screenshots of the desktop are read by the agent using its image perception capabilities.
  • Boundary markers: No delimiters or instructions are provided to help the agent distinguish between UI elements and potentially malicious text content within the image.
  • Capability inventory: The agent has the ability to execute shell scripts, write to the filesystem, and potentially use other enabled tools based on its analysis of the screen.
  • Sanitization: There is no validation or filtering of the visual content before it is processed by the agent.
  • [DATA_EXPOSURE]: The skill is designed to capture the entire desktop, which may include sensitive information such as notifications, open chat windows, or password managers. The skill instructions acknowledge this risk but do not provide technical enforcement to prevent the capture of sensitive areas beyond recommending specific 'window' or 'region' modes.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 24, 2026, 03:49 PM