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

Class TestCallable1131

tests/unit/test_a_sink_rules.py:63–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61
62# --- CALLABLE1131 ---
63class TestCallable1131:
64 def test_tainted_silent_disabled(self):
65 # CALLABLE1131 disabled: callable() checks if object is callable —
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

no outgoing calls

Tested by

no test coverage detected