TrusTrove is currently in active development and deployed on Stellar testnet only. No mainnet deployment exists. Smart contracts have not undergone a formal audit.
| Version | Supported |
|---|---|
| 0.1.x (testnet) | ✅ |
| mainnet | ❌ Not deployed |
TrusTrove is split across two repositories, each with its own security scope:
- This repository (TrusTrove-app)
covers the web frontend (
apps/web), the indexer/API (indexer/), and the SDK (packages/sdk). - TrusTrove-contract
covers the Soroban smart contracts (registry, invoice, escrow, pool).
Report smart contract vulnerabilities there — see that repository's
SECURITY.mdfor its reporting process.
The following are in scope for security reports in this repository:
- Authentication bypass or unauthorized access in the indexer/API
- Frontend issues that could cause users to sign unintended transactions
- SDK bugs that produce incorrect transaction construction or signing
- Indexer bugs that misreport on-chain state
The following are out of scope for this repository:
- Smart contract logic errors — report to TrusTrove-contract
- Stellar protocol-level issues (report to SDF directly)
- Freighter wallet vulnerabilities (report to Freighter team)
- Testnet-only issues with no mainnet impact path
- UI cosmetic bugs
Do not open a public GitHub issue for security vulnerabilities.
Report vulnerabilities by emailing: security@trusttrove.xyz (If this address is not yet active, open a private GitHub Security Advisory via the Security tab on this repository.)
Include in your report:
- Description of the vulnerability
- Steps to reproduce
- Affected repository and component (e.g.
apps/web,indexer/,packages/sdk) - Potential impact
- Suggested fix if you have one
| Action | Target Time |
|---|---|
| Acknowledgement | 48 hours |
| Initial assessment | 5 business days |
| Fix or mitigation | 14 business days |
TrusTrove follows coordinated disclosure. We ask that you give us reasonable time to assess and address a vulnerability before public disclosure.
We will credit researchers who report valid vulnerabilities in our changelog unless they prefer to remain anonymous.
apps/web uses Zod 4.6.7. The SDK retains Zod 3 to preserve its published schema
types; patches/zod@3.25.76.patch applies fail-fast handling to oversized
bounded arrays and sets in TypeScript, ESM, and CommonJS entrypoints. Regression
tests verify that element parsers are not run after an upper-bound violation.
Zod 3 has no bounded-map API. The SDK's object schemas do not compose
untrusted collections, and Soroban invoice arrays are parsed item-by-item with
parseInvoice in packages/sdk/src/clients/invoice.ts. Reassess this exception
if the schema surface changes.
The app remains on Next.js 14.2.35 with the default image optimizer enabled.
apps/web pins Sharp to ^0.35.5, the mitigation specified by the Next.js
advisory for the optimizer path. There are no next/image component usages in
app source, but the optimizer endpoint remains reachable; retain Sharp's patched
minimum and revisit this mitigation on Next.js or Sharp upgrades.
There are no "use server" files under apps/web/app or
apps/web/components. The Next.js advisory states apps without Server Actions
are not vulnerable. Remove the audit exception if Server Actions are introduced
before upgrading Next.js.
@stellar/stellar-sdk 13.3.0 resolves stellar.toml through its public
StellarToml.Resolver, limits responses to 100 KiB, then calls toml.parse.
The workspace override uses TOML 5.0.1, the fixed release; an SDK compatibility
test exercises the resolver using a local HTTP fixture.
The TrusTrove-contract smart contracts have not been formally audited. Users interact with testnet contracts at their own risk. A security audit is planned prior to any mainnet deployment.
TrusTrove is experimental software. Do not deposit real funds. All contracts operate on Stellar testnet with test USDC only.