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-tokens implements dynamic module loading to support custom language lexers. It uses importlib.machinery.SourceFileLoader and importlib.util.module_from_spec to load and execute arbitrary Python code from a file path specified by the --lexer argument. 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 list command 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 gh CLI 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-tokens script executes multiple git subcommands via subprocess.run to compare file states and verify token streams. Additionally, the skill's instructions involve the use of the gh tool for issue tracking and running project-specific build and test commands.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 22, 2026, 06:03 AM