The flagged metadata request is gated behind Vertex token resolution and follows configured and user ADC credentials; it uses Google’s documented metadata header and returns a Vertex access token. The manifest has no install lifecycle scripts, and the reviewed import entry exports modules without invoking this token flow at import time.
Static reason
One or more suspicious static signals were detected.
Trigger
A caller requests a Vertex AI access token without an explicit token or configured ADC file, or invokes Google Gemini usage reporting.
Impact
The metadata token is used for the intended Vertex AI access flow, and the usage token is used to retrieve Google quota data.
Mechanism
Vertex authentication falls back to the Google Cloud metadata server with its required header; usage reporting sends its OAuth token to Google Cloud Code Assist.
Evidence
src/providers/google-auth.tssrc/usage/gemini.ts
Network endpoints3
metadata.google.internaloauth2.googleapis.comcloudcode-pa.googleapis.com