latex
Pass
Audited by Gen Agent Trust Hub on Apr 26, 2026
Risk Level: SAFECOMMAND_EXECUTIONDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and analyze untrusted source material (markdown files, plain text, structured data) to generate LaTeX documents. This represents a surface for indirect prompt injection where malicious instructions embedded in the source data could influence the agent's behavior during the analysis phase.
- Ingestion points: Reads source material, markdown files, and structured data via the
Readtool. - Boundary markers: The instructions do not specify the use of delimiters or 'ignore' instructions when processing external input.
- Capability inventory: The skill has access to
WriteandBashtools for document creation and compilation. - Sanitization: The skill includes instructions to escape LaTeX special characters, but lacks sanitization or validation to prevent the execution of instructions hidden within the data.
- [COMMAND_EXECUTION]: The skill uses the
Bashtool to execute LaTeX compilers (pdflatex,xelatex,lualatex) and thelatexmkutility. While these tools are restricted in theallowed-toolsmanifest, LaTeX engines can potentially be exploited to execute shell commands (e.g., via the\write18macro) if not properly configured or if they process untrusted.texinput. - [PRIVILEGE_ESCALATION]: The skill's documentation mentions providing the user with commands involving
sudoorbrewfor platform-specific LaTeX installation. Although the skill correctly mandates presenting these commands to the user for confirmation rather than auto-executing them, the promotion of privileged commands is a notable security surface.
Audit Metadata