tk-course
Pass
Audited by Gen Agent Trust Hub on Oct 24, 2026
Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The
scripts/build_course.pyfile usessubprocess.runto executeffprobefor validating video duration and stream metadata. This is a legitimate functional requirement. The script mitigates risks by resolving the executable path viashutil.whichand validating the target file path through asafe_filefunction that prohibits parent directory traversal, absolute paths, and symlinks. - [SAFE]: The skill implements strong protection against cross-site scripting (XSS) by using
html.escapeacross its rendering engine (e.g.,scripts/app_shell.py,scripts/render_page.py, andscripts/build_course.py). This ensures that user-provided learning materials are safely converted to HTML entities before being embedded in the final course package. - [SAFE]: File management is restricted to authorized project subdirectories. The
artifact-paths.mdreference defines strict ownership and Git-based exclusion checks, ensuring the tool does not interfere with sensitive configuration files or external repository paths.
Audit Metadata