The postinstall download flow can forward an available GitHub token to an unrestricted redirect destination, establishing a conditional credential exposure risk. The inspected code does not prove a malicious recipient or active theft, so this warrants a warning rather than a block.
Static reason
One or more suspicious static signals were detected.
Trigger
Package installation runs the postinstall hook; the exposure requires a GitHub token in the environment and a redirect to an unintended host.
Impact
A redirect destination could receive the supplied GitHub token. The inspected source does not establish that such redirection is malicious or that a token is present.
Mechanism
The downloader attaches the token as a bearer authorization header and recursively requests the redirect location without validating its host.
Evidence
package.jsoninstall.jsvendor/mcptask_runner
Network endpoints1
github.com/${REPO}/releases/download/${version}