Skip to content
Business logic Audit finding Beginner

DepositAndBridge(...) function of TellerWithMultiAssetSupportPredicateProxy.sol can not be paused

The contract checks a paused state in deposit and depositAndBridge but does not expose pause or unpause functions, so the owner cannot pause it. An attacker could exploit a vulnerability while the contract remains active, though the report only claims a temporary freezing of funds for at least one hour.

Plume Network

Originally disclosed on Immunefi

51746 sc low depositandbridge function of tellerwithmultiassetsupportpredicateproxy sol can not be paused

Description

Brief / Intro

The TellerWithMultiAssetSupportPredicateProxy.sol contract inherits from Pausable.sol and checks the paused state in deposit(...) and depositAndBridge(...). However, pause(...) and unpause(...) functions are not implemented, so there is no way to pause the contract when a security vulnerability is detected.

Vulnerability Details

The deposit(...) and depositAndBridge(...) functions check for pause and revert when paused, but there is no exposed function to set the contract into the paused state.

Relevant snippet:

Solidity
File: TellerWithMultiAssetSupportPredicateProxy.sol
function depositAndBridge(
        ERC20 depositAsset,
        uint256 depositAmount,
        uint256 minimumMint,
        BridgeData calldata data,//msgGas not validated with msg.value.
        CrossChainTellerBase teller,
        PredicateMessage calldata predicateMessage
    )
        external
        payable
        nonReentrant
    {
        if (paused()) {//@audit pause is checked but pause() function not implemented
            revert TellerWithMultiAssetSupportPredicateProxy__Paused();
        }

        //@dev This is NOT the actual function that is called, it is the against which the predicate is authorized
        bytes memory encodedSigAndArgs = abi.encodeWithSignature("depositAndBridge()");
        //still use 0 for msg.value since we only need validation against sender address
        if (!_authorizeTransaction(predicateMessage, encodedSigAndArgs, msg.sender, 0)) {
            revert TellerWithMultiAssetSupportPredicateProxy__PredicateUnauthorizedTransaction();
        }
        lastSender = msg.sender;
        ERC20 vault = ERC20(teller.vault());
        //approve vault to take assets from proxy
        depositAsset.safeApprove(address(vault), depositAmount);
        //transfer deposit assets from sender to this contract
        depositAsset.safeTransferFrom(msg.sender, address(this), depositAmount);
        // mint shares
        teller.depositAndBridge{ value: msg.value }(depositAsset, depositAmount, minimumMint, data);
        lastSender = address(0);
        uint96 nonce = teller.depositNonce();
        //get the current share lock period
        uint64 currentShareLockPeriod = teller.shareLockPeriod();
        AccountantWithRateProviders accountant = AccountantWithRateProviders(teller.accountant());
        //get the share amount
        uint256 shares = depositAmount.mulDivDown(10 ** vault.decimals(), accountant.getRateInQuoteSafe(depositAsset));

        emit Deposit(
            address(teller),
            data.destinationChainReceiver,
            address(depositAsset),
            depositAmount,
            shares,
            block.timestamp,
            currentShareLockPeriod,
            nonce > 0 ? nonce - 1 : 0,
            address(vault)
        );
    }

Impact Details

There is no way to pause TellerWithMultiAssetSupportPredicateProxy.sol when a potential vulnerability is suspected, preventing an emergency freeze and thereby potentially allowing exploitation until other mitigations (e.g., timelocks, external controls) take effect.

Recommendation

Consider implementing pause() and unpause() as owner-restricted wrappers around the inherited _pause() and _unpause() functions.

Suggested implementation:

Solidity
File: TellerWithMultiAssetSupportPredicateProxy.sol
function pause() public onlyOwner {
    _pause();
}

function unpause() public onlyOwner {
    _unpause();
}

{% hint style="info" %} Ensure the owner access control is correct and that pausing these proxy functions does not break any necessary on-chain flows. If ownership is multisig or governed, confirm the governance process for emergency pauses. {% endhint %}

Proof of Concept

