Yeah, aftermarket light assemblies are prone to leak between the lens and the housing because of less expensive manufacturing processes. Thats , in part, why OEM lamps are so darn expensive. They have to go through much more rigorous standards than just DOT. Id suggest getting a replacement LED unit and try again. If the second unit fails you can try to add sealer between the gasket and paint, gasket and housing, and a bead around the outside of the housing to lens joint.
I have aftermarket lamps all around on my truck. The headlamps seem to be working pretty well after 2 years. One of my marker lamps steams up occasionally. I put the bead around the joint and that helped for a while. I think one of the bulb gaskets is a little porous. I got fancy LED tail lamps 18 months ago. One of the lamps now leaks and holds water. Literally drilled a tiny drain hole in the bottom and it is working. How long, who knows. For my CHMSL, it is working well and no leaks going on 3 years. However, it is yellowing from the UV exposure. I siliconed that to the paint on install, just to avoid a potential issue.
So aftermarket lamps are a crap shoot. That has been my experience.