Submitted by T1MOH
Wormhole Bridge will have incorrect address, which disables whole TemporalGovernance contract and therefore administration of Moonbeam. But during deployment markets are initialized with initial token amounts to prevent exploits, therefore TemporalGovernance must own this initial tokens. But because of incorrect bridge address TemporalGovernance cant perform any action and these tokens are brick.
Protocol needs redeployment and loses initial tokens.
To grab this report easily I divided it into 3 parts
There is no config for Base Mainnet, however this comment states for used parameters: https://github.com/code-423n4/2023-07-moonwell/blob/fced18035107a345c31c9a9497d0da09105df4df/test/proposals/mips/mip00.sol#L55-L61
Why to treat this comment? Other parameters are correct except Base Network ID. But Base Network ID has reflection in code, described in #114.
0xA31aa3FDb7aF7Db93d18DDA4e19F811342EDF780 is address of Wormhole Token Bridge on Base Testnet according to docs and this address has no code in Base Mainnet.
Proposal execution will revert here because address wormholeBridge doesnt contain code: https://github.com/code-423n4/2023-07-moonwell/blob/fced18035107a345c31c9a9497d0da09105df4df/src/core/Governance/TemporalGovernor.sol#L344-L350
Here you can see that deployer should provide initial amounts of tokens to initialize markets:
And here governor approves underlying token to MToken and mints initial mTokens. It means that governor has tokens on balance.
To conclude, there is no way to return the tokens from the TemporalGovernor intended for market initialization
Change WORMHOLE_CORE to 0xbebdb6C8ddC678FfA9f8748f85C815C556Dd8ac6 according to docs
ElliotFriedman (Moonwell) disputed and commented:
alcueca (Judge) decreased severity to Medium and commented:
