<!-- canonical: https://0xsimao.com/findings/maple-finance-iv-dai-join-caged-withdrawals -->

# The DaiJoin contract may be caged which will DoS withdrawals forever

Low/Info · Three Sigma · Institutional lending · 26th November, 2024

Finding 3S-Maple-N10 of the Maple Cash Strategies security review.

- Protocol: https://maple.finance/
- Report: /reports/maple-finance-iv
- Source: https://cdn.sanity.io/files/qoqld077/staging/a68d604be9eca467b1f656c2ca775e1cebc2a468.pdf

---

### Description

The [daiJoin](https://vscode.blockscan.com/ethereum/0x9759A6Ac90977b93B58547b4A71c78317f391A28) contract may be caged, which means exit() is DoSed forever. This is called in
the [psmWrapper](https://vscode.blockscan.com/ethereum/0xA188EEC8F81263234dA3622A406892F3D630f98c) buyGem(), legacyDaiJoin.exit(address(this), usdsInWad);, so it
would be forever DoSed as there is no way to 'uncage'.

### Recommendation

It's possible to set a new Psm in the Sky strategy but it is something to keep in mind.

### Status

Acknowledged
