Playground: «Try to break it» in the browser with Pyodide

Aperta
#18 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
22/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
html, javascript, python, sql, sqlite

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

area:playground help wanted size:l type:feature
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
Lingua principale
Python
Stelle
0
Fork
0
Merge medio
1m
PR unite (30g)
2

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di jmmana/sqlguardllm

Tutte le issue di jmmana/sqlguardllm

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.