litellm/tests/test_litellm/proxy/client/cli
moe-berri 0798a83d36 fix(auto_router): drop the shunt CLI allow rules
Both Greptile and veria-ai flagged these as auto-approving too much: Claude Code
matches an allow rule's text up to its first wildcard with no host awareness, so
"Bash(curl -sS -F question=*)" approves a curl to any destination, not just this
proxy. A prompt-injected repo instruction could get a local file uploaded
somewhere without the user ever seeing a permission prompt.

lite autoroute up already prompts for genuinely new commands and lets a user
persist their own approval once they've seen it, which is the safer place for
that decision to live. Removes SHUNT_BASH_ALLOW_RULES and the settings.json
permissions merge entirely; the static-token env merge that up already did is
unaffected.
2026-09-07 15:00:42 -07:00
..
autoroute fix(auto_router): drop the shunt CLI allow rules 2026-09-07 15:00:42 -07:00
__init__.py Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
test_agents.py test(cli): drop redundant comment in pi arg ordering test 2026-09-05 01:01:41 +00:00
test_auth_commands.py feat(cli): pre-fill the SSO verification code in the browser when the proxy allows it 2026-09-02 16:19:17 -07:00
test_claude_settings.py fix(cli): quote the Claude Code apiKeyHelper for cmd.exe on Windows (#39174) 2026-09-01 15:08:00 -07:00
test_config_commands.py test: drop the cwd-relative sys.path.insert calls from the test suite (#37802) 2026-08-22 09:25:58 -07:00
test_credentials_commands.py test: drop the cwd-relative sys.path.insert calls from the test suite (#37802) 2026-08-22 09:25:58 -07:00
test_debug_commands.py fix(cli): read CLAUDE_CODE_SESSION_ID and skip subagent transcripts when detecting the Claude Code session 2026-09-04 19:45:42 -07:00
test_encryption_commands.py feat(proxy): add AES-256-GCM at-rest credential encryption with versioned format and re-encryption migration (#31215) 2026-06-29 20:14:22 +02:00
test_global_options.py test: drop the cwd-relative sys.path.insert calls from the test suite (#37802) 2026-08-22 09:25:58 -07:00
test_keys_commands.py test: drop the cwd-relative sys.path.insert calls from the test suite (#37802) 2026-08-22 09:25:58 -07:00
test_model_groups_commands.py feat(cli): add lite up/down to ambiently route Claude Code through the proxy (#33231) 2026-07-15 21:46:02 -07:00
test_models_commands.py test: drop the cwd-relative sys.path.insert calls from the test suite (#37802) 2026-08-22 09:25:58 -07:00
test_pi.py fix(cli): write pi models atomically and privately 2026-09-05 00:22:42 +00:00
test_pkce_login.py test: require a match= on broad pytest.raises, and drop duplicate parametrize cases (#37769) 2026-08-20 20:24:49 -07:00
test_up_commands.py feat(cli): enable Claude Code gateway model discovery by default in lite claude (#39445) 2026-09-03 08:38:25 -07:00
test_users_commands.py test: drop the cwd-relative sys.path.insert calls from the test suite (#37802) 2026-08-22 09:25:58 -07:00