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

Class TestRegressionPY102

tests/unit/test_taint_engine_extension.py:272–281  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

270# ===========================================================================
271
272class TestRegressionPY102:
273
274 def test_subprocess_taint_still_fires(self):
275 """PY102 taint flow must still work after engine changes."""
276 code = """
277 cmd = request.get('command')
278 subprocess.run(cmd)
279 """
280 assert findings_for(code, "PY102"), \
281 "PY102 regression: subprocess.run with tainted arg must still fire"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected