git404hub

what is veilo-bounty-report fr?

triwidodo99/veilo-bounty-report — explained in plain English

Analysis updated 2026-05-18

0Audience · researcherComplexity · 5/5Setup · easy

tl;dr

A bug bounty security audit report documenting two critical and one medium severity vulnerabilities found in VeiloLayer's Solana privacy pool smart contract.

vibe map

mindmap
  root((veilo audit))
    What it is
      Bug bounty report
      Solana privacy pool
      Superteam Earn program
    Findings
      Nullifier replay bypass
      Relayer float vault skip
      Modulus equality bug
    Tech stack
      Anchor framework
      Groth16 proofs
      Merkle tree
    Scope
      In scope contract files
      Out of scope frontend
      Out of scope ZK circuit

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Read the audit to understand how a nullifier replay bug could let an attacker double mint private notes on a privacy pool.

VIBE 2

Study the relayer float vulnerability as an example of how accounting logic can be tricked into skipping a fund debit.

VIBE 3

Use the modulus off by one finding as a reference for reviewing zero knowledge proof equality checks in other contracts.

VIBE 4

Reference this report's structure and severity scoring as a template for writing a Solana smart contract audit.

what's the stack?

SolanaAnchorRustGroth16ZK-SNARKs

how it stacks up fr

triwidodo99/veilo-bounty-report00kaku/gallery-slider-block04amanrajj/netwatch
Stars00
LanguageJavaScriptRust
Last pushed2021-05-19
MaintenanceDormant
Setup difficultyeasyeasymoderate
Complexity5/52/53/5
Audienceresearchergeneralops devops

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · easy time til it works · 5min

This is a written report with no code to run, reading the linked finding files is the only setup needed.

in plain english

This repository is a security audit report, not a piece of software you install or run. It documents a review of VeiloLayer's privacy_pool smart contract, a program built with the Anchor framework that runs on the Solana blockchain. The audit was written by an independent security researcher as part of a paid bug bounty program hosted on Superteam Earn, where the researcher was rewarded $2,000 in USDC for finding a critical severity issue. The report explains that a low level security review was done on the contract's code, focused on ways an attacker could steal funds directly, spend the same private note twice, drain a shared pool of funds without permission, or bypass the zero knowledge proof checks the system relies on to keep transactions private and valid. Zero knowledge proofs, often shortened to ZK-SNARKs, are a cryptographic method that lets someone prove a transaction is valid without revealing its private details. The review found two critical severity problems and one medium severity problem. One critical issue involves a way to replay a proof and mint duplicate private notes, draining the fund pool. The other critical issue describes a code path that lets certain trades skip debiting the vault, which could inflate the pool's reported balance and eventually let someone steal real funds. The medium severity issue is a subtle math bug in how the code checks equality against a cryptographic modulus, which could let an attacker sneak an invalid value past the system's checks. Each finding has its own detailed writeup file linked from the main report, describing the specific code involved and the impact. The audit covers the main smart contract files, including transaction handling, cross pool swaps, integrations with other Solana trading protocols, and the Merkle tree and proof verification logic, but does not cover the frontend, third party protocols, or the correctness of the underlying ZK circuit design itself.

prompts (copy fr)

prompt 1
Explain in plain terms what the init_if_needed nullifier bypass vulnerability in CRIT-001 allows an attacker to do.
prompt 2
Walk me through why skipping a vault debit on the relayer float path leads to fund theft, as described in CRIT-002.
prompt 3
Explain what FR_MODULUS equality bypass means and why an off by one bug there matters for ZK proof verification.
prompt 4
Summarize the in scope and out of scope files for this Solana privacy pool audit.

Frequently asked questions

what is veilo-bounty-report fr?

A bug bounty security audit report documenting two critical and one medium severity vulnerabilities found in VeiloLayer's Solana privacy pool smart contract.

How hard is veilo-bounty-report to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is veilo-bounty-report for?

Mainly researcher.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.