e2e-template-testing

Pass

Audited by Gen Agent Trust Hub on Nov 27, 2026

Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill instructs the agent to execute build and linking commands such as npm install, npm run build -w packages/squad-sdk, and npm link -w packages/squad-cli. These operations execute scripts defined in the local repository's configuration.
  • [COMMAND_EXECUTION]: The workflow uses the GitHub Copilot CLI with the --allow-all-tools (or --yolo) flag. This grants the agent full autonomy to execute tools, including file writes and potentially other system operations, without requiring per-action user approval during the validation session.
  • [COMMAND_EXECUTION]: The skill utilizes the GitHub CLI to interact with remote repositories: gh api "repos/$env:REPO/issues/$env:PR_NUMBER/comments" --method POST. This capability allows the skill to modify remote project data and requires the agent's environment to have active GitHub authentication tokens.
  • [EXTERNAL_DOWNLOADS]: The instructions include running npm install, which downloads third-party packages from the public npm registry to satisfy the repository's dependencies.
  • [INDIRECT_PROMPT_INJECTION]: This skill is designed to test LLM-interpreted templates (squad.agent.md, scribe-charter.md) stored in a repository. If these templates are sourced from an untrusted pull request, they could contain instructions that influence the behavior of the agent during the test run.
  • Ingestion points: Template files located in .squad-templates/ (e.g., squad.agent.md, scribe-charter.md).
  • Boundary markers: No explicit delimiters or "ignore embedded instructions" warnings are provided for the template content.
  • Capability inventory: The agent has access to npm build, npm link, GitHub API interaction via gh, and autonomous tool execution via copilot --allow-all-tools.
  • Sanitization: No sanitization or validation of the template content is described before it is processed by the agent.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 27, 2026, 08:57 PM