The package’s postinstall automatically modifies user shell startup files to enable a documented Apollo auto-cd feature. This is a persistent configuration change that users may not expect from installation, so it warrants a warning; the inspected code did not show an unrelated or malicious action.
Static reason
One or more suspicious static signals were detected.; source matched previously finalized malicious package; routed for review; previous stored version diff introduced dangerous source
Trigger
Package installation, unless CI is set or APOLLO_NO_SHELL_SETUP=1.
Impact
New shells load Apollo’s wrapper and may change directory after `agent use`, `agent import`, or `agent create`; users who did not expect an install-time shell configuration change may be surprised.
Mechanism
The postinstall script appends an eval line to existing zsh/bash startup files and may create the detected login shell’s startup file. The wrapper auto-cds after selected Apollo agent commands.
Evidence
package.jsonscripts/setup-shell.mjsnode_modules/@aui.io/apollo-cli/dist/src/commands/shell.js~/.zshrc~/.bashrc~/.bash_profile