Android: helper stderr reaches the client error and request log unfiltered
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- android, typescript
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- TypeScript
- スター
- 5.2k
- フォーク
- 359
- 平均マージ
- 12時間 43分
- マージ済み PR(30日)
- 666
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
callstack/agent-device のほかの issue
-
bug ready-for-agent
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
callstack/agent-device#4018 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
callstack/agent-device#1869 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 43/100
callstack/agent-device#4110 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 57/100
callstack/agent-device#4109 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
callstack/agent-device#4107 ·
メンテナーはふだん 1 日以内に返信
callstack/agent-device の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
Automattic/data-liberation-agent#1115 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
CSS enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
pychess/pychess-variants#2448 ·
メンテナーはふだん 1 日以内に返信
-
[architect] Stale planning/scratch files at repo root (COMPONENT_SPLIT_SUMMARY.md etc.) describe already-completed work対応中かも @hivecommons-hive が今日担当しました。 オープンagent/architect architecture help wanted stage/040-covered-by-pr tech-debt
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
kubestellar/console#24716 ·
メンテナーはふだん 1 日以内に返信
-
helm-knative-apply.sh fails with Helm 4対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンarea: triage theme: undefined
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
jhipster/generator-jhipster#35895 ·
メンテナーはふだん 1 日以内に返信