afk-pipeline
Pass
Audited by Gen Agent Trust Hub on Sep 23, 2026
Risk Level: SAFEREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONPRIVILEGE_ESCALATIONCREDENTIALS_UNSAFEDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The skill downloads and executes remote installation scripts via shell piping from well-known service domains.
- Evidence found in
templates/sandcastle/Dockerfileandtemplates/sandcastle/runtime.tsfor Bun, Claude Code, Cursor, and Grok CLI installers (e.g.,curl -fsSL https://bun.sh/install | bash). These are documented as safe well-known service interactions. - [COMMAND_EXECUTION]: Orchestrates complex shell environments across Docker, Firecracker microVMs (via Vercel Sandbox), and local runners.
- Scripts like
attempt-loop.tsandsalvage.shmanage git lifecycles, artifact relocation, and automated branch maintenance. - [PRIVILEGE_ESCALATION]: Utilizes
sudowithin isolated sandbox environments to install necessary system dependencies. templates/workflow/agent-implement.ymlandtemplates/sandcastle/runtime.tsusesudo apt-getorsudo dnfto provision browser-testing tools likeffmpegand Chromium dependencies.- [CREDENTIALS_UNSAFE]: Handles high-value repository secrets to facilitate automated repository operations.
- Manages
AGENT_PAT,CLAUDE_CODE_OAUTH_TOKEN,CODEX_AUTH_B64,CURSOR_API_KEY,GROK_AUTH_B64, andVERCEL_SANDBOX_TOKEN. - Employs strong mitigation through credential scrubbing in
runtime.tsandattempt-loop.ts, ensuring agents only see the specific tokens required for their engine phase. - [DYNAMIC_EXECUTION]: Executes repository-controlled code within integrity gates.
templates/sandcastle/implement/convex-gate.tsruns real codegen and schema validation against anonymous local backends to prevent hand-edited machine output from being merged.- [INDIRECT_PROMPT_INJECTION]: Processes untrusted data from GitHub issues and agent-generated reports.
- Ingestion points:
ISSUE_BODYenvironment variable, Agent-generated PR descriptions, and Verification reports. - Boundary markers: Utilizes Markdown headers and explicit "UNTRUSTED DATA" warnings in generated prompts.
- Capability inventory: Performs git pushes, repository secret updates, and Pull Request creation.
- Sanitization: Implements a robust
neutralizeHostileTextutility inhostile-text.tsto strip HTML, links, and mentions before posting agent-controlled content to GitHub surfaces. - [SAFE]: Implements a proactive security feature
assertControlPlaneinattempt-loop.tsthat verifies the integrity of the orchestration logic against a trusted git hash before executing credential-sensitive phases, preventing agents from escalating privileges by modifying their own runner environment.
Audit Metadata