Skip to content
Business logic Write-up Intermediate

Bypassing Kamino KFarms invariant

dr497_ Follow

Published on medium.com

This article is about a bug I have found in the KFarms Kamino program. The KFarm program is Kamino’s incentive infrastructure used across multiple products, including their borrow/lending protocol (Klend) for collateral and debt incentives, as well as their automated liquidity vaults for LP rewards.

dr497, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

A write-up on medium.com about Business logic by dr497_. We list the title, author and date and link to it; the post itself is the researcher's. Read it on medium.com.

About Business logic

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

What is Business logic?

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.