The flagged metadata access is a standard Google Vertex Application Default Credentials fallback, reached when preparing a Vertex request. Package metadata shows no install hook, and the reviewed code sends the resulting credential to Google’s authentication and Vertex services for that feature.
Static reason
One or more suspicious static signals were detected.
Trigger
A caller makes a Google Vertex AI request without supplying an explicit API key.
Impact
The resulting Google service-account token authenticates the requested Vertex AI call.
Mechanism
The provider resolves Application Default Credentials and, when no credential file is available, requests a token from Google’s metadata service for use with the Vertex endpoint.
Evidence
src/providers/google-auth.tssrc/providers/google-vertex.ts
Network endpoints4
metadata.google.internaloauth2.googleapis.comiamcredentials.googleapis.comaiplatform.googleapis.com