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

Class TestSorted1074

tests/unit/test_a_sink_rules.py:146–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144
145# --- SORTED1074 ---
146class TestSorted1074:
147 def test_tainted_silent_disabled(self):
148 # SORTED1074 disabled: sorting user data is not a security sink.
149 assert not_fires("data=request.GET.getlist('items'); sorted(data)", "SORTED1074")
150 def test_constant_safe(self):
151 assert not_fires("sorted([3,1,2])", "SORTED1074")
152
153# --- SUM1080 ---
154class TestSum1080:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected