The mesh used for inguinal hernias has been safe for most patients with several decades of experience.
They remain inert but is intimately attached to the body with scar tissue. Very occasionally they can irritate the surrounding tissues or cause pain when too much scar tissue is incited. Theorized potential for increased infection has not been seen. It is safe.