The way it’s likely done: The DOJ will just tell someone that they know, who will then leak it to the NYTimes. See, they themselves didn’t leak it to The NY Times.
Like when Comey gave his memos to a person that he knew would leak to The NY Times. One person separated from the leak.