Secrets & Exposure
critical Severity
Free Check

Cloud Credentials Exposure (.aws, gcp-key.json)

Checks for leaked cloud provider credential files (/.aws/credentials, /gcloud/credentials.db, /kube/config).

Test Your Website for Cloud Credentials Exposure (.aws, gcp-key.json)

Run this check along with 90+ automated tests across your domain.

Why It Matters

Permits attackers to take over cloud accounts, provision crypto-mining clusters, and access private buckets.

How We Check This

We test for standard cloud configuration file endpoints and check response patterns.

How to Fix & Implement

Copy-paste configuration blocks tailored for your web server or edge proxy.

nginx snippet
location ~* /.(aws|gcloud|azure|kube) { deny all; return 404; }

Frequently Asked Questions

What is the best alternative to AWS credential files?

Use IAM Instance Profiles or OpenID Connect (OIDC) roles with short-lived session tokens.