Understanding the Security Landscape of Proxy-based Smart Contract Upgrades Through the Lens of Transactions