As Democrats prepare to take over Congress in January, some of their members have turned to Elon Musk’s federal business, which raises a narrower legal question than whether agencies could end his deals. Can Congress ban a contractor by writing its name into a statute? It has done so at least twice in the past decade, against Russia’s Kaspersky Lab and against China’s Huawei and ZTE, and a federal appeals court upheld the Kaspersky ban when the company challenged it.
Where it stands: No Musk-specific contractor ban is law, and Democrats gain control of committees and the floor only when the new Congress convenes in January. As of Nov. 5, the Associated Press counted 54 Democratic senators to 44 Republicans, with two races uncalled. That is a majority, but short of the 60 votes needed to cut off a filibuster and well short of a veto-proof Senate.
Can Congress ban a contractor by name?
Yes, and the clearest example is in a defense bill. Section 1634 of the fiscal 2018 defense authorization act (Public Law 115-91), approved December 12, 2017, says no part of the federal government may use “any hardware, software, or services developed or provided, in whole or in part, by” Kaspersky Lab, any successor entity, or companies it controls or is controlled by. The ban took effect on October 1, 2018.
A year later Congress went further. Section 889 of the FY2019 defense law, as carried into the Federal Acquisition Regulation, bars agency heads from buying or renewing contracts for systems that rely on “covered telecommunications equipment or services,” a category the rule defines to include gear made by “Huawei Technologies Company or ZTE Corporation.” The first part of that ban applied from August 13, 2019.
| Law | Company named | What it barred | Court test |
|---|---|---|---|
| FY2018 NDAA, Section 1634 (Public Law 115-91) | Kaspersky Lab and its affiliates | Any federal use of its hardware, software or services, from Oct. 1, 2018 | Upheld by the D.C. Circuit against an attainder claim |
| FY2019 NDAA, Section 889 (Public Law 115-232) | Huawei, ZTE and others | Agency purchases of covered telecom equipment, from Aug. 13, 2019 | Not addressed in the sources cited here |
| Annual spending limitation | Any program or purpose | Use of a year’s funds for a stated purpose | Depends on the wording |
Both laws share a feature. They target foreign companies, and Congress paired them with national-security reasons: the risk that a foreign government could reach into federal networks through the vendor’s products. The Kaspersky court leaned on that rationale.
Did the Kaspersky ban survive a court challenge?
Yes. Kaspersky sued, arguing that the ban was “an impermissible legislative punishment—what the Constitution calls a bill of attainder.” The government answered that it was “not a punishment but a prophylaxis necessary to protect federal computer systems from Russian cyber-threats.”
The federal appeals court in Washington, the D.C. Circuit, sided with the government in an opinion decided November 30, 2018, concluding that “Kaspersky’s complaint fails to plausibly allege that section 1634 is a bill of attainder.” Circuit Judge Tatel, writing for the panel, described the law as having “the earmarks of a rather conventional response” to a security risk. He also stressed its limits: “the government discontinued only its own use of Kaspersky products; all other individuals and companies in the universe of potential clients remain free to buy and use Kaspersky products as they please.”
The court did not decide one threshold question. It wrote that it had “previously assumed without deciding” that the Bill of Attainder Clause protects corporations at all.
Would a Musk-specific rider be a bill of attainder?
No court has addressed that, and the answer would turn on how a rider was written and justified. The Constitution says simply: “No Bill of Attainder or ex post facto Law shall be passed.”
The Congressional Research Service explains the Supreme Court’s test this way: a law is a bill of attainder “if it both (1) applies with specificity and (2) imposes punishment without trial.” Naming a company would meet the first prong; CRS says a law that “singles out one or more individuals by name satisfies the specificity requirement.” But CRS adds that “Specificity standing alone is never sufficient to support a finding that a law is a bill of attainder.” The fight would be over punishment.
On corporations, CRS reports that while the Supreme Court has not decided whether the clause protects entities such as companies, “several lower federal courts have either held or assumed that it does.” It also notes that court rulings striking down laws on this ground “are relatively rare.”
CRS’s guidance to members is that Congress could lower the risk by making sure a measure “reasonably serves a nonpunitive purpose” and that its text and legislative history “do not reflect an intent to punish.” That is the needle any Musk-related rider would have to thread. Under that framework, statements by members aimed at Musk personally could become part of the record, and CRS cautions that the result of any such challenge “would depend on the specific facts of the case.”
📨 Get Free Accountability Coverage Alerts
Free · No spam · Unsubscribe anytime
What would a Musk contractor ban need to pass?
Majorities in both chambers, 60 votes to clear a Senate filibuster, and either Trump’s signature or two-thirds of each chamber to override his veto. In a CBS News interview on Election Day, Trump embraced the label “Mr. Veto.” The chamber-by-chamber arithmetic is in our veto-math breakdown for the new Congress.
A rider in an annual spending bill is a different tool from a permanent ban. CRS describes a limitation as a restriction on spending, made “either by setting a spending ceiling, or by prohibiting the use of funds for a specified purpose(s).” It lasts only as long as the money it governs, and it would still need Trump’s signature on the larger bill.
A ban would also not erase obligations already owed. If an agency ended a contract to comply, the FAR’s settlement rule would apply: payment for completed work and preparations, “including a reasonable allowance for profit.” The awards a rider could reach, and what each is worth, are in our list of Musk’s federal contracts.
Are there ways to bar a contractor without a new law?
Yes, but they belong to the executive branch. SpaceX’s own prospectus lists the government’s power to “declare us ineligible to receive new contracts” and to terminate existing ones for convenience. Suspension and debarment officials inside agencies hold separate authority to exclude vendors; the Kaspersky section itself ordered a review of “the authorities of a suspension and debarment official” to keep suspect products off federal networks. Those powers sit with agencies that answer to Trump, which is why the levers Democrats actually hold lean on funding and oversight.
The Kaspersky case ended at the D.C. Circuit on November 30, 2018, when the court affirmed dismissal of the company’s attainder claim, two months after the ban took effect.
Frequently Asked Questions
Has Congress banned companies by name before?
Yes. The FY2018 defense authorization law barred federal use of Kaspersky Lab products from Oct. 1, 2018, and the FY2019 law barred agencies from buying covered telecom equipment from Huawei and ZTE.
What is a bill of attainder?
A law that singles out a person or group and punishes them without a trial. The Constitution forbids Congress to pass one. Courts ask whether a law is specific and whether it imposes punishment.
Did a court strike down the Kaspersky ban?
No. The D.C. Circuit ruled in November 2018 that Kaspersky had not plausibly alleged the ban was a bill of attainder, accepting the government’s view that it protected federal networks rather than punishing the company.
Could Congress ban SpaceX from federal contracts?
It could try, but a bill would need to pass both chambers, clear a Senate filibuster and survive Trump’s veto. A named ban could also face a bill of attainder challenge, and CRS says the outcome would depend on the facts.
Who can debar a federal contractor?
Agency suspension and debarment officials in the executive branch, not Congress. Agencies can also declare a company ineligible for new awards or terminate contracts for convenience.
Sources
- Public Law 115-91: National Defense Authorization Act for Fiscal Year 2018 — U.S. Government Publishing Office (GovInfo), approved December 12, 2017
- FAR 52.204-25: Prohibition on Contracting for Certain Telecommunications and Video Surveillance Services or Equipment — Acquisition.gov (Federal Acquisition Regulation), current text, accessed November 5, 2026
- Kaspersky Lab, Inc. v. U.S. Department of Homeland Security, No. 18-5176 — U.S. Court of Appeals for the D.C. Circuit, decided November 30, 2018
- Capitol Unrest, Legislative Response, and the Bill of Attainder Clause (LSB10567) — Congressional Research Service, January 22, 2021
- The Constitution of the United States: A Transcription — National Archives, accessed November 5, 2026
- Earmarks and Limitations in Appropriations Bills (98-518) — Congressional Research Service (via EveryCRSReport), December 7, 2004
- FAR Part 49: Termination of Contracts — Acquisition.gov (Federal Acquisition Regulation), current text, accessed November 5, 2026
- About Filibusters and Cloture — U.S. Senate, accessed November 5, 2026
- Midterms 2026 election results and latest updates — Yahoo News (citing the Associated Press), November 5, 2026
- Trump says he is prepared to use “tremendous powers” if Democrats take control — CBS News, November 3, 2026
- Space Exploration Technologies Corp. final prospectus (Form 424B4) — SpaceX filing, U.S. Securities and Exchange Commission, June 12, 2026
This article is news reporting and analysis based on the public sources listed above, as they stood on the dates shown. Where officials, lawmakers or analysts disagree, including on whether an action is lawful, their positions are attributed to them; Donald Trump Class Action is not a court and nothing here is legal advice. Facts in a developing story can change.