Credential Access
- Category
- Privilege Escalation
- Confidence
- 70% confidence
- Finding
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
- Content
sh #!/usr/bin/env bash # Read env-supplied OAuth credentials, write to gogcli's local stores. # - Client creds (id+secret) → $XDG_CONFIG_HOME/gogcli/credentials-$MAVERICK_GOG_CLIENT.json (plaintext, 0600) # - Refresh token → $XDG_CONFIG_HOME/gogcli/keyring/ (file backend, jose2go-encrypted # under GOG_KEYRING_PASSWORD), keyed by (client=$MAVERICK_GOG_CLIENT, email=$MAVERICK_GOG_EMAIL) # # MAVERICK_GOG_CLIENT is the client name of the persisted state, not of the
