typst
Pass
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses the
Bashtool to execute thetypstCLI for document compilation and runs a local verification script (scripts/verify-typst.sh) to check the environment and CJK font availability. - [DYNAMIC_EXECUTION]: The core workflow involves the agent dynamically generating Typst (
.typ) source files based on user requirements and then executing these files via thetypst compilecommand. This represents runtime compilation of agent-generated code. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest data from user prompts and external files (JSON, CSV) to generate documents, creating a vulnerability surface where untrusted data could influence the output.
- Ingestion points: User instructions for document content (processed by
SKILL.md) and external data sources loaded via functions likejson()orcsv()in generated.typfiles (as seen inreferences/typst-templates.md). - Boundary markers: Absent; there are no specific delimiters or instructions in
SKILL.mdto ignore embedded instructions in user-provided data. - Capability inventory: Shell access via the
Bashtool to run thetypstcompiler (referenced inSKILL.md) and file system access via theWritetool (referenced inSKILL.md). - Sanitization: Absent; the instructions and templates do not implement validation or escaping for interpolated user content.
Audit Metadata