The postinstall hook installs dependencies only for bundled packages that are already present. The cloud metadata references belong to the AWS SDK credential provider, and the flagged shell code requires acceptance for risky commands and credential files.
Static reason
One or more suspicious static signals were detected.; previous stored version diff introduced dangerous source
Trigger
Package installation triggers the postinstall helper; the AWS metadata provider is used when credential resolution selects that provider.
Impact
Dependency installation and normal AWS container credential resolution; no evidence of unrelated data collection or unauthorized actions.
Mechanism
The helper runs npm install within existing bundled dependency directories. The AWS SDK reads a configured container credential URI and can contact the corresponding container endpoint.
Network endpoints3
169.254.170.2169.254.170.23[fd00:ec2::23]