mirror of
https://github.com/github/codeql.git
synced 2026-03-17 13:06:48 +01:00
7 lines
189 B
JavaScript
7 lines
189 B
JavaScript
function insecurePassword() {
|
|
// BAD: the random suffix is not cryptographically secure
|
|
var suffix = Math.random();
|
|
var password = "myPassword" + suffix;
|
|
return password;
|
|
}
|