Pass
Audited by Gen Agent Trust Hub on Nov 14, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted PDF files and JSON configuration files across multiple scripts. This creates a surface for indirect prompt injection where malicious content embedded in a PDF or a crafted JSON file could influence the agent's behavior if the extracted data is used in subsequent prompts without proper sanitization.
- Ingestion points: The skill reads external PDF files via
pypdf,pdfplumber, andpdf2imagein scripts likeextract_form_field_info.py,extract_form_structure.py, andfill_pdf_form_with_annotations.py. It also readsfields.jsonandfield_values.jsonfiles. - Boundary markers: No explicit instructions are provided to the agent to treat the content of processed PDFs or JSON files as untrusted or to use delimiters.
- Capability inventory: The skill can write to the local filesystem using
pypdfandPIL, and it executes Python scripts that manipulate file paths and data. - Sanitization: There is no evidence of sanitization or escaping of the text extracted from PDFs or read from JSON files before it is processed or potentially included in the agent's context.
- [DYNAMIC_EXECUTION]: The script
scripts/fill_fillable_fields.pyperforms a runtime monkeypatch of thepypdflibrary. It replaces theDictionaryObject.get_inheritedmethod with a custom implementation to handle specific PDF field attribute structures. While this appears to be a legitimate fix for a library limitation, runtime modification of library code is a form of dynamic execution that can introduce unexpected behavior.
Audit Metadata