Biden’s internal security nominee promises to tackle domestic extremism and avoid another attack on the Capitol