smb-file-browser
Warn
Audited by Gen Agent Trust Hub on Mar 16, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONCREDENTIALS_UNSAFEEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The
preflight.pyutility module defines arunfunction that executes shell commands usingsubprocess.run(shell=True). This function is used insmb_connect.pyto perform mounting operations (mount_smbfs,net use) and to list server shares (smbutil). These commands are constructed by interpolating user-provided strings (usernames, passwords, and share names) without adequate shell sanitization, posing a risk of command injection. - [CREDENTIALS_UNSAFE]: The skill saves SMB server credentials, including usernames and cleartext passwords, to a local JSON file at
~/.vk-cowork/smb-config.json. Although the script attempts to secure this file usingchmod 0o600, the storage of passwords in cleartext on the filesystem is a significant security risk. - [EXTERNAL_DOWNLOADS]: In
preflight.py, the skill may trigger the installation of system software (Xcode Command Line Tools) on macOS viaxcode-select --installif required utilities are not present. - [COMMAND_EXECUTION]: The
smb_connect.pyscript programmatically modifies the local configuration file for the Clash Verge proxy (clash-verge.yaml) and sends requests to its API via a Unix socket (/tmp/verge/verge-mihomo.sock). While intended to fix DNS resolution issues, this represents direct manipulation of third-party application settings.
Audit Metadata