speckit-constitution

Pass

Audited by Gen Agent Trust Hub on Nov 25, 2026

Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill executes a local shell script at .specify/scripts/bash/resolve-template.sh to resolve constitution templates at runtime.
  • [DYNAMIC_EXECUTION]: The skill implements a pre- and post-execution hook system that reads command definitions from .specify/extensions.yml. It dynamically constructs and invokes these commands (e.g., converting speckit.git.commit to /speckit-git-commit), allowing project-level configuration to trigger agent actions.
  • [INDIRECT_PROMPT_INJECTION]:
  • Ingestion points: Processes user-supplied principles from $ARGUMENTS, reads project-specific configuration from .specify/extensions.yml, and ingests template content resolved by external scripts.
  • Boundary markers: No specific delimiters or "ignore" instructions are used to prevent malicious instructions in the project files or user input from influencing the agent's behavior during hook execution or document generation.
  • Capability inventory: The skill can execute local bash scripts, write files to the .specify/memory/ directory, and programmatically invoke other agent tools/commands.
  • Sanitization: The skill lacks explicit sanitization or validation of the content fetched from the repository's configuration files before using them to drive the execution flow.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 25, 2026, 09:42 PM