Hot glue is pretty much a low temp melting plastic. It should be as safe as any other plastic of unknwon origins. At coolish temps underwater nothing "should" happen. That being said if you can wait the curing time out, silicon is probably the better way to go.