webpage-to-pdf
Pass
Audited by Gen Agent Trust Hub on Oct 25, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [SAFE]: The skill provides a legitimate utility for converting webpages to PDFs via Chrome screenshots. It uses standard Python libraries (Selenium, Pillow) and its entire logic is contained within the skill's source files. The modification of
Image.MAX_IMAGE_PIXELSincore.pyis an expected configuration for stitching large webpage screenshots and does not pose a threat in this context. - [EXTERNAL_DOWNLOADS]: The skill relies on Selenium Manager to download the
chromedriverbinary from official Google repositories. This is standard behavior for the Selenium 4.x library and is considered a safe operation for browser automation. - [INDIRECT_PROMPT_INJECTION]: The skill processes external web content, creating a theoretical attack surface for indirect prompt injection. However, the risk is mitigated by the following: 1. Ingestion points: The agent visits user-specified URLs using
driver.get()incli.py. 2. Boundary markers: Not applicable as the tool generates visual output. 3. Capability inventory: The tool uses theBashtool to run the CLI,webdriver.Chromefor network access, andImage.saveto write the final PDF. 4. Sanitization: Filenames are derived from URLs using a safe slugification process incli.pyto prevent path traversal, and the image-based PDF output prevents the agent from processing instructions that might be contained within the rendered text of a malicious page.
Audit Metadata