{% stepper %} {% step %} A potential vulnerability is detected on TellerWithMultiAssetSupportPredicateProxy.sol. {% endstep %}

{% step %} The owner attempts to pause the contract, but pause and unpause functions are not implemented. {% endstep %}

{% step %} The contract cannot be paused, leaving the vulnerability exploitable until other mitigations are applied. {% endstep %} {% endstepper %}

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

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 5 min read.

When a Pause Check Has No Pause Button: The Unpausable depositAndBridge in Plume Network's Teller Proxy

Context

The target is TellerWithMultiAssetSupportPredicateProxy.sol, a smart contract in the Nucleus Boring Vault codebase submitted to the Plume Network bug bounty programme on Immunefi. The contract accepts a deposit asset, authorises the transaction against a Predicate message, approves the vault, forwards the deposit and bridge call to the teller, and emits a Deposit event.

The contract inherits from Pausable.sol and consults the paused state inside its deposit entry points. The intent is clear: if a vulnerability is suspected, the owner should be able to freeze deposits while other mitigations are arranged. The report shows that the second half of that mechanism is missing.

Setup

The finding is a smart contract review, so there are no accounts, sessions or tooling to configure. The relevant preconditions are structural:

  • The contract inherits Pausable.sol, which provides the internal _pause() and _unpause() functions and the paused() view.
  • The deposit entry points, including depositAndBridge(...), call paused() and revert with TellerWithMultiAssetSupportPredicateProxy__Paused() when it returns true.
  • No externally callable pause() or unpause() wrapper is exposed.

The report does not state which Solidity version, OpenZeppelin release or deployment address is involved.

Finding it

The researcher noticed an asymmetry between the check and the control. The deposit functions are written as if the contract can be paused, but nothing in the contract can actually put it into the paused state. Reading the code, the paused() guard is dead weight: it can only ever evaluate to false because no code path sets the flag.

The relevant snippet from the report:

Solidity
File: TellerWithMultiAssetSupportPredicateProxy.sol
function depositAndBridge(
        ERC20 depositAsset,
        uint256 depositAmount,
        uint256 minimumMint,
        BridgeData calldata data,//msgGas not validated with msg.value.
        CrossChainTellerBase teller,
        PredicateMessage calldata predicateMessage
    )
        external
        payable
        nonReentrant
    {
        if (paused()) {//@audit pause is checked but pause() function not implemented
            revert TellerWithMultiAssetSupportPredicateProxy__Paused();
        }

        //@dev This is NOT the actual function that is called, it is the against which the predicate is authorized
        bytes memory encodedSigAndArgs = abi.encodeWithSignature("depositAndBridge()");
        //still use 0 for msg.value since we only need validation against sender address
        if (!_authorizeTransaction(predicateMessage, encodedSigAndArgs, msg.sender, 0)) {
            revert TellerWithMultiAssetSupportPredicateProxy__PredicateUnauthorizedTransaction();
        }
        lastSender = msg.sender;
        ERC20 vault = ERC20(teller.vault());
        //approve vault to take assets from proxy
        depositAsset.safeApprove(address(vault), depositAmount);
        //transfer deposit assets from sender to this contract
        depositAsset.safeTransferFrom(msg.sender, address(this), depositAmount);
        // mint shares
        teller.depositAndBridge{ value: msg.value }(depositAsset, depositAmount, minimumMint, data);
        lastSender = address(0);
        uint96 nonce = teller.depositNonce();
        //get the current share lock period
        uint64 currentShareLockPeriod = teller.shareLockPeriod();
        AccountantWithRateProviders accountant = AccountantWithRateProviders(teller.accountant());
        //get the share amount
        uint256 shares = depositAmount.mulDivDown(10 ** vault.decimals(), accountant.getRateInQuoteSafe(depositAsset));

        emit Deposit(
            address(teller),
            data.destinationChainReceiver,
            address(depositAsset),
            depositAmount,
            shares,
            block.timestamp,
            currentShareLockPeriod,
            nonce > 0 ? nonce - 1 : 0,
            address(vault)
        );
    }

