The package has a postinstall hook, but the reviewed script pins only this package’s version in global manifests. The flagged remote installer and shell-completion text are user-facing setup hints, and the reviewed Anthropic key flow places a configured key in the agent SDK environment rather than sending it to an unrelated host.
Static reason
High-risk behavior combination matched malicious policy.; source matched previously finalized malicious package; routed for review; source fingerprint signature matched known malicious package; routed for review
Trigger
Postinstall runs the version pinning script; the remote installer and shell completion commands are shown as user-run setup instructions.
Impact
No concrete malicious impact identified in the reviewed excerpts.
Mechanism
Postinstall targets global package manifests to pin @automagik/omni. The reviewed credential flow passes a configured Anthropic key to the Claude agent SDK environment.
Evidence
~/.bun/install/global/package.json<npm root -g>/../package.json
Network endpoints1
raw.githubusercontent.com/automagik-dev/autopg/main/install.sh