In computing, the front end is the part of an application that runs in front of the user: web pages, mobile screens, forms and charts. It sends requests to the back end, which handles business logic and data, and presents the results. Building it is the field of front-end development, and its quality is judged largely through user experience.
For decentralized applications, the back end is often a set of smart contracts, while the front end is an ordinary website that reads the chain and asks a wallet such as MetaMask to sign transactions. This creates a weak point. If attackers take over the site’s DNS records, hosting or a third-party script, they can show a familiar page that asks users to approve transfers to the attacker, draining wallets even though the contracts themselves are safe. Several DeFi projects have suffered such front-end attacks, which resemble phishing. Checking each transaction in the wallet before signing is the main user-side defence.
Ref 1300000301