Uncleaned temporary .bat connection scripts left in %LOCALAPPDATA%\Temp
Author: bahrampeymaniCreated Sep 22, 2026Updated Sep 22, 2026
I noticed that when invoking an SSH connection, xpipe generates a temporary .bat file inside C:\Users<username>\AppData\Local\Temp, but fails to remove/purge it afterward.
Leaving these batch files persistent poses a security risk: anyone with read or execution access to the user’s temp directory can inspect or re-execute the script to gain SSH access to the remote server.
Expected behavior:
Temporary connection scripts should be ephemeral and securely unlinked/deleted immediately after execution or when the session terminates.
thanls a lot
Source: xpipe-io/xpipe