sandcastle
Warn
Audited by Gen Agent Trust Hub on Aug 2, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONPROMPT_INJECTIONCREDENTIALS_UNSAFEEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The skill utilizes the
!commandsyntax inreferences/ticket-sources.mdto executegh issue listduring the loading or preprocessing phase. It also orchestrates multiple shell commands on the host includingnpx sandcastle init,pnpm sandcastle, andgit pushto manage the lifecycle of sandboxed agents and repository changes. - [PROMPT_INJECTION]: The skill's primary purpose is to ingest and process external ticket content from sources like GitHub issues and Linear. This untrusted data is interpolated into the prompts used by autonomous agents, creating a significant surface for indirect prompt injection attacks where malicious ticket descriptions or comments could influence the agent's behavior.
- [CREDENTIALS_UNSAFE]: The skill requires high-privilege authentication tokens, specifically
CLAUDE_CODE_OAUTH_TOKEN,GH_TOKEN, andLINEAR_API_KEY. The instructions suggest storing these in environment variables or.envfiles, which poses a risk of exposure if the host or the sandboxed environment is compromised. - [EXTERNAL_DOWNLOADS]: The skill relies on external tools and packages, including
@ai-hero/sandcastleandtsx, which are downloaded and executed at runtime usingnpxandpnpm. These dependencies originate from outside the immediate skill environment and represent a supply chain risk.
Audit Metadata