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
- Same bypass, reposted: conftest.py and pytest.ini defeat locked test suites for agents — Weary-Information-15 · 2026-10-20
- Locking tests/ isn't enough: conftest.py and pytest.ini let agents fake a passing test gate — Weary-Information-15 · 2026-10-20