The postinstall hook modifies agent settings without an explicit user command, so this merits a warning as install-time setup for the package’s own agent. The change adds restrictive safety rules and preserves existing settings; the reviewed script showed no unrelated collection or network contact.
Static reason
One or more suspicious static signals were detected.; source matched previously finalized malicious package; routed for review
Trigger
npm install or update running the postinstall lifecycle script.
Impact
Changes the package’s agent permissions without an explicit user command; the added rules are restrictive safety defaults.
Mechanism
The script creates or updates the settings file under ~/.saluzi-edu, or under SALUZI_CONFIG_DIR when set, adding deny rules for destructive commands.
Evidence
package.jsonscripts/install-defaults.mjs~/.saluzi-edu/settings.json (or SALUZI_CONFIG_DIR/settings.json)