All rules →
Rules / C#
SHIELD-CSHARP-015

Hardcoded credential in source

highC#CWE-798CVSS 8.4

What it detects

A password or connection string secret is embedded as a literal in the source code.

How to fix

Load secrets from a secrets manager, environment variable, or protected configuration store.

Scan your repo freeFull documentation
Back to all rules
SHIELD-CSHARP-015: Hardcoded credential in source — Zennoxa Shield