qstack-delete-comment
Pass
Audited by Gen Agent Trust Hub on Nov 22, 2026
Risk Level: SAFEDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [DYNAMIC_EXECUTION]: The utility script
scripts/qstack-comment-tokensimplements dynamic module loading to support custom language lexers. It usesimportlib.machinery.SourceFileLoaderandimportlib.util.module_from_specto load and execute arbitrary Python code from a file path specified by the--lexerargument. This capability could be exploited if an attacker places a malicious script in the repository and influences the agent to use it as a lexer. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted input from source code comments which are passed to subagents for classification and decision-making.
- Ingestion points: Comments are extracted from any file in the repository using the
qstack-comment-tokens listcommand as described in Step 2. - Boundary markers: The instructions do not specify the use of delimiters or 'ignore' instructions when passing the harvested comment text to subagents for categorization.
- Capability inventory: The skill has the authority to delete lines from source files (Step 5), create new documentation (Step 4), and interact with the
ghCLI to file issues. - Sanitization: There is no evidence of sanitization or escaping of the comment text before it is presented to the LLM subagents.
- [COMMAND_EXECUTION]: The skill relies on system-level command execution to perform its duties. The
qstack-comment-tokensscript executes multiplegitsubcommands viasubprocess.runto compare file states and verify token streams. Additionally, the skill's instructions involve the use of theghtool for issue tracking and running project-specific build and test commands.
Audit Metadata