Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b54ff3b commit e91a046Copy full SHA for e91a046
1 file changed
javascript/ql/test/query-tests/Security/CWE-312/passwords.js
@@ -75,7 +75,7 @@
75
console.log(config);
76
77
var temp = { encryptedPassword: req.body.password };
78
- console.log(temp.encryptedPassword); // OK - XXX
+ console.log(temp.encryptedPassword); // $ SPURIOUS: Alert[js/clear-text-logging]
79
80
var secret = password;
81
console.log(`pw: ${secret}`); // $ Alert[js/clear-text-logging]
0 commit comments