Skip to content

redact: keep password flags in raw uiautomator XML #385

Open

Description

@ElbertePlinio

redactSecrets in packages/core/src/redact.ts turns every password="false" attribute in raw uiautomator XML into password="[REDACTED]". This affects android_get_ui_tree with raw: true and the CLI android ui-tree.

Agents can no longer see which fields are password fields, and every node gets longer. The compact tree from #351 is not affected. The Rust evidence redactor keeps true and false values since #352.

Checklist

  • Keep boolean values when redacting key and value pairs
  • Add a raw uiautomator fixture to the redaction tests

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions