shield Flash Loan Attack · $182 loss

BeanstalkFarms Hack: How $182 Was Lost in a Flash Loan Attack (2022)

On April 2022, BeanstalkFarms was exploited in a flash loan attack, resulting in approximately $182 in losses. That makes the BeanstalkFarms exploit the 449th largest DeFi incident out of 690 documented in our archive.

Attack Mechanics: How the BeanstalkFarms Flash Loan Attack Played Out

Exploit Class Applied to BeanstalkFarms

The BeanstalkFarms incident on April 16, 2022 is classified as a Flash Loan Attack. Attackers borrow huge amounts via uncollateralised single-transaction loans and manipulate protocol state before repaying in the same block. In the full archive, BeanstalkFarms is 1 of 27 documented flash loan attack incidents.

BeanstalkFarms in Context

At $182, the BeanstalkFarms exploit is a minor (<$1M) event compared to the largest same-class incident in our archive — PolterFinance (2024) at $7M.

Prior Flash Loan Attack Before BeanstalkFarms

The nearest flash loan attack incident before BeanstalkFarms was GYMNetwork, 7 days earlier on April 9, 2022. The same exploit class surfaced again within the flash loan attack attack surface.

BeanstalkFarms Vulnerability Signature

The primary source categorises the BeanstalkFarms exploit specifically as “DAO + Flashloan”. This narrower label is entity-specific: it reflects how the BeanstalkFarms contract failed, rather than the broad flash loan attack pattern alone.

Impact & Recovery for BeanstalkFarms

BeanstalkFarms Loss Figure

The BeanstalkFarms exploit caused $182 in losses — a minor (<$1M) incident and the 55th largest of 129 documented in 2022.

Where BeanstalkFarms Sits Among Flash Loan Attack Attacks

Ranked by loss size, BeanstalkFarms is the 15th largest of 27 flash loan attack incidents documented. That puts the BeanstalkFarms loss below the class average of $577.3K.

Timeline Since the BeanstalkFarms Incident

The BeanstalkFarms exploit occurred 4 years ago (1,459 days). The contract, its fork-block, and the attack transaction remain on-chain and forensically reproducible.

Primary Reference for BeanstalkFarms

Public post-mortem / on-chain analysis for the BeanstalkFarms incident: view source.

FAQ

How much did BeanstalkFarms lose?

The BeanstalkFarms exploit in April 2022 resulted in $182 in losses — the 55th largest of 129 DeFi incidents that year.

When did the BeanstalkFarms hack happen?

The BeanstalkFarms exploit was recorded on April 16, 2022 — 1,459 days ago.

What type of exploit hit BeanstalkFarms?

The BeanstalkFarms incident is classified as a Flash Loan Attack. Attackers borrow huge amounts via uncollateralised single-transaction loans and manipulate protocol state before repaying in the same block.

How common is the Flash Loan Attack pattern seen at BeanstalkFarms?

Our archive contains 27 documented flash loan attack incidents. The BeanstalkFarms incident is one of them.

How does BeanstalkFarms compare to the largest Flash Loan Attack attack?

The largest flash loan attack incident in our archive is PolterFinance (2024) at $7M. The BeanstalkFarms loss is $182.

What is the main goal of Sustainable Humanitarian Supply Chains (SHSC)?

Rapid delivery of emergency relief with a focus on long-term sustainability.

How does the proposed protocol ensure the security of participants' assets?

Through the use of the pre-adaptor signature scheme and P2SH technology for secure script encoding.