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_PIXELS in core.py is 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 chromedriver binary 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() in cli.py. 2. Boundary markers: Not applicable as the tool generates visual output. 3. Capability inventory: The tool uses the Bash tool to run the CLI, webdriver.Chrome for network access, and Image.save to write the final PDF. 4. Sanitization: Filenames are derived from URLs using a safe slugification process in cli.py to 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
Risk Level
SAFE
Analyzed
Oct 25, 2026, 01:50 AM