[NUT-08] Async-melt change discarded in CheckMeltQuoteState — operator fund loss

Aperta
#812 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
30/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
go
Ambito
payments

Direzione di ricerca

Start by checking whether the bug still reproduces on upstream main (4614ac2), since the migration did not verify it. The payload names only CheckMeltQuoteState, which should be where the blinding rs values are dropped, and the local audit report §6 is cited but not in the repo. Done means either the change outputs can be unblinded after an async melt, or async-melt quotes are rejected when NUT-08 is unsupported. Choosing between those two fixes needs Cashu wallet knowledge, so confirm the approach with maintainers first.

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

Descrizione

Migrated from Amperstrand/tollgate-module-basic-go#84 as part of the fork retirement — OpenTollGate/tollgate-module-basic-go is the single source of truth; the fork issue carries the original discussion and any lab evidence. Retirement plan: #758.]


NUT-08 fees/change: Async-melt change is discarded in CheckMeltQuoteState, causing operator fund loss. The function doesn't store the rs values needed to unblind the change outputs.

The mint declares NUT-08 unsupported (consistent), but the wallet's async-melt implementation silently discards change when quotes are checked, which means the operator loses funds when users perform async melts.

Fix: Store rs values in CheckMeltQuoteState to enable change unblinding; or properly reject async-melt quotes if NUT-08 is unsupported.

Evidence: /home/ubuntu/src/tollgate_audit_report_2026-08-26.md §6, line 98; §7
Section reference: /home/ubuntu/src/tollgate_audit_report_2026-08-26.md §6


Migrated 2026-10-09. Applicability to current upstream main (4614ac2, post-rc1) was not re-verified during migration — confirming whether the finding still reproduces upstream is this issue's first task.

Lingua principale
Go
Stelle
12
Fork
14
Merge medio
3g 22h
PR unite (30g)
262

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 OpenTollGate/tollgate-module-basic-go

Tutte le issue di OpenTollGate/tollgate-module-basic-go

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.