vps-cleanup
Pass
Audited by Gen Agent Trust Hub on Oct 1, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONPRIVILEGE_ESCALATIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill makes extensive use of system CLI tools including
df,du,pgrep, andgitto survey the environment and perform cleanup. It also executes Docker management commands such asdocker builder pruneanddocker rmito reclaim container-related storage. - [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data from the local operating system environment, including process command lines from
/proc, file system paths, and git repository metadata. This data is used to drive logic for keeping or deleting files, which represents an attack surface where a malicious process or specially crafted file name could attempt to influence the agent's behavior. This risk is partially mitigated by mandatory user approval tiers for all non-cache deletions. - [PRIVILEGE_ESCALATION]: The skill employs a technique to delete root-owned files in the
/tmpdirectory by mounting the target path into a temporary Docker container. While this is a common administrative workaround for cleaning up root-owned artifacts in dev environments, it constitutes a bypass of standard file system permission constraints. - [DYNAMIC_EXECUTION]: Uses
nohup sh -cto execute long-running directory sizing tasks in the background. This allows the agent to continue its survey without being blocked by tool timeouts, though it involves executing a shell string constructed within the skill.
Audit Metadata