MCPcopy Create free account
hub / github.com/ParzivalHack/PySpector / test_constant_safe

Method test_constant_safe

tests/unit/test_a_sink_rules.py:68–69  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

66 # not a security sink; generates FPs from deep inter-procedural taint.
67 assert not_fires("o=request.GET.get('fn'); callable(o)", "CALLABLE1131")
68 def test_constant_safe(self):
69 assert not_fires("callable(print)", "CALLABLE1131")
70
71# --- BYTES1005 ---
72class TestBytes1005:

Callers

nothing calls this directly

Calls 1

not_firesFunction · 0.70

Tested by

no test coverage detected