webpage-to-pdf
Pass
Audited by Gen Agent Trust Hub on Nov 6, 2026
Risk Level: SAFEDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [DATA_EXFILTRATION]: The skill accepts arbitrary URLs and navigates to them using Selenium without restricting the allowed protocols. This behavior allows the tool to be used to access and render local system files into a PDF via the
file://scheme (e.g.,file:///etc/passwd). - [DATA_EXFILTRATION]: The CLI supports a
--user-data-dirflag which allows the browser instance to load a specific Chrome profile. While documented for session persistence, this capability could be used to access sensitive user data such as session cookies, browsing history, or saved passwords from existing browser profiles. - [DYNAMIC_EXECUTION]: In
webpage2pdf/core.py, the skill explicitly disables Pillow's safety guard against decompression bombs by settingImage.MAX_IMAGE_PIXELS = None. This removes a standard protection against maliciously crafted images that could lead to resource exhaustion or denial of service. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted content from external websites and incorporates elements like the page title and URL directly into the generated PDF and its headers. If the AI agent is subsequently asked to read or summarize the produced PDF, it may be vulnerable to instructions embedded in the source webpage content.
Audit Metadata