Decentralized finance security: A survey of attacks, defenses, and open challenges | Synapse