VantemioAI · Web3BaseBoson Protocol
EN
VPassport

Vantemio donations, swap, Passport and news orders — internal security audit report

What this report is

  • Who did it. This is an internal audit by Vantemio's own AI security auditor, run with the open-source tools listed below.
  • What it is not. It is not a certificate from an independent audit firm. No outside company reviewed this code.
  • What it does and does not say. The report describes what we checked, how we checked it, what we found, and what we did not check. It does not claim the platform is free of defects.
  • Dates. Audit run-2: 15–17 November 2026. Audit run-3 and the closing pass: 17 November 2026.
  • Version audited. The run-3 fixes went live in API release 95 (a7dab5dd) and website release 136. The closing pass went live in API release 103, website releases 154 and 155 and news release 91. Contract source hashes are listed below.

Scope

  1. Smart contracts:
    • DonationSplitterV2 and its TRON variant;
    • VantemioPassport;
    • VantemioWalletRegistry;
    • PlatformVault and PlatformVaultRegistry.
  2. Sign-in and wallet links:
    • Sign-In with Ethereum;
    • smart-wallet signatures (ERC-1271 and ERC-6492);
    • links to wallets in other networks;
    • the Passport.
  3. Swap and bridge:
    • quotes and the receiver of the coins;
    • the 0.4% service fee;
    • status tracking and request limits.
  4. Donations:
    • every supported network and coin;
    • swapping during a donation and the "stablecoins only" setting;
    • recording and confirming a donation;
    • chain reorganisations;
    • the background checker (keeper).
  5. Streamer tools:
    • donation QR codes: all of a streamer's networks; one network with or without one coin; the streamer's own set of several networks, each with all coins or chosen coins. Every kind has a "stablecoins only" option;
    • the OBS alert overlay;
    • message moderation and the filter;
    • the minimum donation;
    • wallet confirmation of sensitive changes (step-up);
    • the security log.
  6. Server:
    • authorisation and cross-site request protection;
    • request limits and input handling;
    • data exposure and module load-time behaviour on the edge runtime.
  7. Passport:
    • the issuing page and the transaction it asks the wallet to sign;
    • on-chain confirmation of an issued Passport;
    • links to TRON and Stellar wallets.
  8. News orders and advertising:
    • article orders and paid placement;
    • stream banners and their prices;
    • the publisher module (closed to new publishers);
    • payments through the Boson protocol;
    • the PublisherBond and AdCampaignEscrow contracts (test network only);
    • the older NewsCommerce contract, now retired.

Method

  • Code review. We read the source of every component in scope and compared it with the platform's written architecture.
  • Tests for fixes. Each finding was proven by an automated test that fails on the code before the fix and passes after it.
  • Full test suite. After the fixes, the full suite ran with 0 failures. Last full run, after the closing pass: 3,846 tests, 0 failed (the rest skipped).
  • Contract checks:
    • static analysis;
    • unit and fuzz tests;
    • stateful invariant testing with three independent fuzzers.
  • Live checks. Run on the live site only as an ordinary visitor (read-only).
  • Test networks only. Every on-chain test used a test network with a test wallet. No mainnet transactions were made, and no real funds were used.
  • No load testing. There was no load or denial-of-service testing of the live site.

Tools and versions

All tools were installed from their official sources, and their published checksums were verified.

ToolVersionUsed for
Slither0.11.6Solidity static analysis
solc0.8.30compiler (the deployment settings: optimizer 200 runs, via-IR)
Foundry (forge)1.9.0, forge-std 1.9.7unit, fuzz and invariant tests
Echidna2.4.0property fuzzing
Medusa1.5.1property fuzzing
Semgrep1.185.0JavaScript and Solidity pattern rules
Aderyn0.6.8Solidity static analysis. Its maker has retired the tool and withdrawn the ready-made downloads, so we built it on macOS from the official release source (checksum verified)

Contract results

Audited source (SHA-256)

e753ee99…a2c804  DonationSplitterV2.sol
eab6a488…ec4ecd  DonationSplitterV2Tron.sol
7fd2efb0…5193a8  IDonationSplitterV2.sol
5f31592c…9e5ec0  VantemioPassport.sol
f84c02b5…ad8177  VantemioWalletRegistry.sol
e50ef072…02f2    PlatformVault.sol
8b915253…a570    PlatformVaultRegistry.sol

Full hashes are in the audit records.

Live contracts match the audited source

On 17 November 2026 we read the deployed code of these contracts from two public nodes per network, read-only. Both nodes returned the same code:

  • the donation splitter 0xC6ecafD48f8F1Aa8003FCA13e3738CbAfA097423 on Base, Arbitrum, Ethereum and Optimism;
  • the Passport 0x471c955fF085F3384a8a2d4f707D703374c84fc6 on Base;
  • the wallet registry 0xE15C9AE8a7B73097fD98bB3131Eaa104d5d0946E on Base.

We compared that code with our own build of the audited source, made with the same compiler settings. All six contracts match byte for byte. Two parts were set aside before comparing:

  • the compiler's metadata tail;
  • the constructor-set (immutable) values, which we checked separately.

The code hashes also match the deployment records.

Donation splitter: properties tested

The fuzzers (Echidna: 100,080 calls; Medusa: about 218,000 calls; Foundry invariants: 16,384 calls) found no sequence of donations that breaks any of these properties:

  • The contract never keeps coins or tokens after a donation.
  • The creator's part plus the fee always equals the donation. The fee is exactly the amount × rate ÷ 10,000, rounded down, for each rate: 1%, 0.5% and 0%.
  • A donation ID or donor nonce is paid at most once.
  • Nobody but the donor can move the donor's tokens, even when the donor has approved the contract.

Unit and fuzz tests

31 of 31 tests pass. Fuzz tests ran 5,000 times each.

The tests also cover:

  • refusal of tokens that take a fee on transfer;
  • refusal of tokens that report a transfer they did not make;
  • blocking of re-entry through the recipient and through a token callback;
  • donations still working, with an exact split, when someone has forced coins onto the splitter without a call.

On the Passport, wallet registry and vault, they cover:

  • the soulbound lock;
  • vouchers that bind to their sender and cannot be replayed;
  • the issuing rate limit;
  • revocation, which removes old vouchers, delegates and pending recovery;
  • controller change by signature;
  • delayed recovery with the holder's veto;
  • wallet link replay and purpose checks;
  • vault access control and exact accounting.

Static analysis

Slither reported 35 items. We reviewed each one, and none was an exploitable defect. The two "high" categories are explained in the code:

  • the "arbitrary send" item: the contract requires that the donor is the caller;
  • the "reentrancy" items: the TRON variant uses a re-entry lock and deliberate balance checks.

Aderyn reported 3 high and 13 low items. We reviewed each one, and none was an exploitable defect:

  • "state change after external call": every flagged call only reads data from an approved token or from the platform's Passport, under a re-entry lock or owner-only access;
  • "strict equality on contract balance": the splitter's check is relative to the balance before the donation. Coins forced onto the contract do not block donations; a test confirms this;
  • "contract name reused": the same sanctions-list interface is declared in two files;
  • the low items are owner powers (described in C-5 and C-6 below), the TRON variant's deliberate handling of tokens that return false, and style or gas notes.

Semgrep found no issues in 26 server and client files. On the contracts it gave gas-saving suggestions only.

Findings

Severity follows impact and likelihood: high, medium, low, info. The status is "fixed" only when a test that failed before the fix passes after it and the full suite is green.

Status after the closing pass

  • Live site and server code: no open findings at any level, info included. Every finding of run-1, run-2 and run-3 for donations, swap, sign-in, Passport and news orders is fixed and released, or is described below as accepted design with the reason.
  • Two contracts on the test network: 2 low findings open. PublisherBond and AdCampaignEscrow exist only on Base Sepolia, a test network, and hold no real funds. Five findings in them are fixed in the source; the test deployment is to be redeployed from it. Two low findings (ACE-2 and ACE-3) are open; see below.
  • Some items wait for the platform owner. They are infrastructure settings, multisig transactions and checks on real phones. They are listed under "Waiting for the owner".

Audit run-2 (15–17 November 2026)

Totals. Run-2 found 125 issues. All are fixed and released. The last one, an informational header on static pages, was closed in the closing pass.

AreaIssues
Swap and bridgeabout 35
Donation cardabout 15
Donations serverabout 10
Sign-in and Passportabout 10
Otherthe rest

Most serious, all fixed:

  • Swap, Solana:
    • A manipulated route quote could include extra transfers out of the wallet. The server and the page now check every outgoing transfer, account by account, in a simulation.
    • A fake "rent deposit" line could widen the allowed outflow. These lines are no longer trusted.
  • Swap, EVM or TRON to Solana or TRON: for these routes the receiver is now read from its exact place in the route data.
  • Swap, other networks: on 30 networks the route provider uses different contract addresses. Each network's checks are now bound to that network's own contracts.
  • Donations:
    • An EVM donation was credited only if the donor kept the page open. A background checker now finds settled donations on-chain.
    • A replaced Bitcoin transaction could lock a donation. The verifier and the checker now accept the replacement.
  • Donation card: four issues in the "other coin" and wallet-boundary flows.

Closed in the closing pass: the static pages sent Access-Control-Allow-Origin: *. These pages hold no user data, so this exposed nothing; the site now removes the header from every HTML page (website release 154).

Audit run-3 (17 November 2026)

STEP-UP-1 — medium — fixed, live in API 95. Sensitive changes to a donation page need a signature from the page's main wallet over a readable message. That message cut the change details at 600 characters, while the server checked the whole request.

  • Attack. A long padding field could push the actual new payout wallet out of the visible text.
  • Precondition. The attacker needs a stolen session and must trick the owner into signing. Then the owner could approve a payout wallet they never saw.
  • Fix. The message now shows the details in full. The payout endpoint also refuses requests with conflicting or unknown fields.
  • Confirmed by:
    • a test that reproduced the redirect before the fix;
    • the same test passing after the fix;
    • the full suite green.

STEP-UP-2 — low — fixed, live in API 95. Four overlay settings could be loosened without the wallet signature:

  • turning messages back on;
  • lowering or removing a per-coin threshold;
  • enabling test mode, where free test-network coins could flood the stream;
  • unblocking a donor.

These changes now need the signature, like the other loosening changes. Tightening a setting still takes one click.

  • Confirmed by:
    • a test that failed before the fix;
    • the same test passing after the fix;
    • the full suite green.

Contract observations (info, no change needed):

  • C-1. Donation IDs are tracked per donor. The server credits a donation only if the transaction sender is the donor who requested it.
  • C-2. The on-chain wallet registry cannot link two kinds of wallet:
    • an EIP-7702 account whose delegate does not implement ERC-1271;
    • a smart wallet that is not deployed yet.
  • C-3. Changing the Passport controller by signature works for key wallets only. Smart-wallet holders use the delayed recovery.
  • C-4. Coins sent to the vault without a call (for example, by self-destruct) are not counted as income, although they can be withdrawn.
  • C-5. The platform owner (a multisig) is trusted to:
    • issue passports;
    • set roles and delegates;
    • start recovery, which waits 48 hours and which the holder can cancel.
  • C-6. Who controls the splitter differs by network.
    • On Base, the splitter's owner and fee recipient is a multisig contract.
    • On Arbitrum, Ethereum and Optimism, both are a single-key account. The fee recipient cannot be changed: it is set when the contract is deployed.
    • In every network, the donor's coins go to the creator in the same transaction. The owner cannot take donors' or creators' funds.
    • The owner can pause donations and change settings: the accepted coins, the fee rates of 1% or less, and the sanctions list source. Until ownership on these three networks is moved to the multisig, this single key is trusted with these rights. Its fee recipient stays as deployed.

Closing pass (17 November 2026)

The closing pass went through every open item of run-1, run-2 and run-3, including info. Each fix has a test that failed before it. All of them are low or info: none let anyone take funds.

Whole site:

  • HTML pages no longer send Access-Control-Allow-Origin: *.
  • The site, the API and the news pages send Strict-Transport-Security with includeSubDomains.
  • Every payment, swap and sign-in script is loaded with a Subresource Integrity hash, so the browser refuses a changed file.

Swap:

  • A link from the wallet chooser opens only https:// or a wallet app; intent:, sms:, tel:, mailto: and similar links are refused.

Donations:

  • The donation card has the splitter address and code hash of each network built in. It no longer takes them from the server alone.
  • Free public nodes for TRON, Solana, Stellar and Bitcoin have a read budget per network for all visitors together. TRON and Stellar have a second node to fall back on.
  • If the site cannot confirm a payment that was already sent, the donor now sees "sent, not yet confirmed, do not pay again" instead of "nothing was sent".
  • A guest donor makes their one-time secret in the browser before the request. A lost server answer no longer loses the message to the streamer.
  • The background checker now finds TRON donations made through the splitter, and replaced Bitcoin transactions that nobody reported.

Passport:

  • The issuing page has the Passport contract address on Base built in. It signs nothing addressed elsewhere.
  • An issued Passport counts as confirmed only once its block is "safe" on both nodes.
  • A TRON or Stellar wallet is linked only if the signing key still controls the account. A key that was replaced cannot link it.
  • A link with ?signin= no longer starts a sign-in by itself. Only the page's own "sign in again" step does.

News orders and advertising:

  • Another person's order now gets the same "not found" answer as an order that does not exist, so order numbers cannot be probed. The same holds for Boson payment pages.
  • The check of sponsored text decodes HTML entities first, so a hidden javascript: link is refused.
  • A sponsored article title with $ sequences can no longer copy other page text into the image description on news pages.
  • The publisher module: one publication per account; a reader's one-time signature is used before the payment is linked; a paid article's text is locked; an edit needs a live session; the platform's treasury cannot be a payout address. The module is still closed to new publishers.
  • The editor's internal note on a placement order is no longer shown to the customer.
  • Banner discounts are removed: the rule "no discounts" applies to banners too.
  • The NewsCommerce contract is retired and replaced by Boson payments. The site never called it, it is not on mainnet, and its deploy and test scripts now stop at once.

Contracts PublisherBond and AdCampaignEscrow

Both contracts are deployed only on Base Sepolia, a test network. We checked them with Slither, unit and fuzz tests and invariant tests: 71 of 71 tests pass.

IDContractSeverityFindingStatus
PB-1PublisherBondmediumAnyone could take a publication's journal by paying into it firstfixed in source
PB-2PublisherBondlowA cost invoice could be charged after the cooling periodfixed in source
PB-3PublisherBondinfoOwnership could be renouncedfixed in source
PB-4PublisherBondinfoThe cooling period had no upper boundfixed in source
ACE-1AdCampaignEscrowmediumThe complaint window ran out during a pause, so the multisig could not void a reportfixed in source
ACE-2AdCampaignEscrowlowAnyone who learns a campaign id first can pay into it first; the real advertiser's payment then fails. No funds are at riskopen: the campaign server is to make ids unpredictable
ACE-3AdCampaignEscrowlowThe "referred by" link is written once, by the server only, and cannot be correctedopen: the owner decides who may correct it

The test deployments still hold the code before PB-1, PB-2 and ACE-1. They are to be redeployed from the fixed source before any use beyond the test network.

Accepted design (not defects)

  • Quote minimum. The wallet holder sees the minimum before signing. A fresh quote worse than the one shown by more than 0.3% is not signed. The receiver, the target and the fee are checked by the server and the page.
  • Sign-In with Ethereum over WalletConnect. The message names vantemio.com, Base and a one-time code bound to the browser's cookie. Checking the domain is the wallet's standard protection.
  • Similar creator names. The brand and service words are reserved. The card always shows the receiving wallet and the page id; a name is not proof of identity.
  • Contract observations C-1 to C-5. Described above.
  • Smart-wallet signatures. Two nodes check them. A wrong answer can only delay a sign-in.
  • Public package list. The public list of article packages does not re-read the chain, so a visitor does not spend node calls. The chain is re-read before any booking.
  • Sign-in request limits. Refusals before the common limit only cost server time: a signature or a Google code cannot be guessed.
  • Free Passport issuing. A free account can ask for 5 vouchers a day, and one network block (/48) for 10. Only identity checks would remove this fully; that is a product decision.
  • Trusted Types. Not switched on. Scripts come from the site itself with integrity hashes, and the places that write HTML use fixed templates with escaped values.
  • Functions not offered now. Some routes and coins are not offered: for example Bitcoin to USDC, Token-2022 on Solana and gas top-up. The server and the page refuse them or explain why. They are not security defects.

Waiting for the owner

These items need the platform owner's own action: settings in the hosting account, multisig transactions or real devices. The code side of each is done.

  • Solana confirmation node. Donations in Solana are confirmed through public nodes. If they refuse, the site answers "try later" and records nothing. A dedicated node key is waiting for the owner.
  • Separate node key for donations. Donations and news share one node key today, with a budget per visitor.
  • Hosting account: narrower access tokens; removal of old website deployments; clearing the cache of the retired trading files.
  • Multisig: adding EURC and setting the minimum for the native coin in the splitter; moving the splitter ownership on Arbitrum, Ethereum and Optimism to the multisig (C-6).
  • Real transfers: small mainnet transfers for each family of bridge routes.
  • Real phones: 11 checks of wallet apps and in-app browsers on iOS and Android.
  • A lost page wallet key: a support procedure is being written (see "Known limits").

Release incident (not a vulnerability)

On 17 November 2026, from about 06:02 to 06:05 UTC, two website releases (137 and 138) went out from a shared working folder that held unfinished payment markup. For about three minutes the donation card pointed to a script that the API did not serve yet. The card failed to load, so no payment could be started in that time and no funds were affected. API release 96 closed the gap. Each website release is now checked against the scripts the API actually serves before it goes out.

QR codes added during the audit

The audit noted that QR codes covered only one network with up to one coin, or all of a streamer's networks. The platform then added the streamer's own set (API 96). On the server, every network in the set must be one the streamer receives in, and every coin must be offered in that network. In "stablecoins only" mode, only the network's stablecoin is accepted. We reviewed the parser and checked the live site as a visitor: malformed sets, and sets combined with a single network, are refused.

What was not checked

  • Third-party code. The route provider's contracts and the networks' own bridges were treated as outside parties. We check what their quotes and transactions do; we did not audit their code.
  • Wallet apps. Wallet apps and browser extensions are outside scope.
  • Live-site testing. There was no load or denial-of-service testing of the live site, and no testing of mainnet funds.
  • Formal verification. The contracts were not formally verified.
  • The sponsored article producer. The service that writes sponsored articles was not audited. The site checks what it serves: active markup in sponsored text is refused.

Known limits

  • A lost page wallet key. Sensitive changes to a donation page need a signature from the page's main wallet: payouts, the minimum, the payout coin, the OBS link and loosening the filter. If that wallet's key is lost, the streamer cannot make these changes alone. A support procedure is being written. Until then, the streamer can create a new donation page with a new wallet.
  • Smart-wallet signatures. These are checked on Base by two independent nodes. A node that wrongly answers "invalid" can delay a sign-in, but it cannot let anyone in.
  • This is not an independent audit. Our own AI auditor did this work. An independent audit firm may find issues we missed.

Evidence

The test files, tool outputs and before/after results are kept in Vantemio's internal audit records. They are available on request.