full-page-screenshot

Pass

Audited by Gen Agent Trust Hub on Nov 4, 2026

Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [DYNAMIC_EXECUTION]: The script scripts/full-page-screenshot.mjs generates a temporary Python script (_stitch.py) at runtime to handle image tile merging when pages exceed Chrome's memory limits. This generated script is subsequently executed using the system's Python interpreter.
  • [COMMAND_EXECUTION]: The tool invokes system binaries including python3 and sips (on macOS) via child_process.execFileSync to process image files and verify the pixel dimensions of the resulting screenshots.
  • [INDIRECT_PROMPT_INJECTION]:
  • Ingestion points: Ingests untrusted content from arbitrary web URLs and existing browser tabs using the Chrome DevTools Protocol.
  • Boundary markers: No boundary markers or explicit instructions are used to prevent the agent from interpreting embedded content in the captured web pages as commands.
  • Capability inventory: Possesses capabilities to write to the file system (fs.writeFileSync) and execute subprocesses (execFileSync).
  • Sanitization: Employs JSON.stringify to escape file paths when building the generated Python script, providing some protection against path-based injection into the stitching logic.
  • [DATA_EXPOSURE]: Reads the DevToolsActivePort file located in platform-specific application data directories (e.g., ~/Library/Application Support/Google/Chrome/) to programmatically discover the browser's remote debugging port.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 4, 2026, 09:12 AM