Learn DeFi · Lesson 8 of 8

Security: protecting what you earn

Yield is only worth something if you keep the principal. Most DeFi losses come from a short list of causes, and each has a simple defense.

Phishing and fake sites

Scammers clone popular apps and buy ads above the real ones. Bookmark the apps you use, follow links from DefiLlama or the project's verified accounts, and treat any direct message offering help, airdrops or "wallet validation" as an attack.

Approvals

When you approve a token for a contract, that contract can move it until you revoke the approval. Approve exact amounts where possible, read what you sign, and clean up old approvals regularly. A hardware wallet makes you confirm every signature on a separate screen, which stops most drainers.

Protocol due diligence

  • Age and size: protocols that have held large deposits for years have survived real attacks.
  • Audits: useful, though many exploited protocols were audited too.
  • Admin powers: who can upgrade the contracts or pause withdrawals, and is there a delay?
  • Where the yield comes from: if you cannot explain it, you cannot judge it.

Spread the risk

No single protocol, chain or stablecoin should hold everything. Splitting deposits across a few established venues turns a catastrophic event into a survivable one.

Privacy

Everything you do on a public blockchain is visible. Keep your main holdings in an address that is not linked to your public identity, avoid posting addresses alongside your name, and be aware that some privacy tools face legal restrictions depending on where you live.

The goal is to still be here next cycle. Security habits are the cheapest edge in crypto.