ID: ac50dffd-895 Priority: 92 Type: one_shot Status: open
Critical (C-4): bridge.py:17 uses shell=True with f-string for find command. Replace with list-based subprocess call to prevent command injection. See security_audit_2026-04-02.md for safe implementation example.
/files listing uses list-based subprocess.run through a helper, with no shell invocationbridge.py is now a compatibility entrypoint and maintained implementation lives in scripts/bridge.py.shell=True f-string is not present; /files already used list-based subprocess.run.FILE_FIND_COMMAND and list_bridge_files() so the safe argument-vector behavior is explicit and testable.subprocess.run and verifies /files uses a list argument vector with no shell keyword.pytest tests/test_bridge_path_validation.py.