extract-from-pdfs
Pass
Audited by Gen Agent Trust Hub on Oct 17, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes scientific literature from external and untrusted sources (PDFs, abstracts, and bibliography metadata). A maliciously crafted document could contain hidden instructions designed to bypass the extraction logic or manipulate the structured output.
- Ingestion points: Data enters the pipeline through
scripts/01_organize_metadata.py(metadata files),scripts/02_filter_abstracts.py(abstract text), andscripts/03_extract_from_pdfs.py(PDF content). - Boundary markers: The prompts in
scripts/03_extract_from_pdfs.pyuse XML delimiters such as<analysis>,<output_schema>, and<output>to separate instructions from untrusted data. - Capability inventory: The skill possesses network capabilities (accessing Anthropic and scientific APIs) and file system access (reading PDFs and writing data in multiple formats).
- Sanitization: The pipeline uses the
json-repairandjsonschemalibraries inscripts/04_repair_json.pyto validate and correct structured outputs against a predefined schema. - [EXTERNAL_DOWNLOADS]: The skill queries well-known scientific and geographic databases for data enrichment in
scripts/05_validate_with_apis.py, including GBIF, World Flora Online, GeoNames, OpenStreetMap (Nominatim), PubChem, and NCBI Gene.
Audit Metadata