attach-cli
Pass
Audited by Gen Agent Trust Hub on Sep 6, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill instructs the agent to execute
attachandghCLI commands for media management and usescurlfor API interactions. It employs defensive patterns like using temporary header files (-H @"$hdr") to ensure tokens are not exposed in command-line arguments. - [EXTERNAL_DOWNLOADS]: The skill identifies and references several vendor-owned installation paths, including the
@uinaf/attach-cliNode.js package, a Homebrew tap, and a GitHub CLI extension. - [INDIRECT_PROMPT_INJECTION]: The skill presents a potential surface for indirect prompt injection through the following components:
- Ingestion points: Untrusted data enters the context via the
attach putcommand which reads local files, and through HTTP responses from the enrollment and upload endpoints (e.g.,attach.uinaf.dev). - Boundary markers: The skill encourages the use of structured output (
--json) to minimize ambiguity, although specific prompt delimiters for file content are not defined. - Capability inventory: The skill allows for shell command execution, network operations via
curland the CLI, and file system writes for temporary header management. - Sanitization: Includes strict URL validation for deletion targets, the use of
--dry-runfor local validation, and verification of resource removal usingcurl -sI.
Audit Metadata