Warn
Audited by Gen Agent Trust Hub on Sep 8, 2026
Risk Level: MEDIUMINDIRECT_PROMPT_INJECTIONMETADATA_POISONINGCOMMAND_EXECUTIONDYNAMIC_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted PDF files to extract text, metadata, and visual structure, creating a surface for malicious instructions to influence the agent.
- Ingestion points:
scripts/extract_form_field_info.py(reads PDF field names and values),scripts/extract_form_structure.py(extracts text labels and layout using pdfplumber), andscripts/convert_pdf_to_images.py(renders PDF pages to images for analysis). - Boundary markers: Absent. The instructions in
forms.mddo not provide delimiters or warnings to ignore instructions embedded within the PDF content. - Capability inventory: The skill can write files to the local file system (using pypdf's
PdfWriter.writeand PIL'sImage.save) and suggests the execution of multiple command-line utilities. - Sanitization: Absent. The scripts do not perform validation or escaping of extracted content before presenting it to the agent.
- [METADATA_POISONING]: The
LICENSE.txtfile contains copyright notices and terms attributed to "Anthropic, PBC", while the skill's YAML frontmatter identifies the author as "bitcjm". This contradictory metadata is misleading regarding the skill's provenance and may lead to an incorrect assessment of its safety. - [COMMAND_EXECUTION]: The documentation in
SKILL.mdandforms.mdexplicitly directs the agent to execute external command-line tools includingpdftotext,qpdf,pdftk, andmagick(ImageMagick). - [DYNAMIC_EXECUTION]: The script
scripts/fill_fillable_fields.pyperforms a runtime monkeypatch of thepypdflibrary'sDictionaryObject.get_inheritedmethod. Furthermore, thebuild.shscript executes an external Python utility (strip_comments.py) using a path relative to the repository root, which is outside the immediate skill directory structure.
Audit Metadata