CWE-798: Use of Hard-coded Credentials OWASP Use of hard-coded passwords Installation go install github.com/ynori7/credential-detector Usage go run main.go --config config.yaml --path "/home/me/myproject" Example output: In /home/me/myproject Line 711: secret = "Dklj34k3oi23kD" ...
How to FIX Use of Hard-coded Password (CWE ID 259)(8 flaws) in C# code where Google Drive App ID (.p12) file is loaded? I performed a Veracode scan on my Windows EXE. It reported following security vulnerabilities on the code...
Content & configuration Doing static code analysis, found CWE 259 problem in following line. https://github.com/swagger-api/swagger-ui/blob/v3.25.0/src/core/components/auth/oauth2.jsx#L105 Description A method uses a hard-coded password ...