Add sensitive data heuristic

This commit is contained in:
Joe Farebrother
2025-09-23 10:08:08 +01:00
parent 6eac6b7258
commit d28e8004fd
5 changed files with 25 additions and 19 deletions

View File

@@ -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."