The lifecycle behavior is gated to global packaged installs and its source targets this product’s installation and migration. The scanner’s Playwright matches resolve to test-runner module loading and escaped editor character handling, with no concrete malicious behavior identified.
Static reason
High-risk behavior combination matched malicious policy.; source matched previously finalized malicious package; routed for review; previous stored version diff introduced dangerous source
Trigger
A global npm installation of the packaged release, unless the postinstall skip variable is set.
Impact
The reviewed behavior supports installation and migration; no unauthorized collection, unrelated account action, or payload execution was found.
Mechanism
The hook validates and stages the m365-api runtime, then updates matching legacy m365-api command registration and preserves startup only if it was already enabled.
Evidence
scripts/postinstall.mjsscripts/package-install.mjsscripts/package-platform.ps1