Skip to content

fix(debug): redact sensitive textarea and select values - #606

Open
wzxsdf wants to merge 2 commits into
Tencent:mainfrom
wzxsdf:codex/fix-sensitive-html-controls-587
Open

wzxsdf wants to merge 2 commits into
Tencent:mainfrom
wzxsdf:codex/fix-sensitive-html-controls-587

Conversation

@wzxsdf

@wzxsdf wzxsdf commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

Summary

Fixes #587.

HTML debug captures redacted sensitive values from input controls but could retain initial values from sensitive textarea and select controls.

Changes

  • Redact sensitive textarea and select controls.
  • Support encoded field names and sensitive autocomplete tokens.
  • Safely handle unclosed sensitive controls.
  • Preserve ordinary form controls unchanged.
  • Add regression tests.
  • Update English and Chinese changelogs.

Validation

  • pnpm --filter @browser-skill/extension exec vitest run src/debug/__tests__/redact.test.ts
  • pnpm --filter @browser-skill/extension exec vitest run src/debug/__tests__
  • pnpm --filter @browser-skill/extension run compile
  • python scripts/check-changelog-sync.py
  • git diff --check

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

HTML 正文脱敏遗漏 textarea 和 select 中的敏感初始值

1 participant