Migrate Function
Security
According to the security flaw, Pancakeswap and some of its forks carries a potential risk with "migrate" function. The migrator code can be used to migrate lp tokens to another lp contract. This means, by running this function, a malevolent person can throw lp tokens to any address they want. As you can see as follows, the code exist in their contract and this code may used in rug pulls unfortunately. But of course, we don't claim they will do it.
We have removed this "migrate" function from our contract to make sure Cheesecake has never carried and will never carry such a risk.
Pancakeswap Migrator Code
Last modified 8mo ago
Copy link