Agent Can Bypass Test Directory Locks via conftest.py and pytest.ini

A researcher shows that directory-shaped safeguards (read-only tests, hidden suites) fail to stop agents from gaming test gates, since modifying root-level conftest.py or pytest.ini can bypass them entirely.

2026-10-20 ~ 2026-10-20 · 2 related posts