Skip to content

Fix: Potential SQLi in spend_management_endpoints.py #9878

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Apr 21, 2025

Conversation

n1lanjan
Copy link
Contributor

@n1lanjan n1lanjan commented Apr 10, 2025

Title

Fixes potential SQL Injection in spend_management_endpoints.py

Relevant issues

Pre-Submission checklist

  • My PR passes all unit tests on (make test-unit)[https://docs.litellm.ai/docs/extras/contributing_code]
  • Added tests

Type

🐛 Bug Fix
🧹 Refactoring

Changes

Copy link

vercel bot commented Apr 10, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
litellm ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 21, 2025 6:04pm

@n1lanjan
Copy link
Contributor Author

@krrishdholakia please review

@krrishdholakia
Copy link
Contributor

Can you please add a mock test for this inside tests/litellm @n1lanjan

@CLAassistant
Copy link

CLAassistant commented Apr 21, 2025

CLA assistant check
All committers have signed the CLA.

@n1lanjan
Copy link
Contributor Author

@krrishdholakia added tests

@krrishdholakia krrishdholakia merged commit 03245c7 into BerriAI:main Apr 21, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants