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 3a9d1f4 commit b027fddCopy full SHA for b027fdd
csharp/ql/src/Security Features/CWE-502/UnsafeDeserialization.ql
@@ -25,8 +25,7 @@ where
25
safeTypeUsage.getNode().asExpr().getParent() = deserializeCall
26
)
27
or
28
- sink instanceof ConstructorOrStaticMethodSink and
29
- deserializeCall.getAnArgument() = sink.asExpr()
+ sink instanceof ConstructorOrStaticMethodSink
30
31
select deserializeCall,
32
"Unsafe deserializer is used. Make sure the value being deserialized comes from a trusted source."
0 commit comments