The flagged metadata access is part of documented Google ADC resolution for Vertex AI and runs only after configured and standard ADC credentials are unavailable. The package has no install lifecycle hooks, and the reviewed token flows target Google APIs for the package’s stated features.
Static reason
One or more suspicious static signals were detected.
Trigger
A caller uses Google Vertex authentication or requests Gemini CLI usage data.
Impact
Google-authenticated Vertex requests and quota reporting for the package’s stated API features.
Mechanism
The code resolves Google Application Default Credentials, falling back to the Google metadata server when no ADC file credentials are found, then uses the token with Google APIs.
Evidence
src/providers/google-auth.tssrc/providers/google-vertex.tssrc/usage/gemini.tssrc/usage/google-antigravity.ts
Network endpoints6
metadata.google.internaloauth2.googleapis.comiamcredentials.googleapis.com