Pickle Finance Exploited For $20M In Most Complex Ever Code Execution
In the latest DeFi hack, stablecoin stabilizing protocol Pickle Finance was exploited on 21-11-2020 06:37 PM (UTC) for nearly $20M. It is notable because analysts are terming it as the most complex DeFi exploit ever, as pDAI jar was hacked with skill-full mastery. The system was gamed using multiple flaws, including Jar swap and Jar convert logic in an extremely sophisticated code execution.
In the latest DeFi hack, stablecoin stabilizing protocol Pickle Finance was exploited on 21-11-2020 06:37 PM (UTC) for nearly $20M. It is notable because analysts are terming it as the most complex DeFi exploit ever, as pDAI jar was hacked with skill-full mastery. The system was gamed using multiple flaws, including Jar swap and Jar convert logic in an extremely sophisticated code execution.
Following the attack, users were advised to withdraw funds from Pickle Jars and wait for the next updates. The team has now confirmed that the attack has been reverse engineered and relevant system modules have been patched to defend against this attack vector, in the future.
Banteg Reveals Details Of The Attack
Yearn.Finance developer Banteg was one of the white hat hackers assisting the team with the investigation and fixed. He has since then posted a detailed explanation of the attack. It is every evident that the hacker (s) had a deep understanding of the smart contract logic and execution. The following information was taken from the Github entry.
- Deploy two Evil Jars
- Get the amount available to withdraw from StrategyCmpdDaiV2
- Invoke
ControllerV4.swapExactJarForJar()passing the Evil Jars and the amount retrieved in the previous step. -
ControllerV4.swapExactJarForJar()doesn’t check the Jars and calls them, withdrawing fromStrategyCmpDAIV2usingStrategyCmpDAIV2.withdrawForSwap()which ultimately usesStrategyCmpDAIV2.deleverageToMin(). This transfers 19M DAI to pDAI. - Call
pDAI.earn()3 times. This invokes a Compound deposit viaStrategyCmpDAIV2.deposit(), leading to the contract receiving cDAI.StrategyCmpdDAIV2now has an equivalent of 19M in cDAI. - Deploy 3 more evil contracts, the first one being the equivalent of FakeUnderlying in our replicated exploit and the other two Evil Jars.
- Invoke
ControllerV4.swapExactJarForJar()passing the Evil Jars, no amount and aCurveProxyLogicas target with a crafted data which allowed an injection to call the equivalentFakeUnderlying. -
ControllerV4delegate callsCurveProxyLogic.add_liquidity()passingStrategyCmpDAIV2and a crafted signature which leads to withdrawal of cDAI and transferring them toControllerV4. - The funds (in cDAI) are now in the Controller, it calls the
EvilJar.deposit()which transfer the funds to the attacker smart contract. - The attacker smart contract redeems cDAI for DAI from Compound and transfers DAI to the attacker EOA.
Implications For DeFi Protocols Design And Security
DeFi protocols are generally famous for “move fast and break things” ethos. The developer teams in this space are known to experiment with code and deploy unaudited code without much protection. Lately, this has resulted in massive fund losses, no doubt largely borne by the users. Even if the code is audited even by multiple teams, there is no guarantee that it’s 100% secure.
DeFi teams need to apply a multi-disciplinary strategy, bringing together elements of finance, game theory, tokenomics, smart contract design and logic. They also need to make certain that going forward relevant safeguards are present to enforce limits and insurance has been acquired, in order to protect against such exploits.

Dennis Weidner
Regular updates on Web3, NFTs, Bitcoin & Price forecasts.
Stay up to date with CryptoTicker.
July 5, 2024 2:58 PM

Cardano Price Crash: Will ADA Reach 20 Cents?
Cardano's price has plummeted to $0.35 amidst a prolonged bearish trend. Can ADA recover, or will it continue to fall to 20 cents? What are the factors influencing Cardano's future.
June 19, 2024 11:18 AM

Best 3 Altcoins: TOP Gainers Today
Over the past 24 hours, 3 cryptos have seen notable market performance increases and registered impressive gains. What were these altcoins and what drove their surge?
June 14, 2024 5:24 PM

