The install hook runs Bun’s official installer only when Bun is missing, and the Kiro credential flow is tied to the documented Kiro authentication feature and Kiro/AWS endpoints. The cloud-metadata reference is part of an SSRF blocklist, not metadata collection.
Static reason
One or more suspicious static signals were detected.; previous stored version diff introduced dangerous source
Trigger
Bun setup can run during npm postinstall if Bun is missing; Kiro credential reading occurs through the documented Kiro authentication integration.
Impact
No unrelated credential disclosure or harmful action was identified in the reviewed paths.
Mechanism
The installer runs Bun’s official installer into ~/.clai/bin; Kiro credentials are used with Kiro/AWS endpoints, and the SSRF guard classifies cloud metadata addresses as blocked.
Network endpoints3
bun.shcodewhisperer.${safeRegion}.amazonaws.comprod.us-east-1.auth.desktop.kiro.dev