ERT-SECRETS-010
Public env variable holding a secret
HighA04:2025CWE-798
Why it matters
API keys in your JavaScript, .env files, .git folders, source maps. This check looks specifically for: public env variable holding a secret.
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