Source inspection found platform-specific setup and a same-package auto-update path, with no concrete malicious behavior. OAuth fallback tokens are stored locally, and the inspected code does not send them elsewhere.
Static reason
One or more suspicious static signals were detected.; source matched previously finalized malicious package; routed for review; source fingerprint signature matched known malicious package; routed for review
Trigger
The postinstall hook runs during installation; compatibility patches and update checks run when the CLI starts.
Impact
The inspected code does not show credential transmission, broad agent configuration changes, or another confirmed attack effect.
Mechanism
The hook configures platform binaries and a named Sharp WASM package. The CLI checks the npm registry for this package’s latest version and can install that release.
Evidence
node_modules/@img/sharp-wasm32@anthropic-ai/claude-code/vendor
Network endpoints2
github.comregistry.npmjs.org