Top 5 Altcoins June 2024: Keep An Eye On THESE ONES!
Can you guess which were the top 5 altcoins for June 2024? So far, with almost half of the year gone, you might want to re-assess your investments before it's too late....
July 11, 2024 10:20 AM

How will Solana Technology Help Face The Challenges Ahead?
Solana technology is a cutting-edge asset that sets it apart in the cryptocurrency world, but will it be enough to face the challenges ahead?
June 17, 2024 10:59 AM

TOP 3 DEX for June 2024
What are the best DEXs to use in 2024? Here are the top 3 for June 2024!
June 10, 2024 4:40 PM

Is Ripple (XRP) ETF Approval Next, Following Bitcoin (BTC) & Ethereum (ETH) ETFs Approval?
Following Bitcoin (BTC) ETF approval first, and later that of Ethereum (ETH) ETF, not long ago, which Altcoin will be next is what everyone is wondering. Could it be XRP?
June 4, 2024 12:42 PM

Solana (SOL) Price Prediction For June 2024
How will Solana (SOL) perform this June? Here are some key technical insights and on-chain activity that could drive its price trajectory.
June 17, 2025 1:46 PM

Breaking: Is a JP Morgan Stablecoin Coming? Here’s What We Know About JPMD
A massive shift may be underway in the world of traditional finance and crypto as banking giant JP Morgan quietly positions itself to launch a stablecoin called JPMD.
May 23, 2025 6:49 PM

Cetus Hack on Sui Network: What Happened and Why SUI Price Is Crashing
A $260 million exploit on Sui’s top DEX, Cetus Protocol, has triggered panic across the ecosystem. Here's what really happened, how Sui is responding, and what it means for the SUI token price.
May 15, 2025 6:24 PM

Mastercard and MoonPay Partnership: A Game-Changer for Stablecoins and Crypto Adoption
The new Mastercard and MoonPay partnership brings stablecoins into everyday transactions, unlocking massive potential for crypto adoption across 150 million merchants worldwide.
May 14, 2025 4:17 PM

DeFi Just Got Real: JPMorgan Takes a Historic Leap into Blockchain Finance
JPMorgan Chase just made history by settling its first public transaction of tokenized U.S. Treasuries. Is this the moment where Wall Street finally embraces DeFi?
March 23, 2025 1:08 PM

XRP vs ADA in 2025: Which Crypto Will Lead the Next Bull Run?
ADA and XRP are both making headlines in 2025 with big price moves and bullish predictions. Which crypto will lead the next bull run?
March 14, 2025 6:00 AM

Best Cryptos of 2025: Top 3 Altcoins to Buy Now
Invest now in the best cryptos of 2025, with low prices and huge potential. Here are the top 3 altcoins to buy!
March 7, 2025 7:01 AM

SUI Price Prediction: Impact of Trump-Affiliated World Liberty Financial Partnership
This is how SUI's strategic partnership with Trump-affiliated World Liberty Financial is influencing its price trajectory. But what does it mean for SUI price prediction?
February 23, 2025 1:01 PM

Become a Testnet Millionaire: How to Leverage the MONAD Testnet for a Massive 2025 Airdrop
Unlock massive rewards on the MONAD Testnet and position yourself for a groundbreaking 2025 airdrop! Find out how early engagement, diversified interactions, and strategic use of multiple faucets can turn you into a Testnet Millionaire.
December 16, 2024 10:57 AM

AZURA Platform Guide: Features, Benefits, and How to Use It
Here is everything you need to know about the Azura app, a revolutionary decentralized exchange platform. Learn all about its features, benefits, and how to use it,
November 27, 2024 7:01 PM

Uniswap Bug Bounty: The 'Largest Bug Bounty in History' ahead of v4 Core Contracts Release
Uniswap Labs has launched the largest bug bounty in crypto history, a groundbreaking $15.5 million bug bounty program to secure its upcoming v4 core contracts. Full details here...
November 12, 2024 1:58 PM

