In a recent development, decentralized finance (DeFi) protocol Yearn Finance faced a major setback as a faulty script led to the inadvertent swap of 63% of its treasury. The incident occurred during a routine token conversion process, impacting Yearn’s protocol-owned liquidity (POL) but leaving user funds unscathed. This article delves into the details of the