[csharp] need help with taint propagation #19911
Unanswered
Hug0Vincent
asked this question in
Q&A
Replies: 2 comments 2 replies
-
Using the same query on a different Codeql database yield the same problem on another method: And again there is a summary step for this method here. So the problem might be somewhere else, I don't understand |
Beta Was this translation helpful? Give feedback.
1 reply
-
I think that in my first example the difference is in the way the return value is tainted. For |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I don't understand why my taint is not propagating. I have 3 test cases that look similar, but it only works for one. Here is my C# code:
In the first scenario, the taint halts at the
FromBase64String
call, whereas in the third scenario, it persists until theDeserialize
call, which aligns with my expectations. This observation was confirmed through a partial dataflow query:Based on this it should propagate the taint. What am I missing here ?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions