Pablo Escobar Rug Pull
What happened
Pablo Escobar was a BNB Chain yield farm whose MasterChefV2 contract, deployed on 10 March 2021 at 0x558d9E1B…f55813, took LP-token deposits and paid rewards in the Escobar Token (ESCO). The owner can set any pool's deposit fee as high as 100% (_depositFeeBP <= 10000), so after the change every new deposit is sent to the fee address and the depositor is credited nothing; the owner can also raise the ESCO emission rate without limit, and every reward update mints an extra 10% to the dev address. There is no migrator, and withdraw and emergencyWithdraw return LP tokens already staked.
The deployer 0xFF918899…9dD16b still holds ownership. De.Fi's REKT database lists the project as an exit scam/rug pull; no loss figure was found.
How it happened
- The owner calls
set(_pid, _allocPoint, _depositFeeBP, _withUpdate), which only checks_depositFeeBP <= 10000, so the fee can be 10,000 basis points (100%). - On
deposit, the contract pulls the full_amountof LP tokens from the user, sends_amount * depositFeeBP / 10000tofeeAddress, and creditsuser.amountwith the rest. At 100% the user's stake is zero and the whole deposit sits atfeeAddress, an address the dev address can change withsetFeeAddress. - Separately,
updateEmissionRate(_ESCOPerBlock)is owner-only with no upper bound. EachupdatePoolthen runsESCO.mint(devaddr, ESCOReward.div(10))next to the pool rewards, so a higher rate mints more ESCO to the dev address, which can be sold into ESCO's liquidity. - Staked LP already in the farm is not trapped by these functions:
withdrawandemergencyWithdrawsenduser.amountback, and the contract has no migrator.
Protocol details
Evidence
- transaction MasterChefV2 contract creation transaction bscscan.com
- address On-chain address bscscan.com
- address Pablo Escobar MasterChefV2 verified contract code on BscScan (De.Fi proof link) bscscan.com
- analysis Sourcify match for 0x558d9E1Bd77b22c9bA31222A68F173f55Cf55813 on BNB Chain repo.sourcify.dev
Build your security review skills
Work through hands-on labs covering real exploit mechanics, review techniques, and defensive patterns.