Please report security issues privately through GitHub's private vulnerability reporting.
Do not open a public issue, and do not include exploit details in a pull request until a fix has been released.
We will acknowledge a report within 3 business days and aim to provide a remediation plan within 10 business days. Please give us a reasonable window to fix the issue before any public disclosure.
| Version | Supported |
|---|---|
main (pre-1.0) |
Yes |
Any tagged deployment older than main |
Best effort |
Corridor has not been audited. Treat every deployment as a reference implementation until an independent audit is published.
Corridor assumes:
- The wrapped SEP-41 token behaves according to SEP-41.
- The configured registry contract is the one the admin intended.
- The admin key is controlled by the deploying organisation (preferably a multisig).
- Off-chain VASPs authenticate each other out of band. The on-chain contract cannot verify that a payload was actually delivered.
- A metadata commitment is consumed at most once.
- A transfer at or above the threshold cannot succeed unless both parties are active VASPs.
- Only the admin can mutate the allowlist or the threshold.
- Initialization is authorized:
initializerequires the admin's auth. Deploy and initialize atomically and verifyget_admin(); auth alone does not prevent a first-caller race. - A failed token transfer reverts the commitment marker.
- No personal data is written to the ledger.
- Unaudited. No independent audit has been completed.
- Off-chain delivery is not proven on-chain. The contract only proves a hash
was supplied. Signed delivery receipts are tracked in
docs/ROADMAP.md. - Encryption is a stub. The reference off-chain service bundles the symmetric key with the ciphertext. It must be replaced with KMS/HSM-backed asymmetric encryption before real use.
- Single-admin model. The registry admin can add or remove VASPs and can be any Stellar account, including a multisig, but there is no on-chain M-of-N flow in v1.
- Initialization race. Soroban 21 has no atomic constructor, so deployment
and
initializeare separate transactions.require_authstops an attacker from initializing with an address they do not control, but a first caller can still install their own admin. Use an atomic deployment or a factory; tracked indocs/ROADMAP.md. - TTL expiry. Persistent replay markers and VASP entries can expire if they
are never touched. Operators must run a heartbeat. See
BUILD-SPEC.md. - Payload entropy. A commitment to a low-entropy payload can be brute forced. Include a random nonce in the off-chain payload when unlinkability matters.
- No upgrade path. Contracts are immutable. A policy change requires a new deployment.
Cargo.lockand bothpackage-lock.jsonfiles are committed.- Dependabot proposes updates weekly.
soroban-env-hosttransitively requiresed25519-dalek >= 2; the lockfile pins the compatible2.xrelease. Do not regenerate the lockfile with an unconstraineded25519-dalek 3.x.- New dependencies require a licence and advisory review in the pull request.
See docs/DEPLOYMENT.md.