Skip to content

fix(fuzz): drop glob_fuzz inputs that contain banned debug shapes#1621

Merged
chaliy merged 1 commit intomainfrom
fix/glob-fuzz-input-filter
May 9, 2026
Merged

fix(fuzz): drop glob_fuzz inputs that contain banned debug shapes#1621
chaliy merged 1 commit intomainfrom
fix/glob-fuzz-input-filter

Conversation

@chaliy
Copy link
Copy Markdown
Contributor

@chaliy chaliy commented May 9, 2026

Summary

The nightly fuzz job on main is red. glob_fuzz inlines fuzz input directly
into ls /tmp/{input}, case ... in {input}), and [[ ... == {input} ]],
so any unmatched path is echoed verbatim by the shell/ls in stderr.

Last run: input ==(Span {(; produced ls: cannot access '/tmp/==(Span {(;',
which contains the banned Span { shape — but no internal Debug formatter ran,
this is real-shell-style stderr.

Fix: at the fuzz-input layer, drop inputs that already contain any
UNIVERSAL_BANNED substring. This keeps TM-INF-022 detection strict on real
builtin internals while removing the false-positive class.

Test plan

  • cargo check on the fuzz crate compiles cleanly
  • Manually dispatch Fuzz Testing on this branch and confirm glob_fuzz job is green

Generated by Claude Code

Inputs are inlined into ls/case/[[ ]] commands; an unmatched path is
echoed verbatim by the shell, so a user-supplied 'Span {' tripped
TM-INF-022 even though no internal Debug formatter ran. Filter at the
fuzz-input layer keeps the leak detector strict on real internals.
@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
bashkit 40019de Commit Preview URL

Branch Preview URL
May 09 2026, 09:08 AM

@chaliy chaliy merged commit 4206b93 into main May 9, 2026
24 checks passed
@chaliy chaliy deleted the fix/glob-fuzz-input-filter branch May 9, 2026 09:20
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