I don't think UASF can be categorically labeled an attack. Otherwise it would mean that miners largely control bitcoin- they alone get to determine whether or not a soft fork is done, despite only being a subset of stakeholders in the Bitcoin ecosystem. The possibility for a UASF spreads out that control and puts a check on miner incentives.