extract-from-pdfs
Pass
Audited by Gen Agent Trust Hub on Mar 11, 2026
Risk Level: SAFEPROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [PROMPT_INJECTION]: The skill processes untrusted scientific literature (PDFs, BibTeX, and RIS files), creating a surface for indirect prompt injection.
- Ingestion points: External data is ingested through
scripts/01_organize_metadata.pyandscripts/03_extract_from_pdfs.py. - Boundary markers: The skill mitigates risks by using XML delimiters (e.g.,
<title>,<abstract>,<analysis>,<output>) in its prompts withinscripts/02_filter_abstracts.pyandscripts/03_extract_from_pdfs.pyto separate untrusted data from instructions. - Capability inventory: The pipeline has file-writing capabilities across multiple formats (CSV, JSON, Python pickle, R RDS, SQLite) via
scripts/06_export_database.py. - Sanitization: The skill uses
json-repairandjsonschemainscripts/04_repair_json.pyto validate and sanitize the structured data extracted by the model. - [COMMAND_EXECUTION]: The script
scripts/06_export_database.pydynamically generates auxiliary Python (.py), R (.R), and SQL (.sql) scripts to assist users with data loading. These scripts are generated from predefined templates using local file paths.
Audit Metadata