Skip to content

[Wave 11] Add a malformed-witness and type-script fuzz corpus for CKB #281

Done

Description

@truthixify

Important

Start from the current develop branch in a new branch and PR. Do not reuse a closed contribution branch.

All pull requests undergo remote-only malware screening at the exact head SHA before contributor code is fetched or executed.

Tier: M | Type: fuzz + security

Context. CKB transaction tests now run in CI, but the repository has no fuzz harness for crafted witness, args, output, and cell-dependency layouts in the stealth lock and names type script.

Scope. Add deterministic fuzz targets for lock/type-script parsing, ckb-auth inputs, cell deps, output indices, and announcement args. Minimize and retain every discovered regression.

Acceptance. The corpus covers truncation at every field boundary, excess bytes, invalid algorithm IDs, wrong dep/type hashes, duplicated outputs, and integer boundaries. Scripts reject malformed transactions without panic or out-of-bounds access. CI runs a bounded deterministic sample and a larger scheduled corpus.

Likely files: ckb/, CKB transaction harness, fuzz targets/corpus, CI configuration.

Activity

  1. added
    help wanted
    Stellar Wave
    security
    drips
    Wave 11
    on Nov 12, 2026
  2. khoap1220-hue commented on Nov 18, 2026

    @khoap1220-hue
    Contributor

    @khoap1220-hue has applied to work on this issue as part of the Stellar Wave Program's 11th wave.

    In ckb/contracts/wraith-stealth-lock/src/main.rs (program_entry() and auth(), lines 62-125) and ckb/contracts/wraith-names-type/src/main.rs (raw 66-byte cell data parsing and line 74 unreachable!()), I will build deterministic adversarial/property fuzz harnesses covering malformed signatures, invalid pubkey encodings, announcement args, invalid algorithm IDs, duplicated outputs, and malformed name cells, replacing unreachable!() and wiring fast PR corpus checks + scheduled fuzz runs on develop.

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @khoap1220-hue to this issue.

  3. drips-wave commented on Nov 18, 2026

    @drips-wave

    Congratulations, @khoap1220-hue! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on November 25, 2026.

    🧑‍💻 @khoap1220-hue: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.

    Warning

    When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.

    🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.

    🌊 Happy Wave 🌊

  4. added 4 commits that reference this issue on Nov 18, 2026
    2177329
    6e3f4ef
    ec0b8c2
    1780793
  5. drips-wave commented on Nov 23, 2026

    @drips-wave

    This issue has been completed by @khoap1220-hue as part of the Stellar Wave Program's 11th Wave 🥳

    😎 @khoap1220-hue: You earned 200 Points for completing this issue! Once the Wave's rewards are finalized, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.

    🧑‍💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.

  6. added a commit that references this issue on Nov 26, 2026
    9beea81
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Stellar WaveWave 11dripsfuzzhelp wantedsecurity

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions