The Hub client attaches its saved or environment-provided token to an unchecked HTTP(S) manifest URL, creating a credential disclosure vulnerability when a user installs from such a URL. The flow requires an explicit Hub install command, so this is suspicious rather than malicious.
Static reason
One or more suspicious static signals were detected.; previous stored version diff introduced dangerous source
Trigger
A user runs the Hub install command with an HTTP(S) manifest identifier while a Hub token is available.
Impact
A crafted manifest URL can expose the user's Hub token to its host.
Mechanism
The client uses the URL directly and requestJson adds the environment or saved Hub token to the Authorization header without checking that the URL belongs to the Hub service.
Evidence
internal/hub-client.jsbin/hub-command.js
Network endpoints2
User-supplied HTTP(S) manifest URL (host unrestricted)localhost:3000/api/hub/manifests/<manifestId>/export