The inline audit comment marks the exact line: the pause is checked, but the pause() function is not implemented. The same pattern applies to deposit(...), which the report says also checks the paused state.

Exploitation

The report frames this as a defensive gap rather than an attacker-driven exploit. The proof of concept is a three-step sequence describing what happens when a vulnerability is suspected.

Step 1: A vulnerability is detected

A potential vulnerability is detected on TellerWithMultiAssetSupportPredicateProxy.sol. At this point the owner would normally reach for the emergency brake.

Step 2: The owner tries to pause

The owner attempts to pause the contract, but the pause and unpause functions are not implemented. There is no callable entry point that reaches the inherited _pause().

Step 3: The contract stays live

The contract cannot be paused, leaving the vulnerability exploitable until other mitigations are applied. The report names timelocks and external controls as examples of those fallback mitigations.

There is no payload, transaction or response to show here: the absence of a function is the whole finding.

Root cause

The contract inherits Pausable.sol and consumes its state through paused(), but never exposes the state-changing half of the pattern. In OpenZeppelin-style Pausable, _pause() and _unpause() are internal; a contract that wants them must add its own access-controlled wrappers. Without those wrappers, the paused() guard in deposit(...) and depositAndBridge(...) can never be true, so the emergency stop that the code appears to support does not exist.

The existing defences do not cover this. The nonReentrant modifier and the Predicate authorisation check protect against reentrancy and unauthorised callers respectively, but neither gives the owner a way to halt deposits. The report does not describe any other pause mechanism elsewhere in the system.

Impact

If a vulnerability is suspected in this contract, the owner has no way to freeze it while a fix or other mitigation is prepared. Deposits and bridges through the proxy remain available, so a suspected issue stays exploitable until timelocks, external controls or other measures take effect. The report lists the impact as temporary freezing of funds for at least 1 hour and the severity as Low. It does not claim that any specific vulnerability exists or that funds were lost; the finding is the missing ability to respond.

Fix

The recommendation is to add owner-restricted wrappers around the inherited internal functions:

Solidity
File: TellerWithMultiAssetSupportPredicateProxy.sol
function pause() public onlyOwner {
    _pause();
}

function unpause() public onlyOwner {
    _unpause();
}

The report adds two cautions. First, ensure the owner access control is correct. Second, confirm that pausing these proxy functions does not break any necessary on-chain flows. If ownership is a multisig or is governed, the governance process for emergency pauses should be confirmed in advance.

Variants to test

  • Inherited pausable with no wrapper. Look for contracts that call paused() or whenNotPaused but expose no pause()/unpause(). A positive result is a guard that can never trigger because no reachable function calls _pause().
  • Wrapper with the wrong modifier. A pause() that exists but lacks onlyOwner, or uses a role that no one holds, is functionally the same gap. A positive result is a pause function callable by an unintended party, or by nobody.
  • Partial coverage. A contract that pauses deposit(...) but not depositAndBridge(...), or vice versa, leaves a live path during an emergency. A positive result is a state-changing entry point that ignores the paused flag.
  • Pause that breaks flows. After adding or finding a pause, check whether unpausing restores every path, including bridge and share-lock logic. A positive result is a flow that stays stuck after unpause().

Hunting notes

This class of bug hides in inheritance. When a contract pulls in Pausable, AccessControl or similar base contracts, check that every state the code reads is also writable through some reachable path. The signal during review is a paused() check with no matching setter, or an audit comment flagging the mismatch. Grep for paused(), whenNotPaused, _pause and _unpause across the codebase and compare what each contract reads against what it exposes.

On impact, the report keeps its claims modest: it describes the missing emergency stop and the window it leaves open, without asserting an exploitable vulnerability.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 13 min read.

What happened, in plain words

A smart contract called TellerWithMultiAssetSupportPredicateProxy.sol is part of the Plume Network codebase. It is a proxy contract that accepts a deposit asset and forwards a deposit and bridge call to a teller. The contract was written with an emergency stop in mind: it contains a check that asks "am I paused?" before letting a deposit through. But the contract never gives anyone a button to actually pause it. So the check is always false, and the emergency stop does not exist in practice.

