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
md Set `x-api-key` with `req.Header.Set("x-api-key", os.Getenv("VECTARA_API_KEY"))` in a request editor. OAuth client credentials are exchanged at `https://auth.vectara.io/oauth2/token`. Send the access token as `Authorization: Bearer <token>`. Token acquisition and renewal belong to the caller. The spec also has a distinct `GetOAuthToken` operation at `/oauth/token`; do not assume it is the security scheme's token URL. `VisitorToken` uses `X-Visitor-Id`, carrying the encrypted token returned by visitor creation. `FederatedSignIn` uses a bearer token from a registered trusted issuer. Only operations declaring these schemes accept them.
