I Found a Cross-Pool Reentrancy Bug in PancakeSwap Infinity — and Why I Still Care
Blog iconBlazeBlockchain
Jun 25
Back in April 2025, I was deep in PancakeSwap’s Infinity Core when I noticed something that didn’t sit right with me. In their Vault.sol, the lock() function was making an external call to lockAcquired() before doing any internal delta checks. For those familiar with smart contract security, this is a red flag. It breaks the Checks-Effects-Interactions (CEI) pattern — the very thing designed to prevent reentrancy vulnerabilities. And this wasn’t just a small slip-up. It opened the door to cro...

BlazeBlockchain

Written by
BlazeBlockchain

@anablazevic2103 Solidity Dev/Security Engineer

Subscribe

2025 Paragraph Technologies Inc

PopularTrendingPrivacyTermsHome
Search...Ctrl+K

BlazeBlockchain

Subscribe