vastai-deploy-integration
Fail
Audited by Gen Agent Trust Hub on Sep 13, 2026
Risk Level: HIGHCOMMAND_EXECUTIONDYNAMIC_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTIONREMOTE_CODE_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill instructions and provided
deploy.pyscript involve direct execution of shell commands, includingdocker,vastai,ssh,rsync, andwgetto manage infrastructure and data. - [DYNAMIC_EXECUTION]: The
deploy.pyscript uses thesubprocess.runmodule to dynamically build and execute CLI commands based on user-provided arguments such as GPU type, image name, and custom startup commands. - [EXTERNAL_DOWNLOADS]: The skill provides a command to download datasets from an external URL (
https://storage.example.com/dataset.tar.gz) directly to a remote instance usingwget. While the specific URL is a placeholder, it establishes a workflow for fetching external remote content. - [REMOTE_CODE_EXECUTION]: The skill facilitates the execution of commands on remote GPU instances through SSH and the Vast.ai
onstart-cmdfeature, allowing for automated setup and health monitoring. This includes a heredoc pattern that executes a shell script directly on the target host. - [INDIRECT_PROMPT_INJECTION]: The
deploy.pyscript provides a vulnerability surface by accepting a--onstartargument that is passed without sanitization to the remote instance's startup command. This creates a surface where instructions from processed data or user queries could be executed as shell commands on the remote instance. - Ingestion points: Command-line arguments (
--image,--onstart) processed bydeploy.pyinSKILL.md. - Boundary markers: None identified in the provided script or instructions.
- Capability inventory:
subprocess.run(executing localvastaiCLI),ssh(remote command execution), anddocker(container management) as seen inSKILL.md. - Sanitization: No input validation or escaping is performed on the arguments before they are passed to the
subprocesscall.
Recommendations
- HIGH: Downloads and executes remote code from: https://storage.example.com/dataset.tar.gz - DO NOT USE without thorough review
Audit Metadata