Files
codeql/python/ql/test/library-tests/taint/general/ModuleAttribute.ql
2018-11-19 15:15:54 +00:00

11 lines
296 B
Plaintext

import python
import semmle.python.security.TaintTest
import TaintLib
from ModuleObject m, string name, TaintedNode origin
where TaintFlowTest::module_attribute_tainted(m, name, origin)
select m.toString(), name, origin.getTrackedValue(), origin.getContext(), origin.getLocation().toString()