Skip to content

test(studio): DEL is refused in a headless bridge token - #781

Merged
pbertsch merged 1 commit into
mainfrom
test/headless-del
Nov 17, 2026
Merged

pbertsch merged 1 commit into
mainfrom
test/headless-del

Conversation

@pbertsch

Copy link
Copy Markdown
Member

Summary

Test only. A bridge token of visible ASCII characters is required; the committed refusal map of the headless token test had a control character (BEL) but not DEL (\x7f), the one control character above the visible range. DEL is added; the mutant that accepts it (t[i] > 0x7f in validHeadlessToken) is killed.

Test plan

  • go test -race on the headless token test; mutant as above; staticcheck (only the old S1011)
  • disclosure scan

🤖 Generated with Claude Code

https://claude.ai/code/session_01NxVy8Kr2nZk8HoMNcxZPFF

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NxVy8Kr2nZk8HoMNcxZPFF
@pbertsch
pbertsch requested a review from a team as a code owner November 17, 2026 07:10
@pbertsch
pbertsch merged commit 9784386 into main Nov 17, 2026
10 of 11 checks passed
jay23606 added a commit to jay23606/flutter-probe that referenced this pull request Nov 17, 2026
…tems#781)

## Summary
Test only. A bridge token of visible ASCII characters is required; the committed refusal map of the headless token test had a control character (BEL) but not DEL (`\x7f`), the one control character above the visible range. DEL is added; the mutant that accepts it (`t[i] > 0x7f` in `validHeadlessToken`) is killed.

## Test plan
- [x] `go test -race` on the headless token test; mutant as above; staticcheck (only the old S1011)
- [x] disclosure scan
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.

1 participant