JS-067 MED: shared/wire.js ssh host argv injection + unquoted DOG_REMOTE_PATH

shared/wire.js's classify() (the upload-pack CLIENT spawn) passes the remote URI host as argv[1] of ssh with no --/leading-dash guard, so a host like -oProxyCommand=… is read by ssh as an OPTION → local command exec (the CVE-2017-1000117 class). The command body is shQuoted but the host is not, and $DOG_REMOTE_PATH is interpolated UNQUOTED into the remote shell string. Native single-quotes it. Realistic vector: a user/script-supplied be get <uri>. Method: Issues.

Input

Context

Goals

Constraints

WIP

Design decisions

TODOs

Blockers and bummers

Outcome