pdfkit
Pass
Audited by Gen Agent Trust Hub on Sep 7, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill provides tools and patterns for extracting text and form data from PDF documents (e.g.,
document.string,page.string,annotation.widgetStringValue). This data constitutes untrusted input that could contain malicious instructions intended to bypass agent safeguards. - Ingestion points:
PDFDocument(url:)andPDFDocument(data:)methods for loading external files are described inSKILL.mdandreferences/core-implementation.md. Data extraction methods likeextractFormFieldsare detailed inreferences/pdf-generation-and-forms.md. - Boundary markers: The instructions do not define delimiters or specific warnings to ignore instructions embedded within the PDF content.
- Capability inventory: The skill includes capabilities to write to the local file system via
document.write(to:)and open external URLs viaUIApplication.shared.open(url)inside theManagedPDFViewcoordinator inreferences/pdf-viewing-and-annotations.md. - Sanitization: There is no evidence of sanitization, validation, or filtering applied to extracted PDF content before it is presented to the agent context.
Audit Metadata