Lien Fi

Lien Fi Smart Contract Audit Report

Share
Share
BaseBase
RWA / Tokenization / ReFiVaultsNFTMarketPlace+3
BaseBase
RWA / Tokenization / ReFiVaults+4

QuillAudits audited the Lien Fi smart contracts on Base between May 12, 2026 and Jun 1, 2026. The audit found 19 issues: 1 high, 4 medium, 10 low, 4 informational, of which 14 resolved and 5 acknowledged.

kyc
KYC VerificationQuillAudits Verified
icon
kyc
Verified ContractsContract Verification Status
icon
kyc
Vigilant SquadQuillAudits Multilayered Audit
icon

Project Description

LienFi tokenizes US tax lien certificates as ERC721 NFTs on Base. A lien holder mints a LienNFT carrying a recorded base value, then either lists it on LienMarketplace for secondary trading where each sale charges a 2% fee, a 10% capital-gains fee on profit, and an optional seller surcharge, all routed to the treasury through a versioned FeeManager or locks it in LienVault, which is funded by liquidity providers and pays out principal plus accrued interest when the underlying lien is redeemed (with a 1% pre-sale profit share if the lien was never listed). The three core contracts (NFT, Vault, Marketplace) are UUPS-upgradeable, with admin and treasury as privileged roles.

Timeline

S1
May 12, 2026
IA
May 19, 2026
S2
Jun 1, 2026
icon
speedometer
0
50%
60%
70%
90%
100%
—
QUILLAUDITS SCORE
Remediation Score0
Operational Resilience0
Governance & Centralization0
Tests, Coverage & Doc0

Critical

High

Medium

Low

Informational

open00000
acknowledged00113
partially resolved00000
resolved01391

High Severity Issues

Capital Gains Fee Inflated by Seller Surcharge

Resolved
arrow-right
Description

_collectFeesAndPayout passes totalAmount (= lienPrice + sellerSurcharge) to _calculateCapitalGainsFee. The surcharge is a treasury fee, not a capital gain, so including it inflates impliedInterest on every sale where surcharge > 0. costBasis is what the previous buyer paid (previousTotalAmount), so the real gain is currentLienPrice - costBasis. The code instead computes: (currentLienPrice + currentSurcharge) - costBasis, overcharging the buyer by exactly currentSurcharge on every sale.

Contract

LienMarketplace.sol

Recommendation

Pass lienPrice instead of totalAmount to _calculateCapitalGainsFee.

Medium Severity Issues

Low Severity Issues

Informational Issues

Appendix

Disclaimer

Lien Fi

Lien Fi

High Severity Issues
Medium Severity Issues
Low Severity Issues
Informational Issues
Appendix
Disclaimer
View Report PDF

Get an Audit done today for your Smart Contract

Join 1500+ leaders who secured themselves from losing Billion Dollars

cta-banner
cta-banner-bgcta-banner-bg-mobile

Related audits

WE SECURE EVERYTHING YOU BUILD.

From day-zero risk mapping to exchange-ready audits, QuillAudits helps projects grow with confidence. Smart contracts, dApps, infrastructure, compliance: secured end to end.

QuillAudits Logo


ISO 27001Circle Alliance Program
Uniswap FoundationAethiropt-collectivePolygon SPNBNB Chain Kickstart

All Rights Reserved. © 2026. QuillAudits - LLC