[test]: fuzz bundle parsing with cargo-fuzz
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 55/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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 abundle_from_jsontarget 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_jsonruns for ten minutes without a crash, or the PR fixes what it finds. - No
unwrapor panic is introduced in library code.
Comment to be assigned before starting. Read CONTRIBUTING.md for the checks this repository runs.
- Lenguaje dominante
- Rust
- Estrellas
- 1
- Forks
- 1
- Merge medio
- 3 d 13 h
- PR fusionados (30 d)
- 5
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Externalize-Labs/externalize
-
[test]: cover `ancestry --json` rejections in the CLI testsPosiblemente ocupada @comandanto la tomó hoy. Abiertoarea/cli complexity:trivial good first issue Stellar Wave test
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Externalize-Labs/externalize#23 · 3 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
area/docs complexity:trivial documentation good first issue Stellar Wave
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Externalize-Labs/externalize#14 ·
Los mantenedores suelen responder en 1 día
-
area/cli complexity:trivial enhancement good first issue Stellar Wave
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Externalize-Labs/externalize#12 ·
Los mantenedores suelen responder en 1 día
-
[enhancement]: `proveAncestor` in the WebAssembly packagePosiblemente ocupada @khoap1220-hue la tomó hoy. Abiertoarea/wasm complexity:medium enhancement Stellar Wave
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
Externalize-Labs/externalize#26 · 2 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
[enhancement]: `ancestry --headers` accepts an archive directoryPosiblemente ocupada @khoap1220-hue la tomó hace 3 días. Abiertoarea/cli complexity:medium enhancement Stellar Wave
Dificultad 4/5 3-5 días Aptitud para principiantes 56/100
Externalize-Labs/externalize#25 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de Externalize-Labs/externalize
Issues similares
-
bug dependencies kind:fix priority: P3 ready-for-agent
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
shep-pm/shep#1318 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 2 días
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
swc-project/swc-next#1165 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
Alive24/shea-symphony#574 ·
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día