Files
codeql/python/ql/test/library-tests/web/pyramid/Taint.ql
Rasmus Wriedt Larsen 2874c54133 Python: Move pyramid tests from internal repo
Use minimal mock instead of full library
2019-10-23 16:28:46 +02:00

13 lines
317 B
Plaintext

import python
import semmle.python.web.HttpRequest
import semmle.python.web.HttpResponse
import semmle.python.security.strings.Untrusted
from TaintedNode node
where node.getLocation().getFile().getName().matches("%test.py")
select node.getLocation().toString(), node.getAstNode().toString(), node.getTaintKind()