The install hook implements platform-specific CLI setup using version-matched optional dependencies. Its fallback disables dependency scripts, and the inspected source provides no evidence of an attack.
Static reason
One or more suspicious static signals were detected.
Trigger
Package installation runs the postinstall hook.
Impact
This sets up the package's CLI; the inspected source does not establish malicious behavior.
Mechanism
The hook resolves an optional platform package or fetches it into a temporary prefix with npm scripts disabled, then copies and version-checks its binary.
Evidence
package.jsonpostinstall.mjs