Android: helper stderr reaches the client error and request log unfiltered
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- android, typescript
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- TypeScript
- Estrellas
- 5.2k
- Forks
- 359
- Merge medio
- 13 h 37 min
- PR fusionados (30 d)
- 665
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de callstack/agent-device
-
bug ready-for-agent
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
callstack/agent-device#4112 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
iOS alert wait: the last poll can get ~30 ms and turns "no alert" into a failed readPosiblemente ocupada @pcbeingused333 la tomó hoy. Abiertobug ready-for-agent
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
callstack/agent-device#4018 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
callstack/agent-device#1869 ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 43/100
callstack/agent-device#4110 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Android: INSTRUMENTATION_FAILED on the first snapshot after a boot or restore is not retriedAbiertobug ready-for-agent
Dificultad 3/5 1-2 días Aptitud para principiantes 57/100
callstack/agent-device#4109 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de callstack/agent-device
Issues similares
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:auth-provider issue-rating: 🦞 diamond lobster no-stale P1
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
steipete/oracle#614 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Koenkk/zigbee-herdsman-converters#13656 ·
Los mantenedores suelen responder en 2 días
-
Report: Mooz Dance SDAbiertocheck:passed streams:remove
Dificultad 1/5 Menos de una hora Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
bug needs triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
actions/setup-node#1659 ·
Los mantenedores suelen responder en 1 día