cofre
Pass
Audited by Gen Agent Trust Hub on Nov 29, 2026
Risk Level: SAFECOMMAND_EXECUTIONCREDENTIALS_UNSAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses
subprocess.runin Python and shell scripts to invoke the 1Password CLI (op) and macOS Keychain CLI (security). It also installs and executes a runner script (cofre-run) that can launch arbitrary child processes with environment variables populated from 1Password viaop run. Evidence includes calls inscripts/cofre-list.py,scripts/cofre.sh, and the execution of the user-provided command inscripts/cofre-run. - [CREDENTIALS_UNSAFE]: It handles sensitive credentials by reading from 1Password and storing Service Account tokens in the macOS Keychain. It creates environment templates that reference secrets by their 1Password URI (
op://...) for runtime injection. Access to the Keychain is managed via thesecurityutility as seen inscripts/cofre.shandscripts/cofre-list.py. - [INDIRECT_PROMPT_INJECTION]: The skill exposes a vulnerability surface where untrusted data from 1Password items could influence the agent's context.
- Ingestion points: Item titles, field labels, and notes are fetched from 1Password via the CLI in
scripts/cofre-list.py. - Boundary markers: No explicit boundary markers or warnings are used when processing item metadata to prevent embedded instructions from being interpreted by the agent.
- Capability inventory: The skill can execute shell commands, read/write local files (e.g.,
~/.config/cofre/*.env.tpl), and access the macOS Keychain. - Sanitization: Basic sanitization is performed on identifiers using regex patterns (
slugifyandenv_fromfunctions), but the content of item notes is used to derive origin information without validation.
Audit Metadata