Server mode: sqlguardllm serve with an HTTP API and a Docker image
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- Over a week
- Newbie friendliness
- 18/100
Research direction
Start with src/sqlguardllm/server.py, Dockerfile and .github/workflows/release.yml, plus docs/DESIGN.md for the CheckResult JSON shape. The issue depends on #12 and #11, which are not in the payload, so read those first. Done means both endpoints return CheckResult JSON, the OpenAPI document and GHCR image publish on release, and a localhost benchmark shows p50 under 2 ms.
Written by the indexing model from the issue text.
Description
Goal
Use the same engine from any language as a sidecar (docs/DESIGN.md#other-languages).
Acceptance criteria
-
sqlguardllm serve --policy FILEexposesPOST /v1/checkandPOST /v1/explainwith the same JSON asCheckResult - Named policies loaded at startup; no SQL or context is logged
- OpenAPI document and a Docker image published to GHCR on release
- p50 under 2 ms per check on localhost in a benchmark
Relevant files
src/sqlguardllm/server.pyDockerfile.github/workflows/release.yml
Size
M (1-2 days)
Notes
- Depends on: #12, #11
- Milestone: Later · Node.js and .NET
- Design: docs/DESIGN.md · threat model · attack gallery
- Dominant language
- Python
- Stars
- 0
- Forks
- 0
- Avg merge
- 1m
- Merged PRs (30d)
- 2
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from jmmana/sqlguardllm
-
area:security good first issue size:s type:feature
Difficulty 2/5 Half a day Newbie friendliness 68/100
jmmana/sqlguardllm#16 ·
-
area:integrations size:s type:feature
Difficulty 4/5 Half a day Newbie friendliness 25/100
jmmana/sqlguardllm#38 ·
-
area:security size:m type:infra
Difficulty 4/5 1-2 days Newbie friendliness 30/100
jmmana/sqlguardllm#37 ·
-
area:integrations help wanted size:m type:feature
Difficulty 4/5 3-5 days Newbie friendliness 30/100
jmmana/sqlguardllm#36 ·
-
area:integrations help wanted size:m type:feature
Difficulty 4/5 3-5 days Newbie friendliness 35/100
jmmana/sqlguardllm#35 ·
All issues in jmmana/sqlguardllm
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
vllm-project/vllm#70030 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
TigreGotico/tugaphone#408 ·
Maintainers usually reply within 1 day
-
t: bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 3 days
-
needs-triage
Difficulty 1/5 Under an hour Newbie friendliness 85/100
Azure/azure-sdk-for-python#50155 · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 1 day