Android: helper stderr reaches the client error and request log unfiltered
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- android, typescript
Direzione di ricerca
Start by tracing how Android snapshot helper stderr becomes the client error reason, details.stderr, and the android_snapshot_helper_failed request-log entry; the issue does not name the relevant files or tests. Inspect the checked-in helper’s stdout status chunks and the remote-provider cause-line behavior. Done means stderr reaching clients or logs is bounded, snapshot-content lines are excluded, and cause lines such as uiautomator unavailable remain visible.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Found while working on #4021 (#4005).
When the Android snapshot helper fails, the helper's stderr goes to the client and to the request log unfiltered:
- The first stderr line becomes the failure
reason, both in the client error and in theandroid_snapshot_helper_failedrequest-log entry. - The raw
details.stderris attached to the error.
Snapshot text written to the screen can therefore reach the client and the downloadable request log if a tagless hierarchy fragment lands on stderr (for example ret" text="…" />). Remote clients can download that request log. A sensitive fill's literal value is scrubbed only where it matches exactly, so an altered form of it in a fragment is not caught.
The checked-in helper writes XML only through base64 status chunks on stdout, so this needs stderr to carry snapshot content, and no current helper path does that. It is a defense-in-depth gap, not a reproduced leak.
Required behavior. Helper stderr that reaches the client or the request log is bounded, and lines carrying snapshot content are kept out of it. The cause line that remote providers rely on (for example uiautomator unavailable) must stay visible.
- Lingua principale
- TypeScript
- Stelle
- 5.2k
- Fork
- 359
- Merge medio
- 12h 43m
- PR unite (30g)
- 666
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
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 callstack/agent-device
-
bug ready-for-agent
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
callstack/agent-device#4018 ·
I maintainer di solito rispondono entro 1 giorno
-
Limrun iOS fill reports success but drops non-ASCII textForse già presa @mvanhorn l’ha presa 9 giorni fa. Apertabug ready-for-agent
Difficoltà 2/5 1-3 ore Idoneità per principianti 87/100
callstack/agent-device#3819 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
callstack/agent-device#1869 ·
I maintainer di solito rispondono entro 1 giorno
-
iOS simulator: snapshot drops controls nested deeper than 64 accessibility levelsForse già presa @KrzysztofMoch l’ha presa oggi. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
callstack/agent-device#4088 ·
I maintainer di solito rispondono entro 1 giorno
-
needs-info
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
callstack/agent-device#4086 · 5 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di callstack/agent-device
Issue simili
-
bug ready-for-agent
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
PhyberApex/kuroshiro#1687 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
microsoft/monaco-editor#5563 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 86/100
awslabs/visual-asset-management-system#937 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100