{"repo":"AmirhosseinHonardoust/Token-Tax-Abuse-Science","free":true,"listed":false,"github":"https://github.com/AmirhosseinHonardoust/Token-Tax-Abuse-Science","clone":"git clone https://github.com/AmirhosseinHonardoust/Token-Tax-Abuse-Science.git","description":"A deep technical exploration of how malicious smart-contract developers weaponize fee logic in ERC-20 tokens. Covers dynamic tax flipping, hidden sell traps, fee obfuscation, whitelist-based bypasses, liquidity-drain funnels, attack timelines, forensic analysis, mathematical modeling, and ML-powered detection strategies for tax abuse.","language":null,"stars":15,"topics":["blockchain-security","contract-analysis","cybersecurity","defi-security","ethereum","honeypot-detection","machine-learning","risk-scoring","rugpull-detection","security-research"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"The Science of Token Tax Abuse How Dangerous Developers Weaponize Fee Logic in Smart Contracts A full-stack deep dive into how fee logic is implemented, abused, hidden, detected, and modeled with machine learning in modern ERC-20 style tokens. --- Table of Contents 1. Introduction 2. Background: How Token Fees Work - Legitimate Use-Cases for Fees - Where Fees Live in the Contract 3. Execution Flow of Fee Logic - Deep Dive: transfer Logic - How DEX Routers Interact With Fees - Mermaid Diagram: Token Transfer Pipeline 4. Tax Abuse: Formal Definition 5. Attack Taxonomy: Types of Tax Abuse - 1. Dynamic Tax Flipping - 2. Hidden Sell-Only Taxes - 3. Whitelist-Backed Fee Bypass - 4. Max-Tx + Fee Bomb Combo - 5. Time- or Block-Based Tax Traps - 6. Liquidity-Drain Tax Funnels - 7. Reflection-Style Obfuscation 6. Solidity Deep Dive: How Attackers Implement Tax Abuse - Abusive Fee Variables & Functions - Hiding Logic in Modifiers - Nested Internal Calls & Obfuscation Tricks 7. Attack Timelines: From Launch to Rug - Timeline Diagram (Mermaid) 8. Mathematics of Tax Abuse - Per-Trade Loss Model - Expected Loss Over Multiple Sells - Liquidity Drain Modeling 9. Defensive Engineering: Manual Audit Checklist 10. Machine Learning for Tax Abuse Detection - Feature Engineering - Model Architecture - From Probability to Risk Score - Explainability (SHAP) for Fee Logic - Mermaid Diagram: ML Detection Pipeline 11. Behavioral & On-Chain Signals 12. Putting It All Together 13. Conclusion --- Introduct","default_branch":null,"files":null,"tree":[],"storefront":"/r/AmirhosseinHonardoust","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/AmirhosseinHonardoust/Token-Tax-Abuse-Science/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}