agent-vault-secret
Pass
Audited by Gen Agent Trust Hub on Sep 26, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes complex command strings on remote hosts via
sshanddocker execto interact with theagent-vaultservice. It mitigates command injection risks by applying strict regular expression validation to all user-controllable inputs such as hostnames, usernames, container names, and vault names (e.g.,requireSafeTokeninagent-vault-add-secret-core.mjs). - [EXTERNAL_DOWNLOADS]: The skill requires several external dependencies for its operation, including
glimpseui(referenced inMAINTENANCE.md),wl-pastefor clipboard access,hyprctlfor window management in Hyprland environments, and theagent-vaultCLI on the remote host. - [DYNAMIC_EXECUTION]: The JavaScript intake script dynamically loads the
glimpseuimodule from a list of candidate file system paths at runtime (resolveGlimpseinagent-vault-add-secret.mjs). It also generates and injects HTML into the UI window to facilitate secret entry, utilizing anescapeHtmlhelper to prevent cross-site scripting (XSS) or HTML injection. - [INDIRECT_PROMPT_INJECTION]: The skill has a potential attack surface for indirect injection via configuration files and environment variables, handled as follows:
- Ingestion points: CLI flags, environment variables, and the
~/.config/agent-vault-secret/configfile (processed byresolveSettingsinagent-vault-add-secret-core.mjsandresolve_settinginagent-vault-set-secret.sh). - Boundary markers: The skill does not use LLM-specific boundary markers, but treats inputs as literal tokens for shell execution.
- Capability inventory: Remote SSH execution, Docker container interaction, and local file access (reading configuration and writing temporary CA certificates).
- Sanitization: Robust sanitization is implemented through regex-based validation (e.g.,
requireSafeTokenandrequireCredentialName) which ensures that ingested data conforms to safe identifier patterns before being interpolated into shell commands.
Audit Metadata