Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[test]: fuzz bundle parsing with cargo-fuzz

Aperta
#7 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
55/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
rust
Ambito
security, testing

Direzione di ricerca

Read CONTRIBUTING.md for the repository checks, then inspect Bundle::from_json, its XDR decoding, tests/tamper.rs, and the mainnet fixture. Add a fuzz/ crate with a bundle_from_json target that verifies successfully parsed bundles against the public trust set, and seed its corpus with the fixture. Done means cargo +nightly fuzz run bundle_from_json runs for ten minutes without a crash, or the PR fixes any crash it finds; avoid introducing library panics or unwraps.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

area/core complexity:medium Stellar Wave test
Context

Bundle::from_json and the XDR decoding behind it take untrusted input from any RPC or exnode. The property test in tests/tamper.rs mutates a valid bundle; a fuzzer would also explore malformed structure.

Scope
  • Add a fuzz/ crate with a bundle_from_json target that parses and, when parsing succeeds, verifies against the public trust set.
  • Seed the corpus with the mainnet fixture.
  • Document how to run it in CONTRIBUTING.md; a CI job is optional (nightly).
Done when
  • cargo +nightly fuzz run bundle_from_json runs for ten minutes without a crash, or the PR fixes what it finds.
  • No unwrap or panic is introduced in library code.

Comment to be assigned before starting. Read CONTRIBUTING.md for the checks this repository runs.

Lingua principale
Rust
Stelle
1
Fork
1
Merge medio
3g 13h
PR unite (30g)
5

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Externalize-Labs/externalize

Tutte le issue di Externalize-Labs/externalize

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.