academic-writing

Pass

Audited by Gen Agent Trust Hub on Oct 10, 2026

Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The script scripts/check_consistency.py uses subprocess.run to execute another Python script, 01-check_citations.py, which is part of the skill's utility set. While this is a local execution within the skill's directory, the use of subprocesses to chain script execution is a capability that should be monitored.
  • [EXTERNAL_DOWNLOADS]: The script scripts/02-bibtex_validator.py makes network requests to api.openalex.org and openrouter.ai to validate and enrich bibliography entries. These are well-known services for scholarly data and AI model access respectively, and the behavior is consistent with the skill's stated purpose of BibTeX validation.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes user-provided LaTeX (.tex) and BibTeX (.bib) files via several scripts (check_consistency.py, latex_section_word_counter.py). This creates an indirect prompt injection surface where malicious instructions could be embedded in LaTeX comments or data fields to influence the agent's behavior during revision or analysis.
  • Ingestion points: User-supplied LaTeX files are read and parsed in scripts/check_consistency.py, scripts/01-check_citations.py, and scripts/latex_section_word_counter.py.
  • Boundary markers: The skill does not implement specific boundary markers or "ignore embedded instructions" prompts when reading the content of the LaTeX files.
  • Capability inventory: The skill has the capability to write to the file system (modifying .bib files), execute sub-processes, and perform network requests to external APIs.
  • Sanitization: The scripts do not perform sanitization of the LaTeX content specifically to filter out potential natural language instructions before the content is presented back to or processed by an AI agent.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 10, 2026, 03:06 AM