Reentrancy is a control-flow problem: an external call can hand execution to another contract before a vault has finished updating its state. The practical review is not limited to Ether withdrawals. Check same-function and cross-function entry points, token and receiver callbacks, strategy call chains, and values that other contracts can read during a transition. These are five useful inspection surfaces, not a measured ranking of the most frequent vulnerabilities.
What makes a vault reentrant?
A vault is at risk when it yields control while relevant state is unfinished and a reachable callback path can use that inconsistent state to break an invariant. Solidity’s security guidance notes that reentrancy can arise from any external contract call, not only Ether transfers: Solidity documentation, Security Considerations. A callback alone is not proof of an exploit; the key questions are what state is pending and what code can run before the transition completes.
As an Amazon Associate I earn from qualifying purchases.
Five reentrancy patterns to inspect
1. Same-function reentry during withdrawal
A classic failure occurs when a vault sends assets to a recipient before reducing that recipient’s recorded claim. A contract recipient can call the withdrawal function again while the old balance is still visible, potentially withdrawing against the same claim more than once. Ethereum.org illustrates how delayed balance updates can enable repeated withdrawals: Ethereum.org smart-contract security.
Apply checks-effects-interactions (CEI): validate the request, record the reduced claim and other accounting effects, then make the external payment. The vault should not expose a balance that remains spendable after the payment has begun.
#1 Best Overall
- Effortlessly build your crypto portfolio via the all in one Ledger Wallet app: buy, sell, send, receive, swap, stake and more across popular blockchains. 15,000+ coins & tokens in a single dashboard. Keep a close eye on the market. Compare service providers. Track performance. Get timely alerts. Build your portfolio with confidence.
- Effortlessly build your crypto portfolio via the all in one Ledger Wallet app: buy, sell, send, receive, swap, stake and more across popular blockchains. 15,000+ coins & tokens in a single dashboard. Keep a close eye on the market. Compare service providers. Track performance. Get timely alerts. Build your portfolio with confidence.
- Enjoy Bluetooth connectivity, iOS access, and hours of battery use with this mobile-first, secure backup signer. Freedom you can depend on.
- Genuine Check: confirm your signer is authentic during setup with the Ledger Wallet app.
- Protect your signer: keep it in mint condition at all times with a bespoke Pod or Case to avoid scratches and everyday wear and tear.
2. Cross-function reentry through shared accounting
A callback need not repeat the original withdrawal. It may enter another public or external function that reads or changes the same shares, assets, debt, or reward state. For example, one entry point might be guarded while another can still manipulate the accounting on which the first relies. OWASP distinguishes cross-function reentrancy from same-function recursion in its smart-contract reentrancy guidance: OWASP SCWE-046.
Review every reachable entry point that touches the affected state, not just the function where the external call occurs. A guard on one function does not automatically cover sibling functions.
Rank #2
- Proven security at scale: Over 9 years and millions of cards issued with no known remote hacks, while military‑grade EAL6+ security keeps your private keys locked inside the chip. Your cryptocurrencies stay strongly protected from online attackers.
- Tap once to manage your entire crypto wallet across 90 blockchains - no USB cables or Bluetooth, no batteries, no setup. Access 14,100+ coins & tokens, DeFi, NFTs, and staking instantly from your phone
- Smart backup: Use your second Tangem Wallet as your Backup keys with end‑to‑end encryption; no more papers, pictures. If one card is lost, the remaining can still restore full access, with an optional seed phrase available for advanced users.
- Engineered to last up to 25 years: Waterproof (IP69K), shockproof and tested for extreme temperatures from −25°C to 50°C. A durable cold wallet with long‑term protection and independently audited security.
- Trusted by 6 million users worldwide - buy, sell, swap, stake, and spend cryptocurrency directly. The secure offline storage wallet designed for how people actually use crypto wallets
3. Token and receiver callback reentry
Token transfers, receiver hooks, and other callback interfaces can execute code during what may look like a routine asset operation. A token contract or recipient should therefore be treated as code that can call back into the vault. This applies even when the vault never sends Ether. Solidity’s warning about external calls and OWASP’s reentrancy categories cover these callback-capable interactions (Solidity; OWASP).
Do these 3 things before closing this tab:
1Fix the driver behind crashes, sound loss and screen glitches2Repair Windows errors before they cause bigger problems3Scan for outdated or missing drivers - takes under a minute4. Cross-contract reentry through a strategy or module
A vault may call a strategy, DEX, or another module that subsequently reaches a dependent contract or a vault entry point. The security boundary is the full call graph, not just the vault’s local function. State may be distributed among the vault, strategy, and integrations, so a locally sensible ordering can still leave another contract able to observe or exploit a partial transition. Solidity advises considering multi-contract situations; OWASP specifically identifies vault-to-strategy-to-DEX flows as a review surface (Solidity; OWASP).
Rank #3
- Dual-chip architecture for maximum protection: The next-gen, fully auditable TROPIC01 chip works alongside a certified EAL6+ Secure Element—completely NDA-free—to deliver radically transparent, industry-leading defense against physical attacks.
- Quantum-ready security: Get protection against future threats with the first-ever hardware wallet designed with quantum-ready architecture.
- See every detail with confidence: Our largest high-resolution color touchscreen makes it easy to navigate your assets, review transactions and manage your coins with clarity.
- Wireless freedom with encrypted Bluetooth control: Manage, buy, swap and stake securely using Trezor Suite on desktop or mobile. Qi2-compatible wireless charging keeps your Trezor powered up. No cables required—security meets convenience.
- Works seamlessly with Android, iOS and desktop: Connect wirelessly or via USB-C to your phone or computer. Manage your crypto anywhere with our companion Trezor Suite app.
5. Read-only reentrancy and transient views
A callback may query a view function while the vault is partway through a state transition. The view itself may not write to the vault, but an integrator, oracle consumer, or other dependent protocol may act on the transient value it returns. A view can therefore matter to system-wide invariants even when it cannot mutate the vault directly.
OpenZeppelin’s Very Liquid Vaults audit discusses the limits of guarding view functions and describes use of nonReentrant and nonReentrantView where possible, alongside constraints that remain: OpenZeppelin Very Liquid Vaults audit. View protections need special care when state-changing functions call view functions internally.
Rank #4
- UNPARALLELED SECURITY: Protect your assets with Trezor Safe 5's NDA-free EAL 6+ Secure Element, offering robust defense and complete transparency.
- EFFORTLESS NAVIGATION: Experience seamless crypto management with the vibrant color touchscreen, designed for intuitive and user-friendly interactions.
- ENHANCED USER EXPERIENCE: Enjoy tactile confirmation with Trezor Touch Haptic Engine, making each interaction precise and engaging.
- SUPPORTS 1000s OF COINS & TOKENS: Securely handle thousands of assets, including Bitcoin, Ethereum, and more, all in one wallet.
- EASY ASSET MANAGEMENT: Monitor and transact seamlessly with Trezor Suite, our user-friendly desktop and mobile app
How to choose and combine defenses
Defenses address different parts of the problem. CEI prevents exposure of a vulnerable intermediate state by completing accounting effects before interaction. A mutex-style reentrancy guard rejects recursive entry to covered functions. Read-only protections aim to limit what callers can observe during a transition, but they must account for internal call patterns and dependent contracts.
PC Slower Than It Used to Be?
A free scan shows the junk files, broken settings and background clutter dragging Windows down - then fixes them in one click.Free scan · Windows 10 & 11Outdated Drivers Are Slowing You Down
One free scan finds every outdated or missing driver and matches the right update for your exact hardware.Free scan · exact hardware match| Defense | What it addresses | What to verify |
|---|---|---|
| Checks-effects-interactions | Updates relevant accounting before control leaves the vault. | All state needed to preserve the invariant is updated before every callback-capable interaction. |
| Reentrancy guard or mutex | Rejects recursive entry into functions covered by the guard. | Every relevant entry point and callback path is covered; internal calls and inheritance structure remain compatible. |
| Read-only reentrancy protection | Limits exposure of transient values through views during a state transition. | Dependent contracts cannot act on an unsafe intermediate view, and internal view use remains valid. |
These measures are complementary rather than interchangeable. A guard can block a route without correcting stale accounting; CEI can protect an accounting sequence without addressing every transient value read elsewhere. Assess coverage against the vault’s actual call graph and invariants, as emphasized by Solidity and the OpenZeppelin audit (Solidity; OpenZeppelin).
A practical review workflow
- Map external call sites. Include asset transfers, token hooks, receiver callbacks, strategy calls, DEX interactions, and calls to dependent modules.
- Mark the state at each handoff. For each call, record which balances, shares, liabilities, rewards, or other fields have changed and which updates are still pending.
- Trace reachable entry points. Enumerate same-function and cross-function routes that can touch that state, including routes reached through other contracts.
- Write the invariants. State what must remain true, such as a correct share claim or consistency between assets and liabilities, throughout the transition—not only after the transaction finishes.
- Test callback sequences. Exercise the relevant entry points and state transitions with callback-capable dependencies, and check whether any sequence violates an invariant or exposes an unsafe value to an integrator.
- Check the deployed version. Confirm that the code and configuration being reviewed match the actual deployment. A finding or mitigation in one version does not establish the state of another.
Ethereum.org recommends documenting critical security properties and using automated property testing; those tests complement, rather than replace, manual call-graph and integration review: Ethereum.org smart-contract security.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.




