skill-link-check
Pass
Audited by Gen Agent Trust Hub on Oct 2, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The
check.pyscript generates shell command strings (e.g.,rm,ln,mv,cp) to assist users in fixing directory inconsistencies. The script correctly usesshlex.quote()to sanitize all path variables, preventing command injection if directory names contain special characters. The skill instructions direct the agent to execute the audit script and report the output for user review, rather than performing silent modifications. - [DYNAMIC_EXECUTION]: The
tests/test_check.pyfile uses theimportliblibrary to dynamically load thecheck.pyscript for unit testing. This is a standard and appropriate implementation for testing standalone scripts without package installation. - [INDIRECT_PROMPT_INJECTION]: The skill audits directory names in
.agents/skillsand.claude/skillsto detect layout issues. While processing external filenames represents a theoretical attack surface for indirect prompt injection, the risk is minimal as the skill does not read file content and uses explicit instructional boundaries inSKILL.md(e.g.,<goal>and reporting rules) to ensure neutral output. - [COMMAND_EXECUTION]: The unit tests in
tests/test_check.pyusesubprocess.run()to execute thecheck.pyscript being tested. This use case is isolated to the development/test environment and uses safe argument passing (list format) rather than a shell string.
Audit Metadata