Emerald Red Team

ERT-SECRETS-008

Secrets in repository working tree

CriticalA04:2025CWE-798

Why it matters

API keys in your JavaScript, .env files, .git folders, source maps. This check looks specifically for: secrets in repository working tree.

How to fix it

Open the finding in Emerald Red Team for a fix prompt tailored to your stack and AI tool.

How we test it

Code — reads your connected repository.

Does your app have this problem?

Create a free account and verify your app to test for it.

Scan my app — free