Such a device is a more toxic and acidic alternative to a dry ice bomb, but likewise typically made by young people for amusement and recreational use rather than with any intent to harm.
This type of device is a more dangerous and corrosive alternative to a dry ice bomb, yet it's usually created by teenagers for entertainment and recreation rather than malicious intent.