The mismatch was reported through the Plume Network bug bounty programme on Immunefi. The report is rated Low severity. It does not claim that money was stolen or that a specific attack happened. It says that if a problem were ever found in this contract, the owner would have no way to freeze it while a fix was prepared.

Background concepts, from zero

Before the details, a few ideas that the rest of the article relies on.

  • Smart contract: a program that lives on a blockchain. Once deployed, its code runs exactly as written, and anyone can call the functions it exposes. Think of it as a vending machine that is bolted to the pavement: the buttons on the front are the only things you can press.
  • Blockchain: a shared ledger that many computers keep copies of. Transactions are recorded permanently, and nobody can quietly edit history.
  • Solidity: the programming language used to write most smart contracts on Ethereum-style blockchains. The code in this report is Solidity.
  • Function: a named block of code inside a contract that can be called, either by a user or by another contract. depositAndBridge(...) is a function.
  • Proxy: a contract that sits in front of another contract and passes calls through to it, often adding checks or bookkeeping on the way. Here the proxy accepts the user's tokens, does some authorisation, and then forwards the real deposit to a "teller" contract behind it.
  • Teller: in this codebase, the contract that actually handles deposits and bridging. The proxy wraps it.
  • Bridging: moving an asset from one blockchain to another. A bridge is the mechanism that does this.
  • Inheritance: a way for one contract to reuse code from another. If contract B inherits from contract A, B gets A's functions and state for free. This matters a lot here, because the pause machinery comes from an inherited contract.
  • Pausable.sol: a standard building block (from the OpenZeppelin library, a widely used collection of audited contract components) that adds a paused/unpaused flag. It provides an internal _pause() function, an internal _unpause() function, and a public paused() function that reports the current state. "Internal" means only the contract itself, or contracts inheriting from it, can call those functions. Outside users cannot.
  • onlyOwner: a modifier, meaning a small condition attached to a function, that restricts who may call it. onlyOwner means only the contract's owner address can call it.
  • Revert: to cancel a transaction and undo its effects. A contract reverts when a check fails, for example when a deposit is attempted while paused.
  • Event: a log entry a contract writes to the blockchain when something notable happens. Off-chain software can read events to track deposits.
  • nonReentrant: a modifier that blocks a known attack pattern called reentrancy, where a contract is tricked into calling back into itself mid-operation.
  • Bug bounty programme: a scheme where an organisation pays researchers for reporting security problems responsibly, instead of the researcher exploiting them or publishing them recklessly.
  • Immunefi: a platform that hosts bug bounty programmes for blockchain projects.
  • Severity: a rating of how serious a finding is. Low means limited impact, often a defensive gap rather than a direct loss of funds.

The target contract

TellerWithMultiAssetSupportPredicateProxy.sol is a proxy in the Nucleus Boring Vault codebase, submitted to the Plume Network bug bounty programme on Immunefi. Its job, in order:

  1. Accept a deposit asset from a user.
  2. Authorise the transaction against a Predicate message (a signed authorisation that the caller is allowed to perform this action).
  3. Approve the underlying vault to pull the assets.
  4. Forward the deposit and bridge call to the teller.
  5. Emit a Deposit event recording the shares minted and the current share lock period.

The contract inherits from Pausable.sol and consults the paused state inside its deposit entry points. The intent is clear: if a vulnerability is suspected, the owner should be able to freeze deposits while other mitigations are arranged. The report shows that the second half of that mechanism is missing.

Setup

This is a code review finding, so there are no accounts, sessions or tools to configure. The relevant preconditions are structural:

  • The contract inherits Pausable.sol, which provides the internal _pause() and _unpause() functions and the paused() view.
  • The deposit entry points, including depositAndBridge(...), call paused() and revert with TellerWithMultiAssetSupportPredicateProxy__Paused() when it returns true.
  • No externally callable pause() or unpause() wrapper is exposed.

