> For the complete documentation index, see [llms.txt](https://forge-labs.gitbook.io/forge-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://forge-labs.gitbook.io/forge-docs/other/audits.md).

# Audits

ForgeYields stands on a four-layer assurance stack: the contracts we own (audited, with core solvency formally verified), the allocator we license (audited), the scoring methodology we publish (Hallmark, versioned and open-source), and the allocation rules we publish (the [Allocator Policy](/forge-docs/hallmark/allocator-policy.md), as prose and machine-readable JSON). All four are independently reviewable.

***

## 1. Clearing Engine (ForgeYields contracts) — [Audited](https://github.com/ForgeYields/audits/blob/main/Forge%20-%20Csc%20Audit%20Report.pdf)

**Scope:** deposits, withdrawals, batching & netting, cross-chain settlement.

**Auditor:** Cairo Security Clan (CSC)\
**Report:** [Csc Audit Report](https://github.com/ForgeYields/audits/blob/main/Forge%20-%20Csc%20Audit%20Report.pdf)

The Clearing Engine has an intentionally minimal attack surface: only deposit and redemption-request functions are exposed, and redemption is asynchronous. Direct liquidity extraction from a single chain is impossible by design, materially limiting exploit blast radius.

### Formal verification — TokenGateway

Beyond auditing, the core solvency invariant of **TokenGateway** — the contract handling deposit, redeem, and bridging flows — has been **formally proven**.

**Property proven:** global solvency invariant — the system can always honor outstanding user claims across all reachable contract states.\
**Verifier:** [LFG Labs](https://lfglabs.dev)\
**Report:** [ForgeYields Global Solvency](https://lfglabs.dev/research/forgeyields-global-solvency)

Formal verification provides a mathematical proof — strictly stronger than auditing — that the invariant holds across every reachable execution path. For a contract custodying user assets, this closes the residual class of bugs that auditing alone cannot eliminate.

***

## 2. Yield Allocator (EVM) — [Audited](https://docs.veda.tech/audits)

**Scope:** strategy execution on EVM chains via Merkle-validated allowed calls.

**Source:** ForgeYields uses the [Veda Labs BoringVault](https://docs.veda.tech) allocator pattern.\
**Audits:** see [Veda's audit page](https://docs.veda.tech/audits) for the full audit chain.

The allocator enforces Merkle-validated allowed calls — the relayer can only interact with approved protocols, methods, and parameters. Off-list calls revert on-chain. This eliminates the "rogue strategist" failure mode that has historically affected other yield aggregators.

***

## 3. Underwriting Methodology ([Hallmark](/forge-docs/hallmark/overview.md))

The Hallmark methodology that scores every strategy is published, versioned, and independently verifiable.

**What's public:**

**Why this matters:** the audits of our contracts and the allocator prove the *execution* is correct. Hallmark proves the *risk measurement* is defensible. The Allocator Policy (below) proves the *strategy selection rules* are explicit. All are required.

See [Transparency & Public Scores](/forge-docs/hallmark/transparency.md) for how to verify any score yourself.

***

## 4. Allocation Rules ([Allocator Policy](/forge-docs/hallmark/allocator-policy.md))

The rules that turn Hallmark scores into deployment verdicts, concentration caps, and exit rules are themselves public — as human-readable prose and as the machine-readable JSON the backend consumes (the reader and the allocator see the same file).

**Evidence base:** a 28-incident no-hindsight backtest, adversarial full-registry reviews, an acceptance test re-run before every policy version ships, and an annual performance study. See the [Allocator Policy](/forge-docs/hallmark/allocator-policy.md) for the current artifacts.

***

## Underlying-protocol audit chain

Strategies deployed by ForgeYields depend on underlying protocols (Aave, Morpho, Curve, Pendle, Ipor Fusion, MetaMorpho, Convex, Yearn V3, and others). Each carries its own audit chain — typically Spearbit, OpenZeppelin, ChainSecurity, Trail of Bits, Cantina, or equivalent. These are captured in the **C1 (Audit Status)** criterion of each protocol's [Hallmark Layer 1 assessment](/forge-docs/hallmark/methodology.md#layer-1--protocol-risk).

***

## Bug bounty

If you discover a vulnerability in the Clearing Engine, please disclose responsibly to <forge.fi.contact@gmail.com>. A formal bug bounty program is in preparation.
