vastai-security-basics
Pass
Audited by Gen Agent Trust Hub on Sep 13, 2026
Risk Level: SAFEDATA_EXFILTRATIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [DATA_EXFILTRATION]: The skill provides instructions and Python code that access sensitive local credential paths.
- Evidence: The Python code in
SKILL.mdexplicitly reads from~/.vast_api_keyand references~/.ssh/vastai_keyfor instance access. - [COMMAND_EXECUTION]: The skill includes code snippets that use the
subprocessmodule to execute system commands. - Evidence: The
secure_cleanupfunction inSKILL.mdexecutessshandvastaibinaries viasubprocess.run. - [INDIRECT_PROMPT_INJECTION]: The skill contains a vulnerability surface where untrusted data could influence shell commands, as it lacks sanitization for external inputs used in command construction.
- Ingestion points: Function arguments
instance_id,ssh_host, andssh_portin thesecure_cleanupfunction withinSKILL.md. - Boundary markers: None present; the code does not include instructions to ignore embedded commands in these parameters.
- Capability inventory: Uses
subprocess.runto callssh(which executes remote commands) and thevastaiCLI tool. - Sanitization: Absent. Arguments are interpolated directly into shell strings (e.g.,
f"root@{ssh_host}") without escaping or validation beyond basic type casting. - [DYNAMIC_EXECUTION]: The skill demonstrates the dynamic assembly of shell command strings at runtime.
- Evidence: The
secure_cleanupfunction inSKILL.mduses f-strings to concatenate host information and remote commands before passing them to the system shell viassh.
Audit Metadata