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.pyandscripts/core/resource_manager.pyduring project scanning. - Boundary markers: While
scripts/core/reference_guardian.pyuses 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.pyand execute shell commands viascripts/core/compiler.py. - Sanitization: Path normalization and a whitelist-based
SecurityManagerare implemented inscripts/core/security_manager.pyto prevent unauthorized file system modifications outside the defined content slots. - [COMMAND_EXECUTION]: The module
scripts/core/compiler.pyexecutes external LaTeX compilers and bibliography tools such asxelatexandbibtexusing thesubprocessmodule. - 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