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.pyusing theconvert_to_markdownfunction.\n - Boundary markers: The
extract_llmfunction uses simple text headers (Paper ({source}):) which do not reliably prevent instruction injection.\n - Capability inventory: The skill utilizes
Bashfor script execution,Read/Writefor 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
llmbackend 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 theBashtool grant.\n- [EXTERNAL_DOWNLOADS]: The skill usesuv runto dynamically install themarkitdownpackage (provided by Microsoft) and theopenaipackage from the official Python Package Index (PyPI).
Audit Metadata