CodeVetter
← All X-Rays
CodeVetter · local evidence export

Hardcoded database credentials in Go

codevetter-public-benchmark/go-hardcoded-credentials

detected · high confidence

Verification

Code reviewcompleted

Qualified static finding recorded.

Executable testnot verified

No exact-current runtime evidence is included.

Audiencenot run

No audience validation occurred.

Finding

highbenchmark ground truth

hardcoded secret

Production database username, password, and host are committed in plaintext as package-level constants, exposing credentials to anyone with repository access.

source.go:7