Crypto Market Rally News: EGO and CRO Tokens Lead The Bullish Surge
The global crypto market is on fire, with a 4.25% surge in the last 24 hours. EGO and CRO tokens are among the top performers today. Find out why they are capturing attention in this bullish rally!
September 4, 2024 1:00 PM

Top 3 TOKEN UNLOCKS to Watch This Week
Here are the top 3 token unlocks happening this week that could significantly impact the market...
August 13, 2024 11:46 AM

BNB and Cardano Battle Market Uncertainty as Rollblock Emerges as a Potential GambleFi Gem
BNB and Cardano face market volatility as a new GambleFi gem, Rollblock, sparks investor interest with predictions of a 100x surge. Here are the latest opportunities in the crypto space...
July 25, 2024 8:05 PM

Solana Price Prediction: Will Solana Price Keep The Bullish Momentum?
Solana's (SOL) increasing network activity and broader market trends are shaping its price movements and potential gains in the near future. With the current interest, how high can Solana price go?
July 21, 2024 6:37 PM

MAJOR Ripple News: How Will These Developments Impact XRP Price?
New developments involving Ripple could have a huge impact on XRP price. What are they and how will XRP price react to this?
June 3, 2024 12:26 PM

Solana (SOL) vs. Ethereum (ETH): Which Blockchain Has Better Meme Coins?
The battle between Solana and Ethereum to determine which blockchain offers better meme coin investment opportunities never stops. From established names like SHIB to emerging stars like Kai Cat Coin, find out where to place your bets.
May 27, 2024 10:12 AM

Ethereum reaches $4K: Is The ETF Approval Just Kicking In?
After a long week of events in the crypto market, and after the huge surge of ETH pre-approval of the ETFs, it never actually surpassed the $4K target, so why now?
April 26, 2024 1:34 PM

STRIPE Is Back In The Crypto Game Starting With USDC
After a pause in 2018 due to Bitcoin's volatility, Stripe announced its comeback with USDC. Why back now? What does it mean to Businesses?
More from CryptoTicker
November 23, 2020 7:01 PM

Ethereum Price Breaks $600 As Eth2 Deposit Contract is Almost Full
Ethereum has broken $600 for the first time in two years peaking at $607 on Coinbase. The digital asset has been in a colossal rally for the past week, finally catching up to Bitcoin which was dominating the market in […]
November 24, 2020 2:37 AM

Eth2 Reaches Required 524,288 ETH
According to the official contract address of Eth2, the contract has finally reached 524,288 ETH, most of it in the past four days with only 10 hours left until the minimum genesis target. The highly anticipated upgrade is set to […]
November 24, 2020 11:33 AM

Ripple soars 140% this month – 3 reasons why XRP is mooning
After a month of lagging behind the cryptocurrency market, Ripple finally exited its consolidation period and started its strong uptrend. People were speculating about the reasons why XRP failed to jump-start the year like all other cryptos, but since November 2020, XRP is up so far by 140%. Most people still don’t know why that sudden price surge, but in this article, we’ll elaborate on why XRP almost tripled in value.
December 12, 2025 2:47 AM

Bitget Releases Major Upgrades to GetAgent With Smarter Responses and Free Access for All Users
Bitget announced a major upgrade to GetAgent, its AI-powered trading assistant. The update introduces a more flexible answering engine, and a significant expansion of quotas.
December 11, 2025 3:27 PM

Fed Cuts Rates to 3.5% - 3.75%: What It Means for Bitcoin and the Entire Crypto Market
The Fed just cut rates to 3.5%–3.75% as jobs cool and inflation stays sticky. Stocks held up, but Bitcoin fell below 90K. What’s next for crypto?
December 11, 2025 11:31 AM

Gemini Secures CFTC Approval
Gemini just won the CFTC’s approval to launch its own prediction market.
December 11, 2025 6:16 PM

Crypto Exchange Comparison
Crypto Exchange Comparison - Find the best and safest crypto exchange for your needs
December 11, 2025 6:16 PM

Crypto Credit Cards Comparison
Latest crypto credit cards comparison for the best crypto credit cards
December 11, 2025 6:16 PM

