transfer-old-latex-to-new

Pass

Audited by Gen Agent Trust Hub on Oct 27, 2026

Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted text data from various file formats (TeX, BibTeX, Docx, PDF, Markdown) which are then processed by an AI agent for content optimization and expansion.
  • Ingestion points: Data enters the context via scripts/core/project_analyzer.py and scripts/core/resource_manager.py during project scanning.
  • Boundary markers: While scripts/core/reference_guardian.py uses regex-based placeholders (e.g., ___REF_...___) to protect LaTeX syntax, it does not provide explicit instruction-isolation boundaries for the ingested user content.
  • Capability inventory: The skill has the capability to perform file writes via scripts/core/migrator.py and execute shell commands via scripts/core/compiler.py.
  • Sanitization: Path normalization and a whitelist-based SecurityManager are implemented in scripts/core/security_manager.py to prevent unauthorized file system modifications outside the defined content slots.
  • [COMMAND_EXECUTION]: The module scripts/core/compiler.py executes external LaTeX compilers and bibliography tools such as xelatex and bibtex using the subprocess module.
  • The command sequence and engine choice are configurable in config.yaml, allowing users to define the execution flow.
  • Commands are executed as argument lists to mitigate shell injection; however, the ability to invoke local binaries remains a significant capability that could be targeted if configuration is tampered with.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 27, 2026, 08:12 AM