Skip to content

Commit

Permalink
Merge pull request #370 from Privado-Inc/dev
Browse files Browse the repository at this point in the history
refine cookie storage rule (#369)
  • Loading branch information
khemrajrathore authored Dec 8, 2023
2 parents 45407d5 + f8d4b82 commit c37194a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rules/sinks/storages/cookiemanager/javascript.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ sinks:
- id: Storages.Web.Cookie.Write
name: Web Storage Cookie(Write)
patterns:
- "(?i)(.*cookie.*set.*)|(.*setCookie)"
- "(?i)(.*cookie[^{}()]*set.*)|(.*:setcookie)"
tags:

- id: Storages.Web.Cookie.Delete
Expand Down Expand Up @@ -48,4 +48,4 @@ sinks:
name: Web SessionStorage(Read)
patterns:
- "(?i)(\\bstorage\\b|sessionstorage)(.*)(getItem)"
tags:
tags:

0 comments on commit c37194a

Please sign in to comment.