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.pyto 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-dirand--tei-dirarguments inextract_fulltext.pyandtei_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.requestingrobid_client.pyfor 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.ElementTreeand sanitizes potential filenames, reducing the risk of schema confusion or file system manipulation.
Audit Metadata