The `gh teacher download` command clones student assignment repositories and writes autograde artifacts, specifically `result.json` and `results.json`, into the working tree. Because the write operation follows symlinks, a student can commit these files as symlinks to redirect the write process to arbitrary paths on the teacher's system, such as `~/.zshrc`, `~/.ssh/authorized keys`, or `.git/hooks/*` files. Since the content of these files is controlled by the student, this allows for arbitrary file writes and subsequent code execution with the privileges of the teacher's `gh` token, which typically includes `admin:org`, `repo`, and `workflow` permissions.