Foil

Guardian AuditsCode version: not recorded (see the report)

Audit · firm’s term: security review

Guardian Audits reviewed Sapience (Foil) on 30 Sep 2024: 54 findings, 9 critical; 42 marked fixed, 10 acknowledged, 2 open.

9 critical findings, fixed
Open the reportOpen Sapience’s security record

Report hosted on GitHub.

Trustblock does not review code.

Findings54

Statuses are the security firm’s own, from its report.

SeverityOpenAcknowledgedFixed
Critical009
High004
Medium0410
Low2619
CriticalborrowedVGas Is Set To 0 Before SubtractionFixed

The report gives no description here.

CriticalincreaseLiquidityPosition Uses The Wrong IdFixed

The report gives no description here.

CriticalLiquidity Is Stuck After Epoch Is SettledFixed

The report gives no description here.

CriticalSettled Trading Positions Can Be ClosedFixed

The report gives no description here.

CriticalSettlement Can Be Impossible Due To UnderflowFixed

The report gives no description here.

CriticalTraders Profit Can Be Stolen When ClosingFixed

The report gives no description here.

CriticalUndercollateralized Positions Can Be CreatedFixed

The report gives no description here.

CriticalUniswap Pool Creation DoSFixed

The report gives no description here.

CriticalvETH Profit In Long Pos Deleted On CloseFixed

The report gives no description here.

HighcollateralRequirementAtMaxTick UnderflowFixed

The report gives no description here.

Show 10 more
HighExact Input Amount May Not Be UsedFixed

The report gives no description here.

HighLP Stuck Because Of UnderflowFixed

The report gives no description here.

HighRequired Collateral Invalid For Partial ClosesFixed

The report gives no description here.

MediumCollateral Can Be Stuck After Closing PositionFixed

The report gives no description here.

MediumFees Missing In Required Collateral CalcFixed

The report gives no description here.

MediuminitializeMarket Can Be Front RunFixed

The report gives no description here.

MediumMarket Updates Invalidate Previous PositionsFixed

The report gives no description here.

MediumMissing onRecieved CheckFixed

The report gives no description here.

MediumOwner Can Bypass UMA Assertion ChecksFixed

The report gives no description here.

MediumRounding In Favor Of UserFixed

The report gives no description here.

Show 10 more
MediumSettlement Price frontrunningFixed

The report gives no description here.

MediumUniswap Rounding Can Create Insolvent PositionsFixed

The report gives no description here.

MediumUnnecessary Fees When Closing ShortFixed

The report gives no description here.

LowConfig Lacks Adequate Opportunity For DisputesFixed

The report gives no description here.

LowIncorrect Comments In modifyTraderPositionFixed

The report gives no description here.

LowLacking Min/Max Tick ValidationFixed

The report gives no description here.

LowMisleading Error In submitSettlementPriceFixed

The report gives no description here.

LowMisleading Function NameFixed

The report gives no description here.

LowMissing Checks In assertionDisputedCallbackFixed

The report gives no description here.

LowMissing Deadline CheckFixed

The report gives no description here.

Show 10 more
LowMissing Two Step Ownership ChangeFixed

The report gives no description here.

LowOutstanding TODO CommentsFixed

The report gives no description here.

LowPossible To Open Epochs For PastFixed

The report gives no description here.

LowProtocol Vulnerable To ReentrancyFixed

The report gives no description here.

LowRedundant refundAmountVGas AssignmentFixed

The report gives no description here.

LowRevert On 0 Transfer Tokens Not SupportedFixed

The report gives no description here.

LowswapTokensExactOut DoS In Edge CasesFixed

The report gives no description here.

LowtokenByIndex Off By OneFixed

The report gives no description here.

LowTokens With 18 Decimals Are Not SupportedFixed

The report gives no description here.

LowUnsafe Collateral TransfersFixed

The report gives no description here.

Show 2 more
LowWrong Description For tokenByIndexFixed

The report gives no description here.

LowZero Checks In updateValid And createValidFixed

The report gives no description here.

Contracts in scope

No deployed address is recorded for this audit.

The report names a repository or files. Open the report to see its scope.

Part of Sapience’s security record

Sapience
Audits5 audits by 1 firmLast audit Nov 2025, by Guardian Audits.
Critical findingsNo open critical findingsAcross the 5 reports, 15 critical findings were reported. Each is marked fixed by the firm that reported it.
Open Sapience’s security record

Security firm

Guardian Audits

70 projects reviewed · 268 reports · latest Oct 2026

See Guardian Audits’s audits

Something wrong on this page? A missing report, a wrong date, a finding that was fixed since. Tell us and we check it against its source.

Tell us