Android: helper stderr reaches the client error and request log unfiltered
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 48/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- android, typescript
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 5.2k
- Forks
- 359
- Ø Merge
- 13 Std. 32 Min.
- Gemergte PRs (30 T.)
- 671
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus callstack/agent-device
-
bug ready-for-agent
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 77/100
callstack/agent-device#4018 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
callstack/agent-device#1869 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 43/100
callstack/agent-device#4110 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 57/100
callstack/agent-device#4109 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
callstack/agent-device#4107 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in callstack/agent-device
Ähnliche Issues
-
area:cli bug P4
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
Maintainer antworten meist innerhalb von 1 Tag
-
bug from-studio
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
esengine/DeepSeek-Reasonix#14868 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
loopbackio/loopback-next#11878 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
bug 🐛
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
comunica/comunica#1925 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag