mirror of
https://github.com/github/codeql.git
synced 2026-04-28 18:25:24 +02:00
Add sensitive data heuristic
This commit is contained in:
@@ -16,5 +16,6 @@ import semmle.python.dataflow.new.DataFlow
|
||||
import semmle.python.Concepts
|
||||
|
||||
from Http::Server::CookieWrite cookie
|
||||
where cookie.hasSecureFlag(false)
|
||||
where cookie.hasSecureFlag(false) //and
|
||||
//cookie.isSensitive()
|
||||
select cookie, "Cookie is added without the Secure attribute properly set."
|
||||
|
||||
Reference in New Issue
Block a user