Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
move JWT.qll to experimental
  • Loading branch information
am0o0 committed Sep 30, 2023
commit f0f60c3b7d405e68c972692db738318267c21cd6
2 changes: 1 addition & 1 deletion go/ql/src/experimental/CWE-321-V2/HardCodedKeys.ql
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*/

import go
import semmle.go.security.JWT
import experimental.frameworks.JWT

module JwtPaseWithConstantKeyConfig implements DataFlow::ConfigSig {
Comment thread
am0o0 marked this conversation as resolved.
Outdated
predicate isSource(DataFlow::Node source) { source.asExpr() instanceof StringLit }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*/

import go
import semmle.go.security.JWT
import experimental.frameworks.JWT

module WithValidationConfig implements DataFlow::ConfigSig {
predicate isSource(DataFlow::Node source) { source instanceof UntrustedFlowSource }
Expand Down