Wyjaśnienie samodzielnego przechowywania środków

What Is an Access Control Vulnerability in DeFi?

What Is an Access Control Vulnerability in DeFi?

Main Takeaway: An access control vulnerability is a smart contract flaw that lets the wrong account use a privileged function, such as moving funds or upgrading code. OWASP lists it first in its 2026 Smart Contract Top 10. A cold wallet protects your keys, so also check who controls any protocol holding your deposits.

Quick Reference

Term What it means here
Privileged function A contract function meant only for approved accounts, such as minting tokens or withdrawing reserves.
Admin key The private key behind an account with special permissions over a protocol.
Proxy upgrade A change that points a contract address at new logic while its stored balances stay in place.
Timelock A set delay before a scheduled admin action can execute.

What Is an Access Control Vulnerability in DeFi?

An access control vulnerability is a gap in the rules that decide who may do what inside a smart contract. When a contract accepts a call from an account that should not have that power, an attacker can act as if they were authorized.

The OWASP Smart Contract Top 10 places access control at SC01 in its 2026 list, which draws on incidents and survey data from 2025. OWASP notes that governance contracts, guardians and proxy admins all help enforce who holds power in a modern protocol.

Two Ways Access Control Fails

The check is missing from the code. A function that should verify its caller accepts anyone. Cork Protocol lost roughly $11 million to $12 million in May 2025 after an attacker called a swap hook directly. The function did not confirm that the caller was the trusted Uniswap V4 PoolManager. Dedaub's analysis names a second flaw in a risk premium calculation, which compounded the attack.

The check works, and the attacker holds a valid key. The contract sees an approved account and carries out the request. In March 2025, an attacker gained the key behind a Zoth deployer address and pushed a malicious contract upgrade. Halborn estimates the loss at $8.4 million.

A multisig, an account that needs several signers to approve an action, raises the effort for an attacker. The outcome still depends on how each signer reviews a request. Drift Protocol lost about $285 million in April 2026 after attackers socially engineered 2 of its 5 multisig signers, as covered in our Drift breakdown.

Can a Cold Wallet Stop an Access Control Exploit?

A cold wallet does not change a protocol's code or admin permissions. Coins deposited into a protocol follow that contract's rules, so an exploit can reach them without touching the private key in your wallet. Coins at your own address sit in a different position, because moving them takes your signature or an on-chain approval you already granted.

A contract upgraded to malicious logic can use the allowance you gave its address, so old on-chain approvals are worth clearing. The wider picture is in what a cold wallet does and does not cover in DeFi.

Risk Where it happens What a cold wallet changes
Missing permission check Protocol contract Contract behavior stays the same
Stolen admin key Protocol team's key handling That key sits outside your wallet
Malicious upgrade Protocol proxy Revoked on-chain approvals limit what new logic can take from your address
Phishing request Your signing step A separate device adds a step to review before you sign
Seed phrase or key theft from an online device Your phone or computer Keys generated and stored offline stay off that device

How to Check Who Controls a DeFi Protocol

  1. Find the protocol's security or governance documentation, and note which accounts can upgrade, pause or move funds.
  2. Open the contract on a block explorer and check whether it is a proxy.
  3. Check whether one key or several signers hold admin rights.
  4. Look for a timelock on admin actions, and note the length of the delay.
  5. Compare the date of the latest audit with the date of the latest upgrade.

These answers show how much trust a deposit asks of you, and they leave room for undiscovered bugs.

Which Situation Matches Yours?

  • Long-term holdings with no DeFi use: keep coins at an address that has granted no approvals.
  • Lending or providing liquidity: size each deposit knowing it follows that protocol's admin rules, using this DeFi guide.
  • Old approvals still active: revoke the on-chain approvals you no longer use.
  • A protocol you use reports an exploit: follow its official channels and ignore links offering a claim or recovery page.

Where ELLIPAL Fits

Access control is set by each protocol, and a hardware wallet does not change those permissions. What an ELLIPAL hardware wallet changes is where your own keys live, because the private keys are generated and stored offline. The ELLIPAL Titan 2.0 is a cold wallet with no Bluetooth, no WiFi and no USB data connection. The Titan 2.0 signs through QR codes and shows the address and amount on its own screen. The ELLIPAL X Card is an NFC cold wallet with no battery and no port. The X Card signs with a tap to your phone. Different tools. Same mission.

ELLIPAL is a self-custody hardware wallet company. ELLIPAL does not hold your funds, give investment advice or guarantee returns. DeFi, swap and staking services are run by independent third parties, and availability varies by region, asset and provider.

FAQ

Does a DeFi exploit mean my hardware wallet was hacked?

A DeFi exploit usually targets a protocol's contracts or admin keys, and that leaves the private keys on your hardware wallet where they were. Funds you deposited can still be affected, because the protocol's contract held them. Review your on-chain approvals, and do not enter your seed phrase on any website.

Is an audit enough to rule out access control problems?

An audit is useful evidence about the code reviewed at that time. Ethereum.org notes that auditing and testing cannot catch every bug, and later upgrades can change the contract logic. Admin key handling may also sit outside the audit scope. Read the audit date, the scope and what changed afterward.

Does it cost anything to check a protocol or revoke approvals?

Reading contract details on a block explorer is free. Revoking an on-chain token approval is a transaction, so you pay the normal network fee on that chain. An off-chain permit signature shows up as an allowance only after someone submits it on-chain. Give those signing requests the same attention as a transfer.

If I lose my hardware wallet, can I still reach my DeFi positions?

DeFi positions are recorded on the blockchain against your address, and the device holds only the keys. Restore your seed phrase on a replacement wallet with the same account settings, then connect that address to the protocol. Your positions follow the address, and they remain subject to the protocol's rules and any withdrawal conditions.

About ELLIPAL

ELLIPAL has made self-custody hardware wallets since 2018, with more than 1 million users in 140+ countries. ELLIPAL wallets support 10,000+ tokens across 45+ chains.

Looking for a wallet that fits how you use DeFi? Explore the ELLIPAL Titan 2.0 or the ELLIPAL X Card.

Why people trust ELLIPAL
ZeroCold wallet breaches
1M+Users worldwide
140+Countries reached
$12BAssets protected
ForbesRecommended
8 yrsAir-gapped since 2018

Own it. Then use it.

Your keys, your crypto. Keep your Seed Phrase offline and the rest takes care of itself.

Explore ELLIPAL cold wallets

Security note: This article is educational and not financial advice. Device behaviour such as attempt limits may change with firmware; always confirm current details in the official ELLIPAL Help Center. Any swap, staking, or buy and sell features referenced elsewhere are provided through third parties, and ELLIPAL does not control those services.