Erick λ

Results 39 issues of Erick λ

**Custom Mutator Development** - Integrate secp256k1 as a library within the custommutator directory for cryptographic operations - Implement a custom mutator that performs the following workflow: 1. Decrypt the onion...

needs rebase

We currently don't use automated code formatters, leading to inconsistent formatting and manual formatting effort. Should we establish one for each language? Or establish one just for the bitcoinfuzz framework...

I think the main libraries we should have here are those written in different programming languages. For example, we will not add Rust-secp256k1, an FFI of secp256k1 from Bitcoin Core....

enhancement

Core Lightning parses an even TLV type 100 (wrong_funding) in shutdown messages that other Lightning implementations don't recognize. Since even TLV types are required to be understood by all implementations,...

I'll develop the fuzzing targets in two phases: starting with the legacy onion format, followed by the modern TLV-based onion format. ### Legacy Onion Format **Custom Mutator Development** - Integrate...

We need to test if the Docker image is being built correctly, without errors.

ci

It may be interesting to write a fuzz target in the future that would decode one layer of the hop data and compare results between implementations... _Originally posted by @morehouse...

new target

This PR adds a new fuzzing target for BOLT12 offer decoding to our differential fuzzing. It implements the `deserialize_invoice_request` target and adds support for it in the `clightning` and `ldk`...

``` Lightning P2P message parsing failed Module: Lnd Result: MSG_TYPE=open_channel;CHAIN_HASH=f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8;TEMPORARY_CHANNEL_ID=f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f80202;FUNDING_SATOSHIS=144680345676153346;PUSH_MSAT=144746316373819906;DUST_LIMIT_SATOSHIS=144680861072228866;MAX_HTLC_IN_FLIGHT_MSAT=144680345676153346;CHANNEL_RESERVE_SATOSHIS=144680345676153346;HTLC_MINIMUM_MSAT=144680345676153346;FEERATE_PER_KW=33686018;TO_SELF_DELAY=514;MAX_ACCEPTED_HTLCS=514;FUNDING_PUBKEY=020202020202020202020202020202020202020202020202020202020202020202;REVOCATION_BASEPOINT=020202020202020202020202020202020202020202020202020202020202020202;PAYMENT_BASEPOINT=020202020202020202020202020202020202020212020202020202020202020202;DELAYED_PAYMENT_BASEPOINT=02020202020202020202020024b8b8b8b8b8b8b8b8b8b8b8feb8b8b8b8b8dddddd;HTLC_BASEPOINT=020202020202020202240202020202020202020202020202020202020202020202;FIRST_PER_COMMITMENT_POINT=02020202020202021f02020202020202dddddddddd020202020202020202020202;CHANNEL_FLAGS=2;UPFRONT_SHUTDOWN_SCRIPT=6b6b6bdddd020202020202ff790202e4dd0202020202020202020202020202022584733102021f02020202020202dddddddddd1a00a70202020202020202020202ff79029999999999999999999999999900209f9f9f9f9f9f9f9f2a9f9fbf9f9f9f219fdf01639f9f9f00;CHANNEL_TYPE=020202020202dddddddddd1a00a70202020202020202020202ff79029999999999999999999999999900209f9f9f9f9f9f9f9f2a9f9fbf9f9f9f219fdf01639f9f9f0001c1c19f9f9f9b9b9b9b9b9b9b3a9b9b9b9b9d9d9d9f9f111111111111111111111100009f9fc1c19fbf3c3c3c3c3c3c3c3c3c3c0ec1c1c1c1c1c1c10020009f0000fc9f9f9f3c9f9f9f9f9f3c9fff900202020402020202020202020202 Module: Ldk Result: MSG_TYPE=open_channel;CHAIN_HASH=f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8;TEMPORARY_CHANNEL_ID=f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f80202;FUNDING_SATOSHIS=144680345676153346;PUSH_MSAT=144746316373819906;DUST_LIMIT_SATOSHIS=144680861072228866;MAX_HTLC_IN_FLIGHT_MSAT=144680345676153346;CHANNEL_RESERVE_SATOSHIS=144680345676153346;HTLC_MINIMUM_MSAT=144680345676153346;FEERATE_PER_KW=33686018;TO_SELF_DELAY=514;MAX_ACCEPTED_HTLCS=514;FUNDING_PUBKEY=020202020202020202020202020202020202020202020202020202020202020202;REVOCATION_BASEPOINT=020202020202020202020202020202020202020202020202020202020202020202;PAYMENT_BASEPOINT=020202020202020202020202020202020202020212020202020202020202020202;DELAYED_PAYMENT_BASEPOINT=02020202020202020202020024b8b8b8b8b8b8b8b8b8b8b8feb8b8b8b8b8dddddd;HTLC_BASEPOINT=020202020202020202240202020202020202020202020202020202020202020202;FIRST_PER_COMMITMENT_POINT=02020202020202021f02020202020202dddddddddd020202020202020202020202;CHANNEL_FLAGS=2;UPFRONT_SHUTDOWN_SCRIPT=6b6b6bdddd020202020202ff790202e4dd0202020202020202020202020202022584733102021f02020202020202dddddddddd1a00a70202020202020202020202ff79029999999999999999999999999900209f9f9f9f9f9f9f9f2a9f9fbf9f9f9f219fdf01639f9f9f00;CHANNEL_TYPE=0000000000000000000000000000000000000000000000000000000000000000020202020202dddddddddd1a00a70202020202020202020202ff79029999999999999999999999999900209f9f9f9f9f9f9f9f2a9f9fbf9f9f9f219fdf01639f9f9f0001c1c19f9f9f9b9b9b9b9b9b9b3a9b9b9b9b9d9d9d9f9f111111111111111111111100009f9fc1c19fbf3c3c3c3c3c3c3c3c3c3c0ec1c1c1c1c1c1c10020009f0000fc9f9f9f3c9f9f9f9f9f3c9fff900202020402020202020202020202 ``` Discrepancy: LND: `CHANNEL_TYPE=020202020202dddddddddd1a00a70202020202020202020202ff79029999999999999999999999999900209f9f9f9f9f9f9f9f2a9f9fbf9f9f9f219fdf01639f9f9f0001c1c19f9f9f9b9b9b9b9b9b9b3a9b9b9b9b9d9d9d9f9f111111111111111111111100009f9fc1c19fbf3c3c3c3c3c3c3c3c3c3c0ec1c1c1c1c1c1c10020009f0000fc9f9f9f3c9f9f9f9f9f3c9fff900202020402020202020202020202` rust-lightning and Core lightning: `CHANNEL_TYPE=0000000000000000000000000000000000000000000000000000000000000000020202020202dddddddddd1a00a70202020202020202020202ff79029999999999999999999999999900209f9f9f9f9f9f9f9f2a9f9fbf9f9f9f219fdf01639f9f9f0001c1c19f9f9f9b9b9b9b9b9b9b3a9b9b9b9b9d9d9d9f9f111111111111111111111100009f9fc1c19fbf3c3c3c3c3c3c3c3c3c3c0ec1c1c1c1c1c1c10020009f0000fc9f9f9f3c9f9f9f9f9f3c9fff900202020402020202020202020202`

crash

Currently, we cannot run fuzzing with `Eclair` and `LightningKMP` simultaneously because only one JVM can be instantiated per process, so we must either find a way to run both in...