> For the complete documentation index, see [llms.txt](https://docs.trnch.fun/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.trnch.fun/security.md).

# Audit & security

Trnch security audit and security model. Internal audit of every major change, audited routers (KyberSwap, 1inch, Uniswap, LI.FI, Sushi, 0x), non-custodial swaps on Robinhood Chain, exact approvals, t

Trnch security audit and security model: how Trnch is audited, the audited routers that execute your swaps on Robinhood Chain, the checks run before you sign, rug and scam protection, and what you should do too. The summary is also on [trnch.fun/security](https://trnch.fun/security).

## Non-custodial: Trnch never holds your funds

Trnch is a non-custodial DEX aggregator and trading terminal for Robinhood Chain. No deposits, no keys, no Trnch contract holding user funds. Your tokens stay in your wallet, and your keys never leave it. Trnch builds each transaction; your wallet shows it and you sign it. Nothing is ever signed automatically on your behalf.

{% hint style="danger" %}
**Trnch will never ask for your recovery phrase (seed phrase) or your private key.** Not on the site, not by email, not on X, not on Telegram. Anyone who asks is not us. We never ask you to send funds in a private message.
{% endhint %}

**If our servers were compromised,** they could not move any funds: your wallet shows every transaction before you sign it.

## Internal security audit

**No major finding.** Last audit: October 31, 2026. Every major change to the site, the API, the swap path, payments or contracts is audited again before release.

**Audit procedure**

1. Threat model per risk area: assets, entry points, trust boundaries and invariants (Pashov Audit Group x-ray procedure).
2. Line-by-line code review of every entry point against those invariants, by independent AI audit passes, at least two per release.
3. Each check replayed against real transactions from production before it ships.
4. Every fix verified by a fresh, targeted pass and by regression tests before release.
5. Smart contract audit: Pashov solidity-auditor and fuzz tests (fizz, Foundry) before any deployment.
6. Done again on every major change.

**Audit scope**

* **Swap transactions.** Every transaction a router returns is checked before you sign: the contract it calls and the contract you approve must be on a closed list per router, on our server and again in your browser. The calldata of every swap is read back: the token sold, the token bought, the amount taken, the minimum received and the recipient must match your request. Uniswap permits only for Permit2 and its Universal Router. Approvals are for the exact amount. Fees can only go to the Trnch treasury Safe.
* **Bot API and MCP.** API keys are created by a wallet signature bound to trnch.fun and chain 4663, valid once and for 10 minutes. Keys are stored hashed. Calls are rate limited per key and per IP. Tokens TIA keeps out of the Heat cannot be traded through the API.
* **Payout signing.** The payout key never leaves its signing service. The service reads every transaction before signing and only signs USDG transfers on Robinhood Chain, with caps per transfer, per day and on gas.
* **Secrets and data.** Database admin access and signing keys stay on the server. No secret is exposed to the browser.
* **API inputs.** Every API input is validated against a strict schema before it is used.
* **Smart contracts.** Trnch has no deployed contract holding funds. Any contract is audited with the Pashov Solidity tools and fuzz tested before deployment.

**Credits.** [Pashov Audit Group, skills](https://github.com/pashov/skills): x-ray threat modeling, solidity-auditor and fizz fuzzing procedures (MIT). [z0r0z, majeur](https://github.com/z0r0z/majeur): multi-pass, multi-tool review and published audit scope.

## Audited routers and their audits

Trnch finds the best route and builds the transaction. You sign it in your own wallet, and it goes straight to the router's own audited smart contract. Approvals go to the router's contract, never to Trnch.

**KyberSwap**

* Audits by Hexens, Hacken, Omniscia, Spearbit
* [Hexens (KyberSwap)](https://hexens.io/audit-reports/kyber-network-ksaggregationrouterv3-nov-2025)
* [See all KyberSwap audits](https://docs.kyberswap.com/reference/audits)

**1inch**

* Audits by Consensys, Decurity, Hexens, OpenZeppelin, PeckShield, Pessimistic
* [OpenZeppelin (1inch)](https://www.openzeppelin.com/news/aggregation-protocol-diff-audit)
* [See all 1inch audits](https://github.com/1inch/1inch-audits)

**Uniswap**

* [OpenZeppelin (Uniswap v4 and Universal Router)](https://www.openzeppelin.com/news/uniswap-v4-periphery-and-universal-router-audit)
* [Universal Router audit reports](https://github.com/Uniswap/universal-router/tree/main/audit)

**LI.FI** (swaps and bridges)

* [Sujith Somraaj (LI.FI)](https://github.com/lifinance/contracts/blob/main/audit/reports/2026.10.06_PaxosTransitFacet\(v2.0.0\).pdf)
* [Burra Security (LI.FI)](https://github.com/lifinance/contracts/blob/main/audit/reports/2026.03.20_MayanFacet\(v1.2.4\).pdf)
* [Cantina (LI.FI)](https://github.com/lifinance/contracts/blob/main/audit/reports/2025.05.08_Cantina_Comp.pdf)
* [See all LI.FI audits](https://github.com/lifinance/contracts/tree/main/audit)

**Sushi**

* [Security program and Immunefi bug bounty](https://docs.sushi.com/security)

**0x** (paused on Trnch for now)

* [Dedaub (0x)](https://github.com/0xProject/0x-settler/blob/master/audits/0x-Settler%20-%20January%2030%2C%202026.pdf)
* [OpenZeppelin (0x)](https://github.com/0xProject/0x-settler/blob/master/audits/OpenZeppelin%20Audit%20Report%20-%200x%20Settler%20Final%20Audit%20Report%20\(April%202024\).pdf)
* [Bailsec (0x)](https://github.com/0xProject/0x-settler/tree/master/audits/Bailsec%20AllowanceHolder%20FV)
* [See all 0x audits](https://github.com/0xProject/0x-settler/tree/master/audits)

## Checks before you sign

* **Exact approvals.** Approvals are for the exact amount of the swap or bridge, never an unlimited allowance, and only to the router contracts on a closed list per router. Uniswap permits only for Permit2 and its Universal Router.
* **Right network.** Before each approval, permit, swap or bridge, Trnch checks that your wallet is on the right network (Robinhood Chain, or the chain a bridge leaves from) and asks it to switch. If it stays on another network, nothing is sent.
* **Best route, checked price.** Every quote is compared with the other routers' quotes and with a reference price from the token's pools. A route these checks turn down stays visible but can never be signed, and the route you pick is checked again when you press Swap. A quote that cannot be checked gets a maximum slippage of 1%. A quote that loses a large part of its value has to be accepted explicitly.
* **Transaction read back.** The transaction a router returns is read back before your wallet sees it: router contract, approved contract, tokens, amounts, minimum received and recipient must match your request, on our server and again in your browser. Fees can only go to the Trnch treasury Safe.
* **Send to another wallet.** The address is checked, and the server reads the transaction to make sure it pays that address before your wallet sees it.
* **Rate limits.** Requests are authenticated and rate-limited, so no one can drain the service's quotas or act in your name.

## Rug and scam protection: TIA and the Heat

TIA, the Trnch risk engine, keeps out of the Heat the tokens likely to scam their buyers and those launched or funded by wallets behind past rugs and scams. Every decision is timestamped and published on the [TIA track record](https://trnch.fun/tia). TIA is a signal, never a guarantee: a token can still lose its value.

## Fake tokens are blocked

**Trnch has no token.** Any token using the Trnch name is not ours.

Tokens imitating Trnch never appear on the site: not on the Heat, in the Activity feed, in search or in the swap panel. The same goes for copies of ETH, WETH and USDG that are not the real contracts, and for tokens using the Robinhood Chain name that are not official Robinhood Chain tokens. A link to such a token opens a short notice, "Not a TRNCH token", instead of a chart or a swap.

## Flagged tokens in your wallet

In **Your wallet**, suspect tokens are folded and marked, with the reason. They cannot be sold from Trnch and are never offered as payment. Each one links to its report in TRNCH Analytics.

## API for bots and AI agents

An API key never gives access to funds. It works for the wallet that created it, can be revoked at any time in Profile, and your bot signs with its own wallet. See the bot API and MCP scope above.

## Check a token, revoke old approvals

Two [Tools](https://docs.trnch.fun/tools) help you stay in control.

* **TRNCH Analytics** reads any token contract and gives a score out of 100 with its findings. The score sums up public signals. It is never a guarantee.
* **Revoke** lists the token approvals your connected wallet has left open on Robinhood Chain, the riskiest first, and removes the ones you tick. Each revoke sets the allowance back to zero, and you sign every one yourself.

## Good habits

* Bookmark trnch.fun and always check the address in your browser.
* Check a token's contract address before you buy. A familiar name or logo proves nothing.
* Start with small amounts on thin pools, and keep your slippage as tight as the pool allows.
* Review your approvals from time to time and revoke the ones you no longer need, with Revoke in Tools.
* An API key for bots never gives access to your funds. If one leaks, revoke it in Profile.
* Before you send a swap to another wallet, copy the address from its source and check it character by character.
* Use a hardware wallet for significant amounts.
* Ignore private messages offering help, free tokens or "support". Real support only answers where you contacted it.

## Verified team

The founder is KYC-verified with Trnch's integration partners. Trnch displays its charts under a signed TradingView license agreement. The team is known to its integration providers.

**Integrations:** KyberSwap, LI.FI, Uniswap, 0x, SushiSwap, 1inch, TradingView.

**Listed on:** DefiLlama, DeBank.

## Official addresses

trnch.fun, docs.trnch.fun and @trnchfun on X.

## Report a security issue

Found a fake Trnch token, a scam or a security issue? Write to <hello@trnch.fun> with the token address or the link, and where you saw it. For a security issue, please tell us before making it public (responsible disclosure). See [Contact](https://docs.trnch.fun/contact).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.trnch.fun/security.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
