Skip to content

Commit a863253

Browse files
authored
Merge pull request #3590 from semgrep/fix-jwt
Fix jwt issue
2 parents bfe2989 + 45366ed commit a863253

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

python/jwt/security/jwt-hardcode.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ rules:
2424
confidence: HIGH
2525
patterns:
2626
- pattern: |
27-
jwt.encode($X, $SECRET, ...)
28-
- focus-metavariable: $SECRET
29-
- pattern: |
30-
"..."
27+
jwt.encode($_, "...", ...)
3128
languages: [python]
3229
severity: ERROR

0 commit comments

Comments
 (0)