Cops knew of attempts to infiltrate media