paper-fulltext-extract

Pass

Audited by Gen Agent Trust Hub on Nov 11, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
  • [SAFE]: The skill implements a legitimate workflow for academic research, processing PDF documents via a local Docker-based service (GROBID). No malicious code, unauthorized exfiltration, or obfuscation techniques were detected.
  • [SAFE]: The implementation demonstrates strong security awareness by including explicit sanitization of file stems in extract_fulltext.py to prevent path traversal vulnerabilities when generating output files. It also correctly handles XML namespaces to avoid common data extraction failures.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted external data (PDF and XML scientific papers) as part of its core functionality.
  • Ingestion points: Scientific papers are read from user-specified directories via the --pdf-dir and --tei-dir arguments in extract_fulltext.py and tei_parser.py.
  • Boundary markers: The skill converts TEI XML to Markdown and HTML for potential LLM ingestion without adding explicit boundary delimiters or 'ignore instructions' warnings.
  • Capability inventory: The skill uses urllib.request in grobid_client.py for local network POST requests to the GROBID service and performs file-write operations across several scripts to save results.
  • Sanitization: The skill performs text extraction via xml.etree.ElementTree and sanitizes potential filenames, reducing the risk of schema confusion or file system manipulation.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 11, 2026, 09:13 AM