edu-math-video
Warn
Audited by Gen Agent Trust Hub on Oct 11, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSCREDENTIALS_UNSAFE
Full Analysis
- [DYNAMIC_EXECUTION]: The skill generates animation logic in
anim.jsat runtime based on the interpretation of a math problem. This script is subsequently executed within a Playwright-controlled browser environment during the rendering process. Furthermore,build_audio.pyperforms dynamic loading by importing thepron.pymodule from a computed path relative to the project workspace. - [INDIRECT_PROMPT_INJECTION]:
- Ingestion points: The skill processes user-supplied math problem text and screenshots, which are added to the agent's context during the initial problem-solving phase in
SKILL.md(Step 1). - Boundary markers: The skill lacks explicit delimiters or specific instructions for the agent to ignore potentially malicious embedded commands within the ingested math problem data.
- Capability inventory: The skill possesses capabilities including system command execution via
subprocess.runandchild_process.spawnfor media processing, along with extensive file system read/write access. - Sanitization: No dedicated sanitization or validation mechanisms were found to filter input math problem content before it influences the animation generation logic.
- [COMMAND_EXECUTION]: The skill utilizes
subprocess.runin Python andchild_process.spawnin Node.js to invoke system utilities, primarilyffmpegfor audio and video multiplexing and the macOSsaycommand as a fallback for voice synthesis. These operations are conducted using argument lists, which mitigates simple shell injection but confirms the skill's ability to execute external binaries. - [EXTERNAL_DOWNLOADS]: The skill interacts with the Zhipu AI official API (
https://open.bigmodel.cn) for voice synthesis and speech recognition services. This is an established AI service, and the network communication is necessary for the skill's primary function of generating high-quality audio narration. - [CREDENTIALS_UNSAFE]: To access the Zhipu AI services, the skill requires a
GLM_API_KEY. It follows secure practices by instructing the user to store this sensitive credential in a local.envfile (~/.config/math-problem-video/.env) with restricted file permissions (chmod 600), rather than hardcoding it or exposing it in logs.
Audit Metadata