setup-nas
Warn
Audited by Gen Agent Trust Hub on Jun 13, 2026
Risk Level: MEDIUMCOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The reachability verification step uses
sshto execute a command on a remote host based on user input:ssh -o BatchMode=yes -o ConnectTimeout=5 <host> "test -d '<path>' && echo OK". The interpolation of the<host>and<path>variables into a shell string is a potential command injection vector if the agent does not properly sanitize shell metacharacters provided by the user. - [COMMAND_EXECUTION]: The skill persists user-defined
ssh_opts(such as-i ~/.ssh/nas_id) tonas.json. These options are intended to be reused by other synchronization skills (pull-from-nasandpush-to-nas). Maliciously crafted options could lead to arbitrary command execution when those subsequent skills are invoked. - [COMMAND_EXECUTION]: The
allowed-toolsmanifest includesBash(mount *). Themountcommand typically requires elevated privileges (root/sudo). While the skill's procedure does not explicitly invokemount, its presence in the allowed tools list provides the capability for the agent to modify the filesystem's mount table if instructed by the user or a malicious prompt.
Audit Metadata