The report does not state which Solidity version, OpenZeppelin release or deployment address is involved.

Finding it

The researcher noticed an asymmetry between the check and the control. The deposit functions are written as if the contract can be paused, but nothing in the contract can actually put it into the paused state. Reading the code, the paused() guard is dead weight: it can only ever evaluate to false because no code path sets the flag.

The relevant snippet from the report:

Solidity
File: TellerWithMultiAssetSupportPredicateProxy.sol
function depositAndBridge(
        ERC20 depositAsset,
        uint256 depositAmount,
        uint256 minimumMint,
        BridgeData calldata data,//msgGas not validated with msg.value.
        CrossChainTellerBase teller,
        PredicateMessage calldata predicateMessage
    )
        external
        payable
        nonReentrant
    {
        if (paused()) {//@audit pause is checked but pause() function not implemented
            revert TellerWithMultiAssetSupportPredicateProxy__Paused();
        }

        //@dev This is NOT the actual function that is called, it is the against which the predicate is authorized
        bytes memory encodedSigAndArgs = abi.encodeWithSignature("depositAndBridge()");
        //still use 0 for msg.value since we only need validation against sender address
        if (!_authorizeTransaction(predicateMessage, encodedSigAndArgs, msg.sender, 0)) {
            revert TellerWithMultiAssetSupportPredicateProxy__PredicateUnauthorizedTransaction();
        }
        lastSender = msg.sender;
        ERC20 vault = ERC20(teller.vault());
        //approve vault to take assets from proxy
        depositAsset.safeApprove(address(vault), depositAmount);
        //transfer deposit assets from sender to this contract
        depositAsset.safeTransferFrom(msg.sender, address(this), depositAmount);
        // mint shares
        teller.depositAndBridge{ value: msg.value }(depositAsset, depositAmount, minimumMint, data);
        lastSender = address(0);
        uint96 nonce = teller.depositNonce();
        //get the current share lock period
        uint64 currentShareLockPeriod = teller.shareLockPeriod();
        AccountantWithRateProviders accountant = AccountantWithRateProviders(teller.accountant());
        //get the share amount
        uint256 shares = depositAmount.mulDivDown(10 ** vault.decimals(), accountant.getRateInQuoteSafe(depositAsset));

        emit Deposit(
            address(teller),
            data.destinationChainReceiver,
            address(depositAsset),
            depositAmount,
            shares,
            block.timestamp,
            currentShareLockPeriod,
            nonce > 0 ? nonce - 1 : 0,
            address(vault)
        );
    }

