The package's install-time fallback downloads its own binary, which fits its CLI purpose, but it trusts the metadata-provided destination and uses a substring check before attaching NPM_TOKEN. This creates a credential exposure vulnerability if a response directs the request to a matching attacker-controlled hostname, so warn rather than block.
Static reason
One or more suspicious static signals were detected.; source matched previously finalized malicious package; routed for review; source fingerprint signature matched known malicious package; routed for review
Trigger
Postinstall runs, the expected optional platform binary is absent, and NPM_TOKEN is set.
Impact
A crafted metadata or redirect destination with a hostname containing npmjs.org could receive the npm token. The reviewed source does not show that such a destination is used by default.
Mechanism
The installer reads a tarball URL from npm registry metadata, follows redirects, and adds NPM_TOKEN to requests whenever the hostname contains npmjs.org; it does not verify that the destination is the registry's exact host.
Evidence
package.jsoninstall.jsbin/<platform binary>bin/droidbin/droid.backup