Skip to main content
VulnerabilityPublished

Why Secrets in JavaScript Bundles are Still Being Missed

Source The Hacker News

0
Severity
Low

Rated by Threat Radar

Data as of 26 Jan 2026, 20:50 UTC

What to do

AI-suggested

European organizations should adopt a multi-layered approach to mitigate this threat effectively. First, integrate dynamic scanning tools capable of spidering SPAs and analyzing JavaScript bundles to detect embedded secrets before deployment. This includes configuring DAST tools with headless browsers and custom scripts to fetch and inspect all frontend resources. Second, enhance shift-left security by expanding SAST and repository scanning rules to cover a broader range of secret patterns and enforce strict code review policies to prevent secret check-ins. Third, implement automated secrets detection in CI/CD pipelines that scan build artifacts and deployment packages for secrets, preventing leaks introduced during build or deployment stages. Fourth, employ runtime monitoring and alerting for suspicious use of API keys and tokens, including anomaly detection on SaaS platforms and cloud services. Fifth, enforce strict secret management practices, such as using environment variables, secret vaults, and ephemeral credentials instead of hardcoding secrets. Finally, conduct regular security awareness training for developers and DevOps teams about the risks of secret exposure and best practices for secure coding and deployment. Tailoring these controls to the organization's application portfolio and digital estate scale will maximize effectiveness.

Description

Leaked API keys are no longer unusual, nor are the breaches that follow. So why are sensitive tokens still being so easily exposed? To find out, Intruder’s research team looked at what traditional vulnerability scanners actually cover and built a new secrets detection method to address gaps in existing approaches. Applying this at scale by scanning 5 million applications revealed over

References

Community reviews

Loading reviews…