Skip to content

Security: fitzss/valun-open

SECURITY.md

Security Policy

Reporting a Vulnerability

Please report security vulnerabilities privately through GitHub Private Vulnerability Reporting:

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:

  1. Affected package (valun Python, @fitzdoud/valun JavaScript, server/, or plugins/valun/), version, and commit SHA.
  2. A minimal offline reproduction script or JSON vector demonstrating the issue.
  3. What security boundary or invariant is violated.

Scope & Architecture Boundaries

  • 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.tech runs on Ergo testnet (tERG), where test coins carry no monetary value.
  • What offline verification proves: verify_note_receipt, verify_mandate_offline, and verify_card prove which secp256k1 key 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 other anchor_proof.agent_pubkeys entry is the server's unsigned word (unproved_agent_pubkeys), and mandate_verified (authenticity) is distinct from mandate_in_force (current authority).
  • End-to-end encrypted deals (valun-private/1): valun.private_envelope / privateEnvelope encrypts description, deliverable, and delivery.content using static secp256k1 ECDH + 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.

There aren't any published security advisories