NFT Marketplace Comparison
Latest NFT marketplace comparison for the best NFT marketplaces
December 11, 2025 6:16 PM

Hardware Wallets
Latest hardware wallets for the best crypto exchanges
December 11, 2025 6:16 PM

Bitcoin News Today
Get the latest updates on Bitcoin price, market movements, and detailed Bitcoin price predictions.
December 11, 2025 6:16 PM

Ethereum News Today
Explore the latest updates on Ethereum price, market trends, and Ethereum price predictions.
December 11, 2025 6:16 PM

Solana News Today
Stay updated with the latest Solana price, market movements, and expert Solana price predictions.
December 11, 2025 6:16 PM

Dogecoin News Today
Discover the latest updates on Dogecoin price, trends, and Dogecoin price predictions.
December 11, 2025 6:16 PM

Shiba Inu News Today
Explore the latest Shiba Inu price updates, market trends, and detailed Shiba Inu price predictions.
December 11, 2025 6:16 PM

XRP News Today
Get the latest insights on XRP price, market shifts, and expert XRP price predictions.
December 11, 2025 6:16 PM

Cardano News Today
Get the latest insights on Cardano price, market shifts, and expert Cardano price predictions.
November 24, 2020 6:48 PM

Bitcoin Price Cracks $19,000 And Aims for the All-Time High
Bitcoin is currently trading at $19,218 after yet another significant breakout from a low of $18,018 to a high of $19,418, gaining more than $1,400 in less than 24 hours. The flagship cryptocurrency continues climbing and it’s eying up the […]
December 11, 2025 8:10 AM

Will Bitcoin Price Rise or Drop After the Fed’s Third Rate Cut?
Bitcoin holds steady near 90K as the Fed delivers its third straight rate cut but the market’s reaction is anything but clear.
November 25, 2020 11:15 AM

These 4 coins made over 100% in 1 week – Why you should consider them still
In the past month, the cryptocurrency market was a highly discussed topic among investors, tech enthusiasts, and normal internet users. This comes as no surprise as the market cap of this whole market almost doubled. Most cryptocurrencies are already at their all-time high levels, while others still have a long way to go. In this, article, we mention those top coins which made more than 100% in the past 7 days, and that still have high growth potential.
December 10, 2025 2:08 PM

SpaceX’s Quiet $95M Bitcoin Transfer Hints at Big IPO Steps Ahead
SpaceX just shifted another $95 million in bitcoin, bringing its total recent movements to nearly a billion dollars.
November 25, 2020 1:22 PM

PayPal and Square may be the new Bitcoin Whales
The giants like PayPal and Square may be the new Bitcoin whales.
December 10, 2025 12:34 PM

Bitcoin Accumulation Heats Up: Political Buyers, ETH Breakout, and a Looming Short Squeeze Shape the Market
Political buyers load up on Bitcoin as ETH breaks out and a $1.5B short squeeze approaches. The crypto market may be preparing for its next major move.
November 25, 2020 3:22 PM

101Investing: New crypto broker tested
101Investing is a young CFD-broker based in Cyprus. Started in June 2020, the broker offers more than 250 CFDs on different asset classes. Commodities Metals Stocks Cryptocurrencies Indices Forex 101Investing traders have access to CFD markets, with the chance to […]
December 10, 2025 9:37 AM

Crypto Market News: Why Is the Crypto Market Up Today?
The global crypto market cap climbed 2.6% in the last 24 hours, hitting $3.12 trillion.
November 26, 2020 1:01 PM

Bitcoin price falls 16% in less than 24 hours – Is this the end of the Uptrend?
Bitcoin shocked most traders and investors who decided to enter the market and hold cryptocurrencies, hoping for an extended uptrend that will break 2017 levels. A break of USD 20,000 for Bitcoin was highly anticipated, and everyone was awaiting a sooner than expected break in this all-time high price. This all changed after recent events where prices across the cryptocurrency markets fell at the same time. What was the main cause of this price dump, and will prices manage to recover?



