Skip to content

Scan rule · RSC-SEC-053

Secret key in source code

SecuritySeverity: HighCWE-798OWASP A07-2021

Searches source files for real secret patterns (Stripe, AWS, OpenAI, Anthropic, Slack, SendGrid, PEM).

Scan tier

Source code from source mapsRepo access (deep scan)

How to fix it

Rotate the keys and load them exclusively from server-side environment variables.

Scan your own app for free