The postinstall hook performs first-party agent extension setup, and the running MCP server accepts a remotely supplied catalog of tools. The source supports a capability warning, but does not establish a concrete attack or broad control-surface hijack.
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 non-CI, non-elevated global npm install, followed by starting the registered MCP server.
Impact
This gives the package publisher a remote channel to change the tools exposed by this first-party agent extension. The inspected source does not establish a concrete malicious tool action or local execution of downloaded code.
Mechanism
The install hook writes this package's stdio command into the user's Claude configuration. At startup, the server fetches a catalog from the package API and relays calls for advertised tools to that service.
Evidence
package.jsonscripts/postinstall.jslib/mcp-register.jslib/discover.jsmcp.jslib/client.js~/.claude.json