Line by line, in plain words:

  • File: TellerWithMultiAssetSupportPredicateProxy.sol is just a label saying which file the code comes from.
  • function depositAndBridge( starts the definition of the deposit-and-bridge function.
  • ERC20 depositAsset is the token the user wants to deposit. ERC20 is the standard format for tokens on Ethereum-style chains.
  • uint256 depositAmount is how much of that token is being deposited. uint256 is an unsigned whole number, the usual type for token amounts.
  • uint256 minimumMint is a minimum mint amount passed to the teller.
  • BridgeData calldata data carries the details of the bridge operation. calldata means the data is read directly from the incoming transaction rather than copied into memory. The inline comment notes that msgGas is not validated against msg.value, which is an observation about a different topic and not part of this finding.
  • CrossChainTellerBase teller is the teller contract the proxy will forward to.
  • PredicateMessage calldata predicateMessage is the signed authorisation that proves the caller is allowed to do this.
  • external means the function can be called from outside the contract.
  • payable means the function can receive the chain's native currency along with the call.
  • nonReentrant is the modifier that blocks reentrancy.
  • if (paused()) { asks the inherited Pausable component whether the contract is paused. The audit comment on this line is the heart of the report: the pause is checked, but the pause() function is not implemented.
  • revert TellerWithMultiAssetSupportPredicateProxy__Paused(); cancels the transaction with a specific error if the contract is paused.
  • bytes memory encodedSigAndArgs = abi.encodeWithSignature("depositAndBridge()"); builds a small piece of encoded data representing the function name. The comment explains that this is not the actual call being made; it is the thing the Predicate authorisation is checked against.
  • if (!_authorizeTransaction(predicateMessage, encodedSigAndArgs, msg.sender, 0)) { asks the Predicate component whether this sender is authorised. The 0 is used because only the sender's address needs validating here, not an amount.
  • revert TellerWithMultiAssetSupportPredicateProxy__PredicateUnauthorizedTransaction(); cancels the transaction if authorisation fails.
  • lastSender = msg.sender; stores the caller's address in lastSender.
  • ERC20 vault = ERC20(teller.vault()); reads the vault address from the teller.
  • depositAsset.safeApprove(address(vault), depositAmount); gives the vault permission to take up to depositAmount of the deposit token from the proxy. This is the standard ERC20 approval pattern.
  • depositAsset.safeTransferFrom(msg.sender, address(this), depositAmount); moves the user's tokens into the proxy contract.
  • teller.depositAndBridge{ value: msg.value }(depositAsset, depositAmount, minimumMint, data); forwards the actual deposit and bridge to the teller, passing along any native currency that came with the call.
  • lastSender = address(0); clears the record, setting it back to the zero address.
  • uint96 nonce = teller.depositNonce(); reads the deposit nonce from the teller.
  • uint64 currentShareLockPeriod = teller.shareLockPeriod(); reads the share lock period from the teller.
  • AccountantWithRateProviders accountant = AccountantWithRateProviders(teller.accountant()); reads the accountant address from the teller.
  • uint256 shares = depositAmount.mulDivDown(10 ** vault.decimals(), accountant.getRateInQuoteSafe(depositAsset)); computes the share amount.
  • emit Deposit( writes a log entry with the teller, destination receiver, deposit asset, amount, shares, timestamp, share lock period, nonce and vault address.

The inline audit comment marks the exact line: the pause is checked, but the pause() function is not implemented. The same pattern applies to deposit(...), which the report says also checks the paused state.

Exploitation

The report frames this as a defensive gap rather than an attacker-driven exploit. The proof of concept is a three-step sequence describing what happens when a vulnerability is suspected.

Step 1: A vulnerability is detected

A potential vulnerability is detected on TellerWithMultiAssetSupportPredicateProxy.sol. At this point the owner would normally reach for the emergency brake.

Step 2: The owner tries to pause

The owner attempts to pause the contract, but the pause and unpause functions are not implemented. There is no callable entry point that reaches the inherited _pause().

Step 3: The contract stays live

The contract cannot be paused, leaving the vulnerability exploitable until other mitigations are applied. The report names timelocks and external controls as examples of those fallback mitigations.

There is no payload, transaction or response to show here: the absence of a function is the whole finding.

Root cause

The contract inherits Pausable.sol and consumes its state through paused(), but never exposes the state-changing half of the pattern. In OpenZeppelin-style Pausable, _pause() and _unpause() are internal; a contract that wants them must add its own access-controlled wrappers. Without those wrappers, the paused() guard in deposit(...) and depositAndBridge(...) can never be true, so the emergency stop that the code appears to support does not exist.

The existing defences do not cover this. The nonReentrant modifier and the Predicate authorisation check protect against reentrancy and unauthorised callers respectively, but neither gives the owner a way to halt deposits. The report does not describe any other pause mechanism elsewhere in the system.

Impact

If a vulnerability is suspected in this contract, the owner has no way to freeze it while a fix or other mitigation is prepared. Deposits and bridges through the proxy remain available, so a suspected issue stays exploitable until timelocks, external controls or other measures take effect. The report classifies the impact as temporary freezing of funds for at least 1 hour, and the severity as Low. It does not claim that any specific vulnerability exists or that funds were lost; the finding is the missing ability to respond.

Fix

The recommendation is to add owner-restricted wrappers around the inherited internal functions:

Solidity
File: TellerWithMultiAssetSupportPredicateProxy.sol
function pause() public onlyOwner {
    _pause();
}

function unpause() public onlyOwner {
    _unpause();
}

What this code does, line by line:

The report adds two cautions. First, ensure the owner access control is correct. Second, confirm that pausing these proxy functions does not break any necessary on-chain flows. If ownership is a multisig or is governed, the governance process for emergency pauses should be confirmed in advance.

Variants to test

  • Inherited pausable with no wrapper. Look for contracts that call paused() or whenNotPaused but expose no pause()/unpause(). A positive result is a guard that can never trigger because no reachable function calls _pause().
  • Wrapper with the wrong modifier. A pause() that exists but lacks onlyOwner, or uses a role that no one holds, is functionally the same gap. A positive result is a pause function callable by an unintended party, or by nobody.
  • Partial coverage. A contract that pauses deposit(...) but not depositAndBridge(...), or vice versa, leaves a live path during an emergency. A positive result is a state-changing entry point that ignores the paused flag.
  • Pause that breaks flows. After adding or finding a pause, check whether unpausing restores every path, including bridge and share-lock logic. A positive result is a flow that stays stuck after unpause().

Hunting notes

This class of bug hides in inheritance. When a contract pulls in Pausable, AccessControl or similar base contracts, check that every state the code reads is also writable through some reachable path. The signal during review is a paused() check with no matching setter, or an audit comment flagging the mismatch. Grep for paused(), whenNotPaused, _pause and _unpause across the codebase and compare what each contract reads against what it exposes.

On impact, the report keeps its claims modest: it describes the missing emergency stop and the window it leaves open, without asserting an exploitable vulnerability.

Glossary

  • Smart contract: a program deployed on a blockchain that runs exactly as written and can be called by anyone.
  • Blockchain: a shared, tamper-resistant ledger kept by many computers.
  • Solidity: the programming language used to write most Ethereum-style smart contracts.
  • Function: a named block of code inside a contract that can be called.
  • Proxy: a contract that sits in front of another contract and forwards calls to it, often adding checks.
  • Teller: in this codebase, the contract that actually performs deposits and bridging.
  • Inheritance: a mechanism where one contract reuses the code and state of another.
  • Pausable.sol: a standard OpenZeppelin component that provides a paused flag, internal _pause() and _unpause(), and a public paused() view.
  • Internal function: a function callable only from inside the contract or from contracts that inherit from it.
  • onlyOwner: a modifier restricting a function to the contract's owner address.
  • Modifier: a small condition attached to a function that runs before or after it.
  • Revert: to cancel a transaction and undo its effects when a check fails.
  • nonReentrant: a modifier that blocks reentrancy attacks.
  • Reentrancy: an attack where a contract is tricked into calling back into itself mid-operation.
  • ERC20: the standard format for tokens on Ethereum-style blockchains.
  • uint256, uint96, uint64: unsigned whole-number types of different sizes, used for token amounts, counters and timestamps.
  • calldata: a marker meaning the data is read directly from the incoming transaction.
  • payable: a marker meaning a function can receive the chain's native currency.
  • external: a marker meaning a function can be called from outside the contract.
  • Vault: the contract that holds deposited assets and issues shares in return.
  • Shares: units representing a claim on the vault's assets.
  • Accountant: a contract that knows exchange rates between assets.
  • Nonce: a counter used to track or order operations.
  • Share lock period: how long newly minted shares are locked before they can be moved.
  • Predicate message: a signed authorisation proving the caller is allowed to perform an action.
  • Timelock: a mechanism that delays an action for a set period, often used as a fallback safety measure.
  • Multisig: a wallet that requires several signatures to approve a transaction.
  • Governance: the process by which a decentralised project makes decisions, often through token-holder votes.
  • Bug bounty programme: a scheme where an organisation pays researchers for reporting security problems responsibly.
  • Severity: a rating of how serious a finding is; Low means limited impact, often a defensive gap.
  • Proof of concept: a short sequence showing how a finding plays out in practice.
  • Grep: a command-line tool for searching text, used here to find every place a pattern appears in a codebase.

More from Plume Network

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.