relocate-claude-vm

Pass

Audited by Gen Agent Trust Hub on Sep 28, 2026

Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
  • [COMMAND_EXECUTION]: The windows.ps1 script executes shell commands via the command interpreter cmd /c to handle NTFS directory junctions and directory removal.
  • The script interpolates the $Source and $dest variables directly into the shell command strings for mklink /J and rmdir using double quotes for wrapping.
  • A lack of rigorous sanitization for shell metacharacters (e.g., &, |, ^) in these path variables could allow for command injection if the agent is tricked into using a maliciously crafted path derived from untrusted external data.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 28, 2026, 03:12 PM
Security Audit — agent-trust-hub — relocate-claude-vm