Many senior officials in the Trump administration have been working from within to frustrate parts of the president's agenda to protect the US from his worst inclinations, an anonymous Trump official wrote in a New York Times column on Wednesday.