Skip to content

[0.8.2] Plain-text checks for store text and manifest names; parser fuzz tests - #16

Merged
wittywilla merged 3 commits into
v0.8.2-alphafrom
sec/plain-text-fuzz
Nov 23, 2026
Merged

wittywilla merged 3 commits into
v0.8.2-alphafrom
sec/plain-text-fuzz

Conversation

@wittywilla

@wittywilla wittywilla commented Nov 23, 2026 •

Copy link
Copy Markdown
Owner

For 0.8.2 (retarget to v0.8.2-alpha once it exists):

  • The plain-text check used for catalogue and manifest text also refuses C1 control characters and invisible direction/zero-width characters. Emoji joiners stay allowed.
  • A manifest's name goes through the same check (at most 64 bytes, one line).
  • New fuzz tests: FuzzParseCatalog, FuzzVerifyCatalog, FuzzParseManifest, FuzzParseWithdrawals, FuzzParseIntegration.
  • Tests: TestPlainTextRefusesHiddenCharacters, TestManifestNameIsPlainText.
  • CI: actions/setup-node pinned by commit like every other action.

go test ./... passes; each fuzzer ran 20 s locally with nothing found.

🤖 Generated with Claude Code

wittywilla and others added 3 commits November 23, 2026 00:37
…fuzz the parsers

plainText now refuses C1 controls and invisible direction and zero-width characters,
and a manifest's name goes through the same check. Fuzz tests for the catalogue,
its signature check, manifests, withdrawals lists and integration.json.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@wittywilla
wittywilla changed the base branch from v0.8.1-alpha to v0.8.2-alpha November 23, 2026 10:08
@wittywilla
wittywilla marked this pull request as ready for review November 23, 2026 10:12
Copilot AI balanced review requested due to automatic review settings November 23, 2026 10:12
@wittywilla
wittywilla merged commit c50bd3f into v0.8.2-alpha Nov 23, 2026
1 check passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

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.

2 participants