Tellerwithmultiassetsupportpredicateproxy contract cannot be emergency paused
The TellerWithMultiAssetSupportPredicateProxy contract inherits the Pausable module and checks pause state in deposit functions, but exposes no external pause or unpause functions. An attacker could continue depositing and bridging during an emergency because the admin cannot pause the contract.
Plume Network
Originally disclosed on Immunefi
50977 sc low tellerwithmultiassetsupportpredicateproxy contract cannot be emergency paused
- Report ID: #50977
- 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
Brief / Intro
TellerWithMultiAssetSupportPredicateProxy contract cannot be paused even though it implements the Pausable module.
Vulnerability Details
The TellerWithMultiAssetSupportPredicateProxy contract implements the Pausable contract module. The deposit() and depositAndBridge() functions check whether the contract is in a paused state before proceeding. However, the contract does not expose any mechanism to pause or unpause it externally, as it lacks public or external pause() and unpause() functions. The Pausable module only provides internal _pause() and _unpause() functions, which must be explicitly invoked by the implementing contract.
Impact Details
In case of an emergency, the contract cannot be paused, and all operations can proceed as normal.
References
- https://github.com/immunefi-team/attackathon-plume-network-nucleus-boring-vault/blob/0ee676b5715075c26db6706960fd49ab59b587fc/src/base/Roles/TellerWithMultiAssetSupportPredicateProxy.sol#L20-L222
- https://github.com/immunefi-team/attackathon-plume-network-nucleus-boring-vault/blob/0ee676b5715075c26db6706960fd49ab59b587fc/src/base/Roles/TellerWithMultiAssetSupportPredicateProxy.sol#L78-L80
- https://github.com/immunefi-team/attackathon-plume-network-nucleus-boring-vault/blob/0ee676b5715075c26db6706960fd49ab59b587fc/src/base/Roles/TellerWithMultiAssetSupportPredicateProxy.sol#L133-L135
Proof of Concept
{% stepper %} {% step %} There is an emergency situation where the contract needs to be paused. {% endstep %}
{% step %} No deposit or bridging should be allowed. {% endstep %}
{% step %} The owner/admin attempts to pause the contract. {% endstep %}
{% step %} The pause functionality is not present in the contract; therefore, the admin is unable to pause it. {% endstep %}
{% step %} Deposit and bridging operations continue to work as usual, even in the emergency situation. {% endstep %} {% endstepper %}
Context
This report concerns TellerWithMultiAssetSupportPredicateProxy.sol, a smart contract in the Plume Network Attackathon codebase hosted on GitHub. The contract exposes deposit() and depositAndBridge() functions. It inherits the Pausable module and its deposit() and depositAndBridge() functions check the paused state before doing any work.
The check is meant to stop deposits and bridging while the contract is paused. The report shows that the check exists but the switch that would flip it does not.
Setup
The report does not describe any accounts, tooling, versions or deployment steps. The only concrete artefacts are the target file and three line references into a specific commit of the repository:
- The full contract, lines 20 to 222.
- Lines 78 to 80, the paused check in
deposit(). - Lines 133 to 135, the paused check in
depositAndBridge().
No proof-of-concept transaction, script or test output is included.
Finding it
The contract implements the Pausable module and two of its entry points consult the paused state, yet the contract exposes no way to change that state. The Pausable module only supplies internal _pause() and _unpause() functions; a contract that inherits it must call those itself from a public or external function. TellerWithMultiAssetSupportPredicateProxy never does, so the paused flag can never become true.
The result is a guard that is always satisfied. The code reads as if an emergency stop exists, but the stop is unreachable.
Exploitation
The report frames this as a scenario rather than an attack, because there is no attacker action involved. The steps are:
Step 1
An emergency situation arises in which the contract needs to be paused.
Step 2
In that situation, no deposit or bridging should be allowed.
Step 3
The owner or admin attempts to pause the contract.
Step 4
The pause functionality is not present in the contract, so the admin has no function to call and cannot pause it.
Step 5
Deposit and bridging operations continue to work as usual, even during the emergency.
The report gives no transaction, call or response for any of these steps. The failure is structural: the call the admin would need does not exist in the contract's interface.
Root cause
The contract inherits Pausable and relies on it in deposit() and depositAndBridge(), but never wires the module's internal _pause() and _unpause() functions to any externally callable function. The Pausable module only provides internal _pause() and _unpause() functions, which the implementing contract must invoke. Without those wrappers, the paused state cannot be changed, so the checks in deposit() and depositAndBridge() never block anything.
Existing defences do not help here. The paused checks in the two functions are correct in themselves, but they depend on state that nothing can change. The report does not discuss any other pause mechanism, guardian role or upgrade path.
Impact
The impact is the one the report states: the contract fails to deliver promised returns, but does not lose value. During an emergency, the owner or admin cannot halt deposits or bridging, and both operations proceed as normal. The report does not describe which emergencies were anticipated, what assets are at stake, or any loss that follows from the missing pause. It is a broken safety control, and the report rates it low severity.
Fix
The report does not prescribe a fix.
Variants to test
- Inherited Pausable without wrappers. Look for contracts that inherit Pausable and use
whenNotPausedbut define no publicpause()orunpause(). A positive result is a contract whose paused flag can never be set by any account. - Wrappers without access control. Where
pause()andunpause()do exist, check who may call them. A positive result is an unrestricted pause function, which lets anyone halt deposits. - Guards on the wrong functions. Check whether the paused modifier covers every value-moving entry point, not just some. A positive result is a deposit or bridge path that skips the check entirely.
- Other inherited modules with the same pattern. Modules that require the implementing contract to expose internal hooks, such as reentrancy guards with manual toggles, can fail the same way. A positive result is a safety feature that is referenced but never reachable.
Hunting notes
This class of bug hides in inheritance. When reading a contract, list the modules it inherits and, for each one, ask whether the contract supplies the external entry points the module expects. Grep for whenNotPaused, _pause and _unpause and compare what you find: a modifier in use with no caller of _pause() is the signal.
The report shows impact by walking through the emergency scenario step by step: the admin wants to stop deposits, has no function to call, and deposits continue. The report classifies the impact as "contract fails to deliver promised returns, but doesn't lose value".
What happened, in plain words
A smart contract called TellerWithMultiAssetSupportPredicateProxy is supposed to have an emergency stop button. It even checks, before accepting money, whether that button has been pressed. The problem is that nobody ever built the button. The check is there, but there is no way for the owner or admin to flip the switch, so the contract can never actually be paused. In an emergency, deposits and bridging keep working as normal.
This is a low-severity finding because nothing is stolen and no money is lost. The contract simply fails to deliver a safety feature it appears to promise.
Background: the words you need first
Before the details make sense, here are the basic ideas. Each one is explained from scratch.
- Smart contract: a small program that lives on a blockchain. Once deployed, it runs exactly as written and anyone can call the functions it exposes. Think of it as a vending machine that anyone can walk up to and use.
- Blockchain: a shared, public record of transactions that many computers keep in sync. You do not need to understand the internals here, only that code on it is public and callable.
- Solidity: the programming language most smart contracts are written in. It looks a bit like JavaScript or C.
- Function: a named block of code inside a contract that does something when called, for example
deposit(). Calling a function is like pressing a button on the vending machine. - Public / external function: a function that people outside the contract are allowed to call. If a function is not public or external, outsiders cannot trigger it directly.
- Internal function: a function that only the contract itself (or a contract that builds on it) can call. Outsiders cannot reach it. It is like a helper routine behind the counter.
- Inheritance: a way for one contract to reuse code from another. The child contract gets all the parent's functions and can add its own. Think of a template document: you start from it and fill in the blanks.
- Module: a reusable piece of code, usually a parent contract, that provides a feature. Here the feature is pausing.
- Pausable module: a standard piece of code (commonly from a library called OpenZeppelin) that adds a paused/not-paused flag to a contract. It provides internal
_pause()and_unpause()helpers and awhenNotPausedcheck that other functions can use. - Modifier: a small condition attached to a function that must pass before the function body runs.
whenNotPausedis a modifier: it says "only continue if the contract is not paused". - Flag / state variable: a value stored inside the contract, such as a true/false "paused" marker. It lives on the blockchain and persists between calls.
- Owner / admin: an account (a blockchain address) that is trusted to perform privileged actions, such as pausing the contract.
- Teller: in this codebase, a contract that accepts deposits from users. It is the front desk where you hand over assets.
- Deposit: sending assets into the contract.
- Bridging: moving assets from one blockchain to another. A bridge contract locks or releases assets on each side.
- Emergency pause: a kill switch that stops sensitive operations when something goes wrong, so the team has time to investigate.
- ABI: the list of functions a contract exposes to the outside world. If a function is not in the ABI, no outside caller can invoke it. Think of it as the menu on the vending machine: if a button is not on the menu, you cannot press it.
- Bug bounty: a programme where a company pays researchers for reporting security problems. This report was filed on Immunefi, a bug bounty platform.
- Severity: how serious a finding is. Low here means a broken safety feature, not a way to steal funds.
Context: what the contract is and what it is supposed to do
The report concerns TellerWithMultiAssetSupportPredicateProxy.sol, a smart contract in the Plume Network Attackathon codebase hosted on GitHub. The report does not explain the parts of the name. The report itself does not explain the proxy or predicate parts, so we will not guess at them.
The contract inherits the Pausable module. Its deposit() and depositAndBridge() functions check the paused state before doing any work. That check is the whole point of the safety feature: if the contract is paused, deposits and bridging should stop.
The report shows that the check exists but the switch that would flip it does not.
Setup: what the researcher used
The report does not describe any accounts, tooling, versions or deployment steps. The only concrete artefacts are the target file and three line references into a specific commit of the repository:
- The full contract, lines 20 to 222.
- Lines 78 to 80, the paused check in
deposit(). - Lines 133 to 135, the paused check in
depositAndBridge().
No proof-of-concept transaction, script or test output is included.
Finding it: how the researcher spotted the gap
Two things do not fit together:
- The contract implements the Pausable module and two of its entry points consult the paused state.
- The contract exposes no way for anyone, including the owner or admin, to change that state.
The Pausable module only supplies internal _pause() and _unpause() functions. A contract that inherits it must call those itself from a public or external function. TellerWithMultiAssetSupportPredicateProxy never does, so the paused flag can never become true.
The result is a guard that is always satisfied. The code reads as if an emergency stop exists, but the stop is unreachable.
Exploitation: the emergency scenario, step by step
The report frames this as a scenario rather than an attack, because there is no attacker action involved. Nobody is breaking in; the problem is that a legitimate safety action is impossible. The steps are:
Step 1
An emergency situation arises in which the contract needs to be paused.
Step 2
In that situation, no deposit or bridging should be allowed.
Step 3
The owner or admin attempts to pause the contract.
Step 4
The pause functionality is not present in the contract, so the admin has no function to call and cannot pause it.
Step 5
Deposit and bridging operations continue to work as usual, even during the emergency.
The report gives no transaction, call or response for any of these steps. There is nothing to copy into a terminal, because the missing piece is a function that was never written.
Root cause: why the pause can never happen
The contract inherits Pausable and relies on it in deposit() and depositAndBridge(), but never wires the module's internal _pause() and _unpause() functions to any externally callable function.
The Pausable module only provides internal _pause() and _unpause() functions, which the implementing contract must invoke. Without those wrappers, the paused state cannot be changed, so the checks in deposit() and depositAndBridge() never block anything.
Existing defences do not help here. The paused checks in the two functions are correct in themselves, but they depend on state that nothing can change. The report does not discuss any other pause mechanism, guardian role or upgrade path.
Impact: what actually goes wrong
The impact is the one the report states: the contract fails to deliver promised returns, but does not lose value. During an emergency, the owner or admin cannot halt deposits or bridging, and both operations proceed as normal.
It is a broken safety control, and the report rates it low severity.
The problem is that the contract cannot be paused when it matters.
Fix: what would close the gap
The report does not prescribe a fix.
Variants to test: where else this pattern hides
If you are reviewing contracts yourself, these are the related patterns worth checking. Each one is a variation on the same theme: a safety feature that is referenced but not reachable, or reachable by the wrong people.
- Inherited Pausable without wrappers. Look for contracts that inherit Pausable and use
whenNotPausedbut define no publicpause()orunpause(). A positive result is a contract whose paused flag can never be set by any account. - Wrappers without access control. Where
pause()andunpause()do exist, check who may call them. A positive result is an unrestricted pause function, which lets anyone halt deposits. - Guards on the wrong functions. Check whether the paused modifier covers every value-moving entry point, not just some. A positive result is a deposit or bridge path that skips the check entirely.
- Other inherited modules with the same pattern. Modules that require the implementing contract to expose internal hooks, such as reentrancy guards with manual toggles, can fail the same way. A positive result is a safety feature that is referenced but never reachable.
Hunting notes: how to look for this yourself
This class of bug hides in inheritance. When reading a contract, list the modules it inherits and, for each one, ask whether the contract supplies the external entry points the module expects. Search the code for whenNotPaused, _pause and _unpause and compare what you find: a modifier in use with no caller of _pause() is the signal.
The report shows impact by walking through the emergency scenario step by step: the admin wants to stop deposits, has no function to call, and deposits continue. The report classifies the impact as "contract fails to deliver promised returns, but doesn't lose value".
Glossary
- ABI: the public list of functions a smart contract exposes; anything not on the list cannot be called from outside.
- Admin: a trusted account allowed to perform privileged actions on a contract.
- Blockchain: a shared, public ledger of transactions maintained by many computers.
- Bridge / bridging: a mechanism for moving assets between blockchains.
- Bug bounty: a programme that pays researchers for reporting security problems.
- Deposit: sending assets into a contract.
- Emergency pause: a kill switch that stops sensitive operations during an incident.
- External function: a function callable from outside the contract.
- Flag: a stored value, often true/false, that records a state such as paused.
- Function: a named block of code in a contract that runs when called.
- Inheritance: reuse of code from a parent contract by a child contract.
- Internal function: a function callable only from within the contract or its children, not by outsiders.
- Modifier: a condition attached to a function that must pass before the function body runs.
- Module: a reusable piece of code, usually a parent contract, providing a feature.
- OpenZeppelin: a widely used library of standard, audited smart contract components.
- Owner: the account with privileged control over a contract.
- Pausable: a standard module that adds a paused flag, internal
_pause()and_unpause()helpers, and awhenNotPausedmodifier. - Proxy: a contract that forwards calls to another contract; the report does not elaborate on this part of the name.
- Recon: the early phase of security work where you map out a target's behaviour and surface.
- Reentrancy guard: a safety mechanism that prevents a function from being re-entered before it finishes.
- Severity: a rating of how serious a finding is.
- Smart contract: a program deployed on a blockchain that anyone can call.
- Solidity: the main programming language for smart contracts.
- State variable: data stored inside a contract that persists between calls.
- Teller: a contract that accepts deposits from users.
whenNotPaused: a modifier that only lets a function run when the contract is not paused.