Re: epoxy on AR gas block?
Epoxy under a gas block is not unheard of, though most of the time it's more typical to see Loctite. It's actually a regular thing for custom builds. If you see it, it's a good sign of a lazy builder. You see it a lot with out-of-spec gas blocks; typically cast gas blocks. The gas block is ever-so-slightly too big for the barrel, so they put in some kind of hardener to "fuse" it together and take up the space. Eventually the heat melts it and the block starts leaking. As stated above, it's a good sign of a shady build. If you have a gas block that doesn't fit, you either get a new gas block or you get a new barrel. You don't put stuff in there to fill the gap.
Another possibility is that the builder somehow thought it was a good idea to use an epoxy to create a better seal to increase reliability and gas tube pressure. I could see this being done by a builder who is heavily involved in 3-Gun, Steel Challenge or some other kind of action rifle competition.
I would normally recommend that people address problems like that with their builder, but in this case it's likely to just be screwed up again. I'd tell your friend to either do the work himself or find a new builder.