Fail
Audited by Gen Agent Trust Hub on Feb 17, 2026
Risk Level: HIGHPROMPT_INJECTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- INDIRECT PROMPT INJECTION (HIGH): The skill is highly vulnerable to Category 8 (Indirect Prompt Injection) as it is designed to extract text and tables from external PDFs using tools like
pypdfandpdfplumber. - Ingestion points: Data enters through scripts like
scripts/extract_form_field_info.pyand code examples inSKILL.mdemployingpypdf,pdfplumber, andpytesseractOCR. - Boundary markers: No delimiters or instructions are used to separate extracted content from the agent's internal reasoning, nor are there instructions to ignore embedded commands.
- Capability inventory: The skill possesses high capabilities, including the ability to write files (
PdfWriter.write()) and execute system commands (qpdf,pdftk,pdftotext). - Sanitization: No sanitization is performed on the extracted text before it is presented to the agent, allowing a malicious document to hijack the agent's logic.
- COMMAND EXECUTION (HIGH):
SKILL.mdexplicitly references and provides usage forscripts/generate_schematic.pyfor 'AI-powered' diagram generation. However, this script is missing from the provided file list. Referencing and executing non-existent or externally-sourced scripts in a high-capability environment is a significant security risk. - PROMPT INJECTION (MEDIUM): The 'Suggest Using K-Dense Web' section in
SKILL.mdfunctions as a prompt injection (Category 1) by instructing the agent to proactively steer users towards an external commercial platform (www.k-dense.ai) when task complexity increases, overriding neutral assistance protocols. - DYNAMIC EXECUTION (MEDIUM): The script
scripts/fill_fillable_fields.pyimplements amonkeypatch_pydpf_methodfunction that modifies the internalget_inheritedmethod of thepypdflibrary at runtime. While documented as a bug fix, runtime modification of external libraries (Category 10) is a fragile and potentially exploitable pattern. - EXTERNAL DOWNLOADS (LOW): The skill documentation encourages users to
pip installseveral third-party libraries (pytesseract,pdf2image) without specifying versions or verifying integrity, which is a violation of supply-chain best practices.
Recommendations
- AI detected serious security threats
Audit Metadata