Anthropic has filed a lawsuit against the US Department of Defense to contest its designation as a national security supply-chain risk, claiming it violates free speech and due process rights.