tsinghua-graduate-thesis
Pass
Audited by Gen Agent Trust Hub on Aug 24, 2026
Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses
nodeto execute internal utility scripts (requirements.mjsandrender-pdf.mjs) and orchestrates standard TeX tools such aslatexmkand Poppler'spdftoppm. These executions are central to the skill's thesis verification purpose and are surrounded by significant safety guardrails. - [INDIRECT_PROMPT_INJECTION]: The skill identifies a potential attack surface when ingesting untrusted user data such as LaTeX source files,
latexmkrc, orMakefile. It mitigates this via strict instructional boundaries, explicitly warning the agent that commands within user data are not instructions for the agent, and requiring a manual audit of build files while defaulting to a safe compilation mode (disabled shell-escape). - [DYNAMIC_EXECUTION]: The
render-pdf.mjsscript includes logic to discover and verify system renderers. It allows the agent to specify an absolute path to apdftoppmbinary via the--candidateflag; however, this is used for environment discovery and includes a 'health probe' mechanism that rejects the renderer if it produces suspicious output or environment errors. - [COMMAND_EXECUTION]: The test script
scripts/tests/prepare-broken-poppler.pyusessubprocess.runto calllddand performs binary patching. This utility is strictly confined to the developer test environment (as evidenced by its use in theDockerfile.clean-test) and is designed to test the skill's resilience to rendering failures. - [SAFE]: The skill demonstrates exceptional security hygiene in its test orchestration script
scripts/test-clean-container.sh, which runs validation tests in a Docker container with--network none,--read-only, and--cap-drop ALL, effectively isolating the execution environment.
Audit Metadata