Playground: «Try to break it» in the browser with Pyodide
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 22/100
Research direction
Nothing under playground/ exists yet, so the work starts from scratch. Read docs/DESIGN.md and docs/ATTACK_GALLERY.md, and check whether #9 and #10 have landed, since the issue depends on them. Done means a static site that runs sqlguardllm under Pyodide against a sql.js demo database, with the presets, a fragment-encoded share link, and the 5-second load target met.
Written by the indexing model from the issue text.
Description
Goal
Let anyone try to beat sqlguardllm in their browser, with no install and no server.
Acceptance criteria
- Static site in
playground/deployed to Cloudflare Pages, with no backend - Runs sqlguardllm with Pyodide and executes allowed queries on a demo SQLite database in the browser (sql.js)
- Presets: the gallery attacks, two roles with different row filters, and an editable policy
- Shareable link that encodes policy and SQL in the URL fragment, never sent to a server
- Loads in under 5 s on a typical connection and works on mobile
Relevant files
playground/
Size
L (3-5 days)
Notes
- Depends on: #10, #9
- Milestone: v0.3 · Ecosystem & playground
- 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