Zokyo Auditing Tutorials
search
Ctrlk
  • 🔐Zokyo Auditing Tutorials
  • 📚Tutorials
    • 🏃Tutorial 1: Front-Runningchevron-right
    • 🧱Tutorial 2: Unsafe Castingchevron-right
    • 👍Tutorial 3: Approvals and Safe Approvalschevron-right
    • ⛓️Tutorial 4: Block.chainid, DOMAIN_SEPARATOR and EIP-2612 permitchevron-right
  • 💰Tutorial 5: Fee-On-Transfer Tokenschevron-right
  • 🌴Tutorial 6: Merkle Treeschevron-right
  • 🌳Tutorial 7: Merkle-Patricia Treeschevron-right
  • 🔁Tutorial 8: Reentrancychevron-right
  • 🔂Tutorial 9: Read-Only Reentrancychevron-right
  • 🚆Tutorial 10: ERC20 transfer() and safeTransfer()chevron-right
  • 📞Tutorial 11: Low level .call(), .transfer() and .send()chevron-right
  • ☎️Tutorial 12: Delegatecall Vulnerabilities in Precompiled Contractschevron-right
  • 🌊Tutorial 13: Liquid Stakingchevron-right
  • 🚿Tutorial 14: Slippagechevron-right
    • 🚀Prerequisites
    • 📘Understanding Slippage in Automated Market Makers (AMMs)
    • 💀Understanding the "Lack of Slippage Check" Vulnerability in Automated Market Makers (AMMs) and DEXs
    • 😡On-Chain Slippage Calculations Vulnerability
    • 📛0 slippage tolerance vulnerability
    • 👓Real World Examples
    • 🏦Resource bank to more slippage vulnerabilities
    • 🤝Slippage Conclusion
  • 📉Tutorial 15: Oracleschevron-right
  • 🧠Tutorial 16: Zero Knowledge (ZK)chevron-right
  • 🤝Tutorial 17 DEX's (Decentralized Exchanges)chevron-right
  • 🤖Tutorial 18: Proxieschevron-right
  • 🔞Tutorial 19: 18 Decimal Assumptionchevron-right
  • ➗Tutorial 20: Arithmeticchevron-right
  • 🔁Tutorial 21: Unbounded Loopschevron-right
  • 📔Tutorial 22: `isContract`chevron-right
  • 💵Tutorial 23: Stakingchevron-right
  • ⛓️Tutorial 24: Chain Re-org Vulnerabilitychevron-right
  • 🌉Tutorial 25: Cross Chain Bridges Vulnerabilitieschevron-right
  • 🚰Tutorial 26: Integer Underflow and Overflow Vulnerabilities in Solidity (Before 0.8.0)chevron-right
  • 🥏Tutorial 27: OpenZeppelin Vulnerabilitieschevron-right
  • 🖊️Tutorial 28: Signature Vulnerabilities / Replayschevron-right
  • 🤝Tutorial 29: Solmate Vulnerabilitieschevron-right
  • 🧱Tutorial 30: Inconsistent block lengths across chainschevron-right
  • 💉Tutorial 31: NFT JSON and XSS injectionchevron-right
  • 🍃Tutorial 32: Merkle Leafschevron-right
  • 0️Tutorial 33: Layer 0chevron-right
  • ♻️Tutorial 34: Forgetting to Update the Global State in Smart Contracts
  • ‼️Tutorial 35: Wrong Function Signature
  • 🛑Tutorial 36: Handling Edge Cases of Banned Addresses in DeFi
  • flag-checkeredTutorial 37: initializer and onlyInitializing
  • ➗Tutorial 38: Eigen Layerchevron-right
  • ⚫Tutorial 39: Wormholechevron-right
  • 💼Tutorial 40: Uniswap V3chevron-right
  • 🔢Tutorial 41: Multiple Token Addresses in Proxied Tokenschevron-right
  • 🤖Tutorial 42: abiDecoder v2chevron-right
  • ❓Tutorial 43: On-Chain Randomnesschevron-right
  • 😖Tutorial 44: Weird ERC20 Tokenschevron-right
  • 🔨Tutorial 45: Hardcoded stable coin values
  • ❤️Tutorial 46: The Risks of Chainlink Heartbeat Discrepancies in Smart Contracts
  • 👣Tutorial 47: The Risk of Forgetting a Withdrawal Mechanism in Smart Contracts
  • 💻Tutorial 48: Governance and Votingchevron-right
  • 📕Tutorial 49: Not Conforming To EIP standardschevron-right
  • ⏳Tutorial 50: Vestingchevron-right
  • ⛽Tutorial 51: Ethereum's 63/64 Gas Rulechevron-right
  • 📩Tutorial 52: NPM Dependency Confusion and Unclaimed Packageschevron-right
  • 🎈Tutorial 53: Airdropschevron-right
  • 🎯Tutorial 54: Precisionchevron-right
  • equalsTutorial 55: AssetIn == AssetOut, FromToken == ToTokenchevron-right
  • 🚿Tutorial 56: Vulnerabilities Related to LP Tokens Being the Same as Reward Tokenschevron-right
  • shuffleTutorial 57: Unsanitized SWAP Paths and Arbitrary Contract Call Vulnerabilitieschevron-right
  • thumbs-upTutorial 58: The Risk of Infinite Approvals and Arbitrary Contract Callschevron-right
  • phone-flipTutorial 59: Low-Level Calls in Solidity Returning True for Non-Existent Contractschevron-right
  • 0️⃣Tutorial 60: The Impact of PUSH0 and the Shanghai Hardfork on Cross-Chain Deployments > 0.8.20chevron-right
  • 🐍Tutorial 61: Vyper Vulnerable Versionschevron-right
  • ⌨️Tutorial 62: Typos in Smart Contracts — The Silent Threat Leading to Interface Mismatchchevron-right
  • ☁️Tutorial 63: Balance Check Using ==chevron-right
  • 💍Tutorial 64: Equal Royalties for Unequal NFTschevron-right
  • 🖼️Tutorial 65: ERC721 and NFTschevron-right
  • 2️⃣Tutorial 66: Vulnerability Arising from NFTs Supporting Both ERC721 and ERC1155 Standards
  • 📷Tutorial 67: ERC1155 Vulnerabilitieschevron-right
  • 🪟Informational Vulnerabilities
  • ⛽Gas Efficiency
  • 💻Automation Tools
  • 🔜Out Of Gas (Coming Soon)
  • 🔜DEX Aggregators (Coming Soon)
  • 🔜Bribes (Coming Soon)
  • 🔜Understanding Compiled Bytecode (coming soon)
  • 🔜Deployment Mistakes (coming soon)
  • 🔜Optimistic Roll-ups (coming soon)
  • 🔜Typos (coming soon)
  • 🔜Try-Catch (coming soon)
  • 🔜NFT Market-place (coming soon)
  • 🔜Upgrade-able Contracts (coming soon)
gitbookPowered by GitBook
block-quoteOn this pagechevron-down
  1. 🚿Tutorial 14: Slippage

🏦Resource bank to more slippage vulnerabilities

This page is a open resource where any examples of slippage bugs found in bug bounties, audit reports or live attacks are to be added here.

circle-info

Book an audit with Zokyoarrow-up-right

hashtag
Links

LogoRekt - Jimbo's Protocol - REKTrektchevron-right
LogoUniswapHelper.buyFlanAndBurn is a subject to sandwich attacks · Issue #230 · code-423n4/2022-01-behodler-findingsGitHubchevron-right
LogoSlippage checks when adding liquidity are too strict · Issue #257 · code-423n4/2021-11-malt-findingsGitHubchevron-right
Logo`addLiquidity` Does Not Reset Approval If Not All Tokens Were Added To Liquidity Pool · Issue #228 · code-423n4/2021-11-malt-findingsGitHubchevron-right
LogoFrontrunning in UniswapHandler calls to UniswapV2Router · Issue #219 · code-423n4/2021-11-malt-findingsGitHubchevron-right
Logo`mintSynth()` and `burnSynth()` can be front run · Issue #209 · code-423n4/2021-11-vader-findingsGitHubchevron-right
LogoMinting and burning synths exposes users to unlimited slippage · Issue #2 · code-423n4/2021-11-vader-findingsGitHubchevron-right
LogoregerralFeePool is vulnerable to MEV searcher · Issue #62 · code-423n4/2021-10-mochi-findingsGitHubchevron-right
LogoMissing slippage checks · Issue #171 · code-423n4/2021-07-spartan-findingsGitHubchevron-right
PreviousReal World Exampleschevron-leftNextSlippage Conclusionchevron-right

Last updated 2 years ago