LOTP

gcloud

cli config-file eval-sh

References

gcloud is the Google Cloud management tool configured through a file in some cases.

gcloud builds submit

An attacker-controlled cloudbuild.yaml can be used to compromise the remote build pipeline, which has the same permission as the authenticated account:

steps:
  - name: 'alpine'
    args: ['sh', '-c', 'id']