Skip to content

In-depth lesson · Leaked secrets

Reports behind this point

Check client-side JavaScript bundles for hardcoded secrets. Modern web apps often include API keys for third-party services in their JavaScript. Look for strings that resemble keys, and test whether they are live and what they allow. Be aware that some keys are meant to be public (like some map tokens) but may still have insufficient restrictions.