Pass
Audited by Gen Agent Trust Hub on Aug 30, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted PDF documents to extract text, tables, and form field information. This content is then presented to the agent to determine how to fill out forms, which creates a surface for indirect prompt injection if a PDF contains malicious instructions.
- Ingestion points:
scripts/extract_form_field_info.pyandscripts/convert_pdf_to_images.pyingest raw PDF data for analysis. - Boundary markers: Absent. The instructions in
forms.mddo not include specific delimiters or warnings for the agent to disregard instructions that might be embedded within the PDF content. - Capability inventory: The skill has the capability to write files via
scripts/fill_fillable_fields.pyandscripts/fill_pdf_form_with_annotations.py. - Sanitization: No sanitization is performed on the extracted PDF text before it is processed by the agent or used in annotations.
- [DYNAMIC_EXECUTION]: The script
scripts/fill_fillable_fields.pyuses a monkeypatching technique to modify library behavior at runtime. - Evidence: The function
monkeypatch_pydpf_method()redefinespypdf.generic.DictionaryObject.get_inheritedto correct a specific bug in form field value handling in thepypdflibrary. - Context: This modification is hardcoded and used for a legitimate functional purpose rather than executing arbitrary or remote code.
Audit Metadata