check_tarball.py now iterates the tar members instead of their names. Only regular files and directories are allowed, so a symlink or hardlink cannot smuggle a file in under an allowed directory. Absolute paths and paths with an empty, '.', '..' or '.git' component are rejected, so roles/../.venv/x no longer passes the top-level allow list. Tests build crafted tarballs and run the script on them. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm