The Anthropic Pentagon lawsuit produced its first final ruling on Thursday, when a federal judge in San Francisco declared the Defense Department’s “supply chain risk” label for the AI company unlawful and ordered it removed. U.S. District Judge Rita Lin found that the designation “constituted unlawful retaliation in violation of the First Amendment” and that Anthropic “was denied the pre-deprivation process required under the Fifth Amendment,” CNN reported.
The decision is a significant win for Anthropic, but it does not end the dispute. A second case is still pending in Washington, D.C., and the government can appeal Thursday’s ruling.
How the dispute started
The conflict began earlier this year, when Anthropic refused to remove safety guardrails that prevent its Claude models from being used for fully autonomous weapons and mass surveillance of Americans. The company argued that its models were not reliable enough for those uses. The Pentagon said it would only use the models for lawful purposes and accused Anthropic of trying to control how the military used software it had paid for, TechCrunch reported.
In February, Defense Secretary Pete Hegseth labelled Anthropic a supply chain risk. The designation meant that no part of the Pentagon, including its contractors, could work with Anthropic’s products. Until then it had been used only for companies seen as connected to foreign adversaries. Trump also ordered all federal agencies to stop using Claude. Anthropic sued in March in both California and Washington, D.C., and in March Judge Lin temporarily blocked the measures while the case continued.
What the judge found
A supply chain risk designation is a procurement tool. It lets the government exclude a supplier it believes could sabotage or compromise its systems. The Pentagon argued that it simply could not “trust” Anthropic. Lin rejected that reasoning. “The empty invocation of national security is not a blank check to punish and retaliate against government critics,” she wrote.
She said the evidence showed the department wanted to make a “public example out of Anthropic for its ‘arrogance’ in criticizing the government, not based on any articulable basis to believe that Anthropic would actually sabotage its model.” She also called the decision “arbitrary and capricious,” a legal standard for government actions that lack a reasoned basis.
Much of the ruling rests on the government’s own behaviour. Lin noted that other parts of the government kept meeting and working with Anthropic after the designation. According to TechCrunch, she pointed to Hegseth’s proposal to use the Defense Production Act on Anthropic, which “would mean the company was essential to national security rather than a threat to it,” to the department’s continued pursuit of a contract with the company, and to government work with Anthropic’s Mythos model on cybersecurity. She also found that Anthropic “undisputedly lacks” any backdoor access to its technology once it is handed to the military.
“None of that is consistent with a genuine fear that Anthropic is a saboteur who would poison its software to harm national security,” Lin wrote. In a June interview with Axios, Trump himself said that while he had previously seen Anthropic as a national security threat, he no longer did.
What the ruling does not decide
The judge did not say the military must buy Anthropic’s products. “Though the Department of War is undisputedly free to select the AI vendor of its choice, the evidence demonstrates that the broad measures imposed on Anthropic were illegal and baseless,” she wrote. The ruling is about how the government punished the company, not about whether it has to be a customer.
Anthropic’s second lawsuit over the supply chain risk label is still being considered by a court in Washington, D.C. Its outcome could limit how much Thursday’s win changes in practice.
“We welcome the court’s ruling that this supply chain risk designation was unlawful,” an Anthropic spokesperson said. “We remain focused on working productively with the government to harness AI for our national security so all Americans benefit from this technology.”
Why it matters for AI companies
The case is the clearest test so far of whether an AI developer can set limits on how governments use its models and still sell to them. Lin’s ruling suggests that a company can refuse certain uses and criticise government policy without being treated as a security threat for it. For other AI vendors that work with defense agencies, that is an important protection, especially as the government has been setting up its own AI safety review process.
For businesses buying AI, the dispute is a reminder that a vendor’s usage policies can become a political issue. Contracts with AI providers increasingly need to spell out which uses are allowed, and what happens if the vendor and the customer disagree.
Our take
The ruling is strong on facts: the government could not call Anthropic a saboteur while also seeking its contracts and using its models. But it settles less than the headlines suggest, because an appeal is possible and a second case is still pending. The deeper question remains open: who decides how an AI model may be used once it is sold, the developer or the customer? Courts can stop retaliation, but that question needs an answer from Congress and from clearer procurement rules.

