Submitted by alexfilippov314
The permit signature is linked only to the tranche token. Thats why it can be used with any liquidity pool with the same tranche token. Since anyone can call LiquidityPool::requestRedeemWithPermit the following scenario is possible:
This scenario assumes some users negligence and usually doesnt lead to a significant loss. But in some cases (for example, USDY depeg) a user can end up losing significantly.
The test below illustrates the scenario described above:
One of the ways to mitigate this issue is to add some identifier of the liquidity pool to the permit message. This way permit will be linked to a specific liquidity pool.
hieronx (Centrifuge) confirmed and commented:
