Vite+: Shell Command Injection via an Unvalidated Registry Version String
vp env use changes the active runtime for the current terminal by printing shell statements that a wrapper in the user's profile evaluates, so anything in that output is shell code. With no project file selecting a version, Vite+ asks the registry for the latest one, the registry comes from an .npmrc inside the project directory, and the reply is interpolated into an export statement unquoted and unchecked. A cloned …