research-literature-review
Pass
Audited by Gen Agent Trust Hub on Aug 25, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses
subprocess.runin several scripts (pipeline_runner.py,compile_latex_with_bibtex.py,convert_latex_to_word.py) to execute LaTeX compilation (xelatex, bibtex) and document conversion (pandoc). This is the primary purpose of the skill. To mitigate risks, the author implemented a security modulescripts/path_scope.pywhich enforces that all file operations and command arguments are restricted to the designated working directory. - [EXTERNAL_DOWNLOADS]: The skill fetches bibliographic metadata and abstracts from established academic services including
api.openalex.org,api.semanticscholar.org, andapi.crossref.org. These are well-known, trusted academic infrastructure providers. The data retrieval is performed via therequestsandurlliblibraries in a controlled manner. - [PROMPT_INJECTION]: The skill possesses an indirect prompt injection surface as it ingests untrusted paper titles and abstracts from external APIs into LLM prompts for relevance scoring (
references/ai_scoring_prompt.md). - Ingestion points: External paper metadata is fetched in
scripts/openalex_search.py,scripts/semantic_scholar_search.py, andscripts/crossref_search.pyand stored in JSONL files. - Boundary markers: The scoring prompt in
references/ai_scoring_prompt.mduses clear JSON-style field labels (e.g., "标题: {title}", "摘要: {abstract}") to separate untrusted data from instructions. - Capability inventory: The skill can execute shell commands via
pipeline_runner.pyto compile documents. - Sanitization: The skill includes
_sanitize_unicodeinscripts/build_reference_bib_from_papers.pyto remove Unicode control characters that could interfere with LaTeX compilation or hide malicious content.
Audit Metadata