Go fuzzing was missing half the toolkit. We forked the toolc...#2227
Open
carlospolop wants to merge 1 commit into
Open
Go fuzzing was missing half the toolkit. We forked the toolc...#2227carlospolop wants to merge 1 commit into
carlospolop wants to merge 1 commit into
Conversation
Collaborator
Author
🔗 Additional ContextOriginal Blog Post: https://blog.trailofbits.com/2026/05/12/go-fuzzing-was-missing-half-the-toolkit.-we-forked-the-toolchain-to-fix-it./ Content Categories: Based on the analysis, this content was categorized under "Generic Methodologies & Resources > Fuzzing Methodology, possibly as a subsection/page for Go fuzzing with gosentry, LibAFL, Nautilus grammar fuzzing, and differential fuzzing". Repository Maintenance:
Review Notes:
Bot Version: HackTricks News Bot v1.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 Automated Content Update
This PR was automatically generated by the HackTricks News Bot based on a technical blog post.
📝 Source Information
🎯 Content Summary
Trail of Bits introduces gosentry, a fuzzing-oriented fork of the Go toolchain that preserves the standard Go
testing.Ffuzzing workflow while replacing and extending the fuzzing backend with a stronger stack based on LibAFL and Nautilus. The goal is to keep existinggo test -fuzzharnesses usable while adding capabilities common in Rust, C, and C++ fuzzing ecosystems, such as better coverage-guided scheduling, gramm...🔧 Technical Details
Drop-in stronger Go fuzzing: replace the Go binary with gosentry's fork and run existing
testing.Fharnesses with the familiar./bin/go test -fuzz=Targetworkflow. The harness still usesf.Addfor seed corpus entries andf.Fuzzfor the callback, but gosentry captures that callback, builds a Go archive with libFuzzer-style entry points, and executes it in-process through a Rust LibAFL runner. This allows existing Go fuzz targets to benefit from a stronger coverage-guided engine without rewriting harnesses.Convert silent or non-crashing bad behavior into fuzzing findings. gosentry inserts integer overflow checks by default, can enable truncation checks through go-panikint, can run Go's native race detector with
--catch-races, can detect goroutine leaks with goleak using--catch-leaks, and can treat execution timeouts as fuzzing failures to expose infinite loops or denial-of-service conditions. The <co...🤖 Agent Actions
Updated
src/generic-methodologies-and-resources/fuzzing.md.Added a new Go fuzzing methodology section covering:
gosentrywith existingtesting.Fharnesses--panic-on, race/leak catching, and hang detectionAlso updated the file’s
## Referencessection with:trailofbits/gosentryrepoValidation:
mdbook buildcould not be run becausemdbookis not installed in this environmentThis PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.