The postinstall hook persistently configures OpenCode to load this package’s own abilities, an install-time agent extension lifecycle risk. The behavior matches the package’s stated purpose, and the reviewed source showed no credential exfiltration or broader agent-control changes, so this warrants a warning rather than a block.
Static reason
One or more suspicious static signals were detected.; previous stored version diff introduced dangerous source
Trigger
The npm postinstall hook runs during installation.
Impact
OpenCode loads the package’s own abilities after installation without a separate setup command; this is an agent extension lifecycle risk.
Mechanism
It sets OPENCODE_CONFIG_DIR to the package directory, which OpenCode uses to discover the package’s agents, skills, and commands.
Evidence
package.jsonscripts/postinstall.jsREADME.md.zshrc.bashrc.profileWindows user registry