51132 sc low tellerwithmultiassetsupportpredicateproxy cannot be paused unpaused
Submitted on Jul 31st 2025 at 12:32:34 UTC by @holydevoti0n for Attackathon | Plume Network
- Report ID: #51132
- Report Type: Smart Contract
- Report severity: Low
- Target: https://github.com/immunefi-team/attackathon-plume-network-nucleus-boring-vault/blob/main/src/base/Roles/TellerWithMultiAssetSupportPredicateProxy.sol
- Impacts:
- Contract fails to deliver promised returns, but doesn't lose value
Description
Vulnerability Details
TellerWithMultiAssetSupportPredicateProxy inherits from OZ Pausable contract but does not expose any function to allow pause/unpause the contract. See OpenZeppelin Pausable implementation:
However, TellerWithMultiAssetSupportPredicateProxy uses the paused check to prevent deposits in case of emergency:
@> import { Pausable } from "@openzeppelin/contracts/utils/Pausable.sol";
...
@> contract TellerWithMultiAssetSupportPredicateProxy is Pausable {
...
function deposit(
ERC20 depositAsset,
uint256 depositAmount,
uint256 minimumMint,
address recipient,
CrossChainTellerBase teller,
PredicateMessage calldata predicateMessage
)
external
nonReentrant
returns (uint256 shares)
{
@> if (paused()) {
revert TellerWithMultiAssetSupportPredicateProxy__Paused();
}
...
Impact Details
Because the contract does not expose pause/unpause functions, the paused check can never be activated by governance or an authorized party. Deposits will continue to be accepted in situations where pausing the contract is desired (e.g., compromise or emergency), preventing mitigation via pausing.
Recommendation
Add
pauseandunpausefunctions to the contract and restrict them (for example withonlyOwneror appropriate access control) so governance or the designated admin can pause deposits in emergencies.
Proof of Concept
Context
Governance needs to pause the contract because the vault has been compromised.
Attempt to pause
Governance tries to call the pause function, but it does not exist in the TellerWithMultiAssetSupportPredicateProxy contract.
Unable to pause
Governance cannot pause the contract because no pause/unpause functions are exposed.
Continued deposits
Funds continue to flow into the compromised vault (also impacting other contracts that use this one, like DexAggregatorWrapperWithPredicateProxy).