Skip to content
Access control Audit finding Beginner

Tellerwithmultiassetsupportpredicateproxy cannot be paused unpaused

The TellerWithMultiAssetSupportPredicateProxy contract inherits OpenZeppelin's Pausable but exposes no pause or unpause function, so the paused check in deposit can never be triggered. Governance therefore cannot stop deposits during an emergency such as a compromise.

holydevoti0n Follow

Originally disclosed on Immunefi

  • Disclosed after under an hour

51132 sc low tellerwithmultiassetsupportpredicateproxy cannot be paused unpaused

Submitted on Jul 31st 2025 at 12:32:34 UTC by @holydevoti0n for Attackathon | Plume Network

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:

https://github.com/OpenZeppelin/openzeppelin-contracts/blob/c3961a45380831135b37e55bc3ed441f678a4f5e/contracts/utils/Pausable.sol#L96-L111

However, TellerWithMultiAssetSupportPredicateProxy uses the paused check to prevent deposits in case of emergency:

https://github.com/immunefi-team/attackathon-plume-network-nucleus-boring-vault/blob/0ee676b5715075c26db6706960fd49ab59b587fc/src/base/Roles/TellerWithMultiAssetSupportPredicateProxy.sol#L78-L80

Solidity
@> 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

{% hint style="warning" %} Add pause and unpause functions to the contract and restrict them (for example with onlyOwner or appropriate access control) so governance or the designated admin can pause deposits in emergencies. {% endhint %}

Proof of Concept

Context

Governance needs to pause the contract because the vault has been compromised.

{% stepper %} {% step %}

Attempt to pause

Governance tries to call the pause function, but it does not exist in the TellerWithMultiAssetSupportPredicateProxy contract. {% endstep %}

{% step %}

Unable to pause

Governance cannot pause the contract because no pause/unpause functions are exposed. {% endstep %}

{% step %}

Continued deposits

Funds continue to flow into the compromised vault (also impacting other contracts that use this one, like DexAggregatorWrapperWithPredicateProxy). {% endstep %} {% endstepper %}

References

https://github.com/OpenZeppelin/openzeppelin-contracts/blob/c3961a45380831135b37e55bc3ed441f678a4f5e/contracts/utils/Pausable.sol#L96-L111


The original report as published on Immunefi, by holydevoti0n. Images and videos are our own copies; raw HTML is shown as text. View it on Immunefi.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

The contract inherits Pausable and checks paused() in deposit, but omits the pause and unpause functions that would let an authorised party change that state.

Impact

Deposits could continue to be accepted when pausing is desired, such as during a compromise or emergency, preventing mitigation via pausing.

What the attacker needed

Governance or admin role; emergency or compromise situation

The fix

Add pause and unpause functions to the contract and restrict them with appropriate access control so governance or the designated admin can pause deposits in emergencies.

How it was found

  1. Governance tries to call the pause function on the contract.
  2. The pause function does not exist, so governance cannot pause the contract.
  3. Deposits continue to be accepted into the compromised vault.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

A smart contract can include a 'pause' switch so an admin can stop deposits in an emergency. This contract checks whether it is paused before accepting deposits, but it never provides a way to flip that switch. As a result, the emergency stop can never be used.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by holydevoti0n

View all

28 more disclosed reports, best first.

More from Plume Network

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.