stack-detect

Warn

Audited by Gen Agent Trust Hub on Nov 5, 2026

Risk Level: MEDIUMCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill instructs the agent to construct and execute a shell command (node scripts/detect-stack.mjs --dir "<dir>") where the directory path is supplied by the user via $ARGUMENTS. If the agent interpolates this value without strict sanitization or escaping, an attacker could provide a malicious path (e.g., containing ;, `, or $()) to achieve arbitrary command execution.
  • [INDIRECT_PROMPT_INJECTION]: The skill's core logic involves scanning project files (schemas, models, migration SQL) to classify the database stack. This processes untrusted data that could contain malicious instructions designed to influence the agent's downstream behavior.
  • Ingestion points: Project files located in the target directory provided via $ARGUMENTS, which are scanned and processed by the detection script.
  • Boundary markers: None identified; the instructions do not provide delimiters or "ignore instructions" warnings for the content being scanned.
  • Capability inventory: The skill has access to Bash (to run the Node.js detector), Read, and Glob tools.
  • Sanitization: The skill does not mention any sanitization, validation, or filtering of the file contents before they are parsed for stack detection.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Nov 5, 2026, 02:08 AM