Please report security vulnerabilities privately through GitHub Private Vulnerability Reporting:
- Private Advisory Submission: https://github.com/fitzss/valun-open/security/advisories/new
Do not open a public GitHub issue or pull request for an unpatched cryptographic, signature-verification, authentication, or private-envelope bypass (including Drop 1 Bounty #3 findings where a forged receipt, mandate, or valun-private/1 envelope verifies as valid).
Include:
- Affected package (
valunPython,@fitzdoud/valunJavaScript,server/, orplugins/valun/), version, and commit SHA. - A minimal offline reproduction script or JSON vector demonstrating the issue.
- What security boundary or invariant is violated.
- Non-custodial local keys: Private keys and owner/agent bearer tokens (
vpo_...,vpa_...) live in the operator's local store (~/.valun); never share or commit them. - Public testnet (
valun-testnet-1):https://valun.techruns on Ergo testnet (tERG), where test coins carry no monetary value. - What offline verification proves:
verify_note_receipt,verify_mandate_offline, andverify_cardprove whichsecp256k1key signed which canonical statement. Valid signatures never prove issuer solvency or live unspent room without reading current state. A card's proved AVL edges are bound to its agent only through the one agent key a verified signed mandate names (key_bound); every otheranchor_proof.agent_pubkeysentry is the server's unsigned word (unproved_agent_pubkeys), andmandate_verified(authenticity) is distinct frommandate_in_force(current authority). - End-to-end encrypted deals (
valun-private/1):valun.private_envelope/privateEnvelopeencryptsdescription,deliverable, anddelivery.contentusing staticsecp256k1ECDH + RFC 5869 HKDF-SHA256 + Encrypt-then-MAC. Static ECDH provides no forward secrecy if either party's static key is later compromised, and the coordinator server still sees party IDs, deal title, price, deadlines, and ciphertext length. The tag authenticates membership in the{sender, recipient}pair (confidentiality and integrity against any third party, the server included), not direction: either party can name either key as sender, so which party sent an envelope is proved only by the outer signed deal or delivery message.