stitched-full-page-capture
Pass
Audited by Gen Agent Trust Hub on Nov 11, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The script
scripts/stitch_full_page_capture.mjsingests untrusted data from amanifest.jsonfile which defines the capture parameters. - Ingestion points: The script reads
pageUrl,fullPageImage, andsectionImages[].filefrom the user-provided manifest file. - Capability inventory: The script utilizes Playwright for automated web browsing and
ffmpegfor writing image files to the disk. - Boundary markers: There are no delimiters or instructions to ignore potentially malicious content within the manifest data.
- Sanitization: The script does not perform path sanitization or validation on the image output paths, which may allow an attacker to use directory traversal sequences (e.g.,
../../) to overwrite sensitive files outside of the intended project directory. - [COMMAND_EXECUTION]: The utility executes system commands
ffmpegandsipsusingnode:child_process. Although the implementation uses safe argument-passing patterns, the lack of validation on the file paths sourced from the manifest means the skill could be used to read from or write to unintended locations on the host system. - [EXTERNAL_DOWNLOADS]: The helper script dynamically loads the
playwrightlibrary from the local environment'snode_modules. This introduces a dependency on external code that must be installed by the user, which is a standard but noteworthy surface for supply chain risks.
Audit Metadata