DOCS
  • Getting Started
  • Custom token vaults
  • Running a check
  • Output and exit codes
  • Preflight errors
  • Conformance checks
  • Security checks
  • Check API
  • Limits and queue
  • Function coverage
  • Result types
  • Test vaults
Reference

Known limits

What the checker does not cover, and where its results need care.

Scope

  • The checker checks 7 core SEP-56 functions and four basic security risks. It is functional and adversarial testing, not a substitute for a formal third-party security review.
  • Testnet only. There is no option for another network.
  • The Deposit and Withdraw events are not checked.
  • The max_* reads check a lower bound only, not the exact limit a vault should report.
  • convert_to_shares and convert_to_assets check a round-trip bound, not that every conversion rounds down.

Vault design requirements

  • The four security checks need a constructor of (name, symbol, asset, decimals_offset) and a query_asset function. Other vaults get NOT_APPLICABLE on those four.
  • At decimals_offset = 0, overflow_protection does not test the vault's own overflow protection.

Known finding

donation_attack fails on the reference vault. With a 100,000,000-unit donation against a 1-unit deposit, a victim depositing 5,000,000 units received 0 shares. Raising decimals_offset to 6 did not change the verdict, and burning 1,000 shares in the constructor raised the victim's shares only to 100. Details are in SECURITY.md on GitHub.

Platform testing

  • Windows x86_64: the v0.3.0 binary was run from cmd against the Testnet reference vault (10 PASS, 1 FAIL). The v0.4.0 binary was checked with --version only.
  • Linux x86_64: built and glibc-checked in CI, not run by the maintainer.
  • macOS universal: built and smoke-tested in CI. Not run against Testnet on macOS; Gatekeeper behaviour for a browser download not tried.
Not verified yet

The Windows and Linux binaries are not signed. The macOS binary is ad-hoc signed (.github/workflows/release.yml), not Developer-ID signed and not notarized. Gatekeeper behaviour for a browser download has not been tried.

Custom token vaults

  • The minimum token balances were measured on one vault only.
  • A short balance on grace can show as unclassified_error instead of insufficient_token_balance.
  • Not tested: a vault with a custom token at decimals_offset = 0, classic assets exposed as a Stellar Asset Contract (including trustlines), tokens with other than 7 decimals.