skill-creator
Warn
Audited by Gen Agent Trust Hub on Oct 8, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONPRIVILEGE_ESCALATIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The provided Python scripts (
init_skill.py,package_skill.py) perform sensitive file system operations including directory creation and file writing based on user-supplied arguments.\n- [COMMAND_EXECUTION]: A path traversal vulnerability exists inscripts/init_skill.pywhere theskill_nameparameter is joined to the target path without validation. This allows a user to specify absolute paths or use parent directory references (e.g.,..) to create directories and write files outside of the intended destination.\n- [PRIVILEGE_ESCALATION]: Theinit_skill.pyscript programmatically modifies file permissions, usingchmod(0o755)to grant executable status to generated script files.\n- [DYNAMIC_EXECUTION]: The skill includes functionality to generate and write new executable Python scripts from predefined templates at runtime.\n- [INDIRECT_PROMPT_INJECTION]: The skill exhibits an injection surface through its reliance on user-supplied arguments which are processed by scripts with significant system capabilities.\n - Ingestion points: The
skill_nameandpatharguments provided toscripts/init_skill.pyandscripts/package_skill.pyviasys.argv.\n - Boundary markers: None present; user-supplied strings are interpolated directly into file paths and template content.\n
- Capability inventory: File system write access (
Path.write_text), directory creation (Path.mkdir), permission modification (Path.chmod), and file archival (zipfile.ZipFile).\n - Sanitization: Absent; the script prints naming requirements in its help message but does not programmatically enforce them before performing file operations.
Audit Metadata