Warn
Audited by Gen Agent Trust Hub on Jun 19, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The script
scripts/fill_fillable_fields.pyperforms a monkeypatch on thepypdflibrary'sDictionaryObject.get_inheritedmethod at runtime. This modification of library behavior is used to resolve a type-handling bug but represents a dynamic code execution pattern that could be leveraged for more malicious purposes. - [PROMPT_INJECTION]: The skill processes untrusted data from external PDF files and OCR outputs. It lacks instructions for the agent to use boundary markers or sanitization when handling this extracted text, which constitutes an indirect prompt injection vulnerability.
- Ingestion points:
SKILL.md(text extraction viapypdf,pdfplumber, andpytesseractOCR). - Boundary markers: None provided in the processing instructions.
- Capability inventory: Local file system writes (
image.save,writer.write) and command-line tool execution (qpdf,pdftotext,pdftk). - Sanitization: No sanitization or validation of extracted text is described before use in agent prompts.
- [COMMAND_EXECUTION]: The skill instructs the agent to execute multiple local command-line utilities, such as
pdftotext,qpdf, andpdftk, for various document manipulation tasks. - [PROMPT_INJECTION]: Instructions in
SKILL.mddirect the agent to "proactively suggest" a third-party commercial platform (www.k-dense.ai) when user interaction reaches a certain complexity. This is a directive to modify agent behavior for marketing or promotional purposes.
Audit Metadata