task_showcase: default bind 0.0.0.0 contradicts the documented 127.0.0.1:5005
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 88/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Ambito
- documentation, security
Direzione di ricerca
Inizia da assets/task_showcase/app.py:248-260 e dalla sezione Run di assets/task_showcase/README.md. Verifica il bind predefinito attuale e l’URL documentato, quindi esegui python app.py e conferma che il valore predefinito è loopback, mentre --host 0.0.0.0 rimane un’opzione esplicita; aggiorna la README per menzionare questa opzione.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
assets/task_showcase/app.py defaults its Flask bind to 0.0.0.0 while the README next to it documents python app.py as serving http://127.0.0.1:5005. The app is a read-only, unauthenticated renderer over local run artifacts, so the default quietly puts those artifacts (task definitions, reports, screenshots) on the LAN instead of loopback.
Current code (main)
assets/task_showcase/app.py:248-260:
parser.add_argument("--host", default="0.0.0.0")
parser.add_argument("--port", type=int, default=5005)
...
app.run(host=args.host, port=args.port, debug=args.debug)
assets/task_showcase/README.md Run section:
pip install flask
python app.py # serves http://127.0.0.1:5005
The two disagree: following the README's plain python app.py binds all interfaces. Anyone on the same network can read the served tasks/reports; there is no auth on any route (fine for loopback, surprising for 0.0.0.0). Windows Firewall will typically prompt on first run, but a prompt accepted once (or a Linux host with no host firewall) leaves it exposed.
Suggested fix
Default --host to 127.0.0.1, matching the README; keep --host 0.0.0.0 as the explicit opt-in for users who do want to share the dashboard on their network, and mention that flag in the README's Run section. One-line change plus a doc line.
- Lingua principale
- Python
- Stelle
- 6k
- Fork
- 385
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di microsoft/Webwright
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
Tutte le issue di microsoft/Webwright
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
xinnan-tech/xiaozhi-fde-talk#263 ·
-
rules
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
huggingface/Repo2RLEnv#163 · 1 commento ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 95/100
huggingface/sentence-transformers#4074 ·
-
comp/dashboard invalid P3
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
NousResearch/hermes-agent#121143 ·