We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33602ee commit 193b26eCopy full SHA for 193b26e
javascript/ql/test/query-tests/Security/CWE-312/CleartextStorage.js
@@ -2,6 +2,6 @@ var express = require('express');
2
3
var app = express();
4
app.get('/remember-password', function (req, res) {
5
- let pw = req.param("current_password"); // $ Source
6
- res.cookie("password", pw); // $ Alert - Setting a cookie value with cleartext sensitive data.
+ let pw = req.param("current_password"); // $ Source[js/clear-text-storage-of-sensitive-data]
+ res.cookie("password", pw); // $ Alert[js/clear-text-storage-of-sensitive-data] - Setting a cookie value with cleartext sensitive data.
7
});
0 commit comments