Any power supply product sold in North America needs to be certified to certain standards to be safely used without special inspectionintervention: UL 60950 for non-medical stuff in the USA, CSA C22.2 for Canada - the standards are largely similar and certification usually happens for both markets simultaneously. There should be some agency marks - a UL mark or an NRTL-equivalent.
Safety agencies can be called on to do a field evaluation of a single piece of equipment, against a lower standard than a usual certification. You're on the hook to pay for it yourself, so judge accordingly - it's likely much cheaper to get an approved power supply than pay for an evaluation.
If you're using a product without marks or a field evaluation, you're using it at your own risk. Don't expect any payout from your insurance if your house burns down because of your enclosure power supply unless you get a special inspection done from a qualified agency in your jurisdiction.