tutor-math-geometry

Fail

Audited by Gen Agent Trust Hub on Oct 18, 2026

Risk Level: HIGHDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
  • [DYNAMIC_EXECUTION]: The core workflow involves the AI agent generating a Python script (script.py) based on a math problem analysis and a storyboard. This script is then executed by the system using the manim command. While scripts/check.py verifies the structural presence of required functions (like calculate_geometry), it does not perform a security audit of the logic within the generated script, allowing for the execution of arbitrary Python code.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted input in the form of math problems (images or text) provided by users. This input is used to generate the storyboard and the final animation script. An attacker could embed malicious instructions within a "math problem" to influence the generated code or storyboard.
  • Ingestion points: SKILL.md (Step 1: analyze_problem) reads user-provided images or text.
  • Boundary markers: None identified in the provided skill files to separate user data from instructions.
  • Capability inventory: The skill uses subprocess.run in scripts/render.py and scripts/validate_audio.py to execute external commands.
  • Sanitization: No evidence of sanitization or validation of the content of the user-provided math problem before it influences code generation.
  • [EXTERNAL_DOWNLOADS]: The skill references the installation of uv via curl -LsSf https://astral.sh/uv/install.sh | sh in init.py and sample/geometry_proof/render.sh. Although these are provided as installation hints or printed messages to the user and not executed automatically by the agent, they point to an external script. However, astral.sh is the official domain for a well-known technology provider (Astral), making this reference acceptable under standard practices.
  • [COMMAND_EXECUTION]: Multiple Python scripts (init.py, scripts/render.py, scripts/validate_audio.py) use subprocess.run to execute shell commands such as checking tool versions and running the Manim rendering engine. This is required for the skill's functionality but relies on the safety of the environment and the generated code.
Recommendations
  • HIGH: Downloads and executes remote code from: https://astral.sh/uv/install.sh - DO NOT USE without thorough review
Audit Metadata
Risk Level
HIGH
Analyzed
Oct 18, 2026, 11:17 AM