We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 304998d commit 8afaa23Copy full SHA for 8afaa23
go/ql/lib/semmle/go/security/Jwt.qll
@@ -35,7 +35,7 @@ private class GinJwtSign extends HardcodedCredentials::Sink {
35
private class SquareJoseKey extends HardcodedCredentials::Sink {
36
SquareJoseKey() {
37
exists(Field f, string pkg |
38
- pkg = ["github.com/square/go-jose/v3", "gopkg.in/square/go-jose.v2"]
+ pkg = [package("github.com/square/go-jose", ""), "gopkg.in/square/go-jose.v2"]
39
|
40
f.hasQualifiedName(pkg, ["Recipient", "SigningKey"], "Key") and
41
f.getAWrite().getRhs() = this
0 commit comments