I have used black gasket making silicone and JB Weld. Both are a little messy. The jb weld surface has to have more prep and more attention to clean up.
I’ve never had a problem. BCM charging handles have a lip like the old gas busting charging handles. Those are what I’d go with. Also, depending on what you are shooting, delayed blowback systems can help.