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

Class TestJoin876

tests/unit/test_a_sink_rules.py:137–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135
136# --- JOIN876 ---
137class TestJoin876:
138 def test_tainted_parts_silent_disabled(self):
139 # JOIN876 disabled: .join() with tainted data generates FPs from deep
140 # inter-proc taint reaching error messages and SQL placeholder construction.
141 assert not_fires("parts=request.GET.getlist('p'); '/'.join(parts)", "JOIN876")
142 def test_constant_safe(self):
143 assert not_fires("'/'.join(['a','b','c'])", "JOIN876")
144
145# --- SORTED1074 ---
146class TestSorted1074:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected