Kandy is pretty safe for travelers. The only thing you would need to worry about is tourist-related scams like overpaying for attractions, sights, and experiences. Always ask your hostel staff what to expect in terms of prices.