alterlab-pdf-extract

Pass

Audited by Gen Agent Trust Hub on Nov 26, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDATA_EXFILTRATIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection because it ingests untrusted data from documents and interpolates it into LLM prompts without sanitization or strong boundary markers.\n
  • Ingestion points: Document content is read in scripts/extract_to_table.py using the convert_to_markdown function.\n
  • Boundary markers: The extract_llm function uses simple text headers (Paper ({source}):) which do not reliably prevent instruction injection.\n
  • Capability inventory: The skill utilizes Bash for script execution, Read/Write for file operations, and network access for LLM API calls.\n
  • Sanitization: No escaping or filtering is applied to the document content before it is sent to the LLM.\n- [DATA_EXFILTRATION]: When the optional llm backend is enabled, the skill sends the content of processed documents to external LLM providers (OpenRouter or OpenAI). This is consistent with the skill's purpose for batch data extraction.\n- [COMMAND_EXECUTION]: The skill runs a local Python script (scripts/extract_to_table.py) to perform document conversion and data extraction, utilizing the Bash tool grant.\n- [EXTERNAL_DOWNLOADS]: The skill uses uv run to dynamically install the markitdown package (provided by Microsoft) and the openai package from the official Python Package Index (PyPI).
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 26, 2026, 06:58 AM