California’s Ghost Gun Crackdown Collides With the First Amendment — and the EFF Is Drawing Battle Lines

California's AB 1223 would criminalize distributing 3D-printed gun design files, but the Electronic Frontier Foundation argues the bill is unconstitutional censorship of protected speech, setting up a legal clash over whether code is speech when it can produce lethal weapons.
California’s Ghost Gun Crackdown Collides With the First Amendment — and the EFF Is Drawing Battle Lines
Written by Maya Perez

California wants to ban the digital blueprints for 3D-printed firearms. The Electronic Frontier Foundation says that’s censorship. The collision between gun control ambitions and free speech protections is now heading toward a legal confrontation that could reshape how governments regulate dangerous information in the digital age.

On April 14, the EFF published a pointed analysis arguing that California Assembly Bill 1223 — a measure that would criminalize the distribution of computer-aided design files used to manufacture firearms and firearm components via 3D printers — violates the First Amendment. The bill, introduced by Assemblymember Reggie Jones-Sawyer, targets what lawmakers describe as a growing public safety threat: untraceable, homemade weapons produced outside the regulated firearms supply chain. But the EFF contends the legislation amounts to a prior restraint on speech, and a constitutionally impermissible one at that.

The stakes are enormous. Not just for gun policy or digital rights, but for the broader question of whether code is speech — and if so, how far that protection extends when the code in question can produce a lethal weapon.

The Bill and What It Would Actually Do

AB 1223 would make it a crime to “distribute, or offer to distribute” digital instructions — specifically CAD files and related technical data — that can be used to 3D-print a firearm, firearm receiver, or major firearm component. The bill targets online platforms and individuals alike, and it doesn’t require proof that anyone actually manufactured a weapon from the files. Distribution alone would be enough.

The legislation builds on California’s existing framework of ghost gun regulations, which already require serial numbers on homemade firearms and ban the sale of unserialized weapons. But AB 1223 goes further. Much further. It moves upstream from the physical object to the information itself.

As The Register reported, the EFF’s opposition centers on a simple but powerful argument: computer code, including CAD files, constitutes protected expression under the First Amendment. The organization points to decades of case law establishing that software code is a form of speech. Restricting its distribution, the EFF argues, triggers strict scrutiny — the highest standard of judicial review — and AB 1223 can’t survive that test.

The EFF isn’t alone in this reading. The question of whether code qualifies as speech was substantially addressed in the landmark Bernstein v. United States case in the 1990s, where the Ninth Circuit Court of Appeals held that encryption source code was protected expression. That precedent looms large here, particularly because California falls within the Ninth Circuit’s jurisdiction.

But supporters of the bill argue the analogy is imperfect. Encryption code doesn’t directly produce a physical weapon. A CAD file for a Glock-compatible frame does.

Jones-Sawyer and allied lawmakers have framed the legislation as a necessary response to a measurable threat. The Bureau of Alcohol, Tobacco, Firearms and Explosives reported a tenfold increase in ghost guns recovered at crime scenes between 2016 and 2021. California’s Department of Justice has flagged 3D-printed firearms as a growing concern in the state’s urban centers. Law enforcement agencies in Los Angeles and the Bay Area have seized hundreds of such weapons in recent years.

The political logic is straightforward: if you can’t regulate the guns themselves effectively because they’re made at home, regulate the instructions.

The constitutional logic is far less clear.

The EFF’s analysis, authored by senior staff, draws a direct line between AB 1223 and historical attempts to suppress technical information on national security grounds. The organization compares the bill to Cold War-era export controls on cryptographic software — restrictions that courts eventually found constitutionally suspect. The argument is that the government cannot criminalize the mere possession or sharing of information, even when that information could be used to cause harm.

This is not a novel claim. It echoes the long-running legal battle over Defense Distributed, the Texas-based organization founded by Cody Wilson that first published downloadable gun files in 2013. The State Department initially forced Wilson to remove the files under International Traffic in Arms Regulations (ITAR), treating them as a controlled defense export. Wilson sued, and after years of litigation, the Trump administration settled the case in 2018, effectively allowing the files’ publication.

Several states, including New Jersey, responded by pursuing their own restrictions. California’s AB 1223 represents the latest and most aggressive attempt at the state level.

The fundamental tension hasn’t changed. Information wants to be free, as the old internet axiom goes. But some information, when acted upon, kills people.

Why the EFF’s Position Is More Complicated Than It Appears

The EFF’s stance will strike some observers as absolutist. And in a sense, it is. The organization has consistently argued that restrictions on code distribution are restrictions on speech, full stop. But the EFF also acknowledges — carefully — that the government has legitimate interests in preventing gun violence. The question, as the organization frames it, isn’t whether the goal is valid but whether the means are constitutional.

That distinction matters.

Under strict scrutiny, the government must show that a law serves a compelling interest, is narrowly tailored to achieve that interest, and uses the least restrictive means available. The EFF argues AB 1223 fails on the second and third prongs. The bill is broad. It doesn’t distinguish between files shared with malicious intent and those distributed for research, education, or political advocacy. It doesn’t exempt gunsmiths, engineers, or academics. And it doesn’t account for the fact that much of the information it targets is already freely available on the open internet, on platforms hosted outside California’s jurisdiction.

There’s a practical problem too. Enforcement would be extraordinarily difficult. CAD files can be shared via encrypted messaging, peer-to-peer networks, decentralized platforms, and overseas servers. A California law criminalizing distribution would likely push the activity underground or out of state without meaningfully reducing access. The EFF makes this point explicitly: the bill would burden protected speech while doing little to achieve its stated objective.

Critics of the EFF’s position counter that the same argument could be used to oppose virtually any regulation of online content. Child exploitation material is also difficult to eradicate from the internet, yet no serious legal scholar argues that the difficulty of enforcement invalidates the laws against it. The question is whether 3D-printed gun files occupy a similar category of unprotected or less-protected speech — or whether they’re closer to political pamphlets and software code that courts have historically shielded.

The Supreme Court has never squarely addressed this question. And that’s what makes AB 1223 so significant. If the bill passes and is challenged — which the EFF all but promises — it could force appellate courts, and potentially the Supreme Court, to define the boundaries of code-as-speech doctrine in the context of weapons manufacturing.

The timing adds another layer. The current Supreme Court has shown a strong inclination toward expansive Second Amendment protections, as demonstrated in New York State Rifle & Pistol Association v. Bruen (2022). But it has also shown willingness to allow some firearms regulations that are consistent with historical tradition. How the Court would balance First Amendment speech protections against Second Amendment considerations — in a case where both are implicated — is genuinely uncertain.

Meanwhile, the technology keeps advancing. Consumer-grade 3D printers capable of producing functional firearm components now cost less than $300. Materials science has improved to the point where printed receivers can withstand hundreds of rounds. And the online communities dedicated to developing and refining these designs are sophisticated, global, and largely beyond the reach of any single state’s laws.

So California faces a dilemma. Do nothing, and the proliferation of untraceable weapons continues. Act aggressively, and you risk a constitutional challenge that could produce precedent making it harder for any state to regulate digital weapon files.

The EFF clearly believes the constitutional risk is real and that AB 1223 is the wrong approach. The organization has urged California lawmakers to focus on regulating the physical act of manufacturing unserialized firearms — something the state already does — rather than attempting to control the flow of information.

Whether that’s sufficient to address the public safety concern is a question lawmakers, courts, and voters will ultimately have to answer. But the EFF’s intervention ensures that the debate won’t be confined to gun policy circles. It’s now squarely a First Amendment fight.

And those fights, historically, don’t go the way regulators hope.

AB 1223 is currently working its way through committee in the California State Assembly. If it advances, expect litigation before the ink is dry. The EFF has made its position clear. Defense Distributed and allied organizations are watching closely. And the federal courts — already grappling with how to apply centuries-old constitutional principles to 21st-century technology — will once again be asked to decide where the line falls between dangerous speech and dangerous weapons.

No one said the answer would be easy. It won’t be.

Subscribe for Updates

ManufacturingPro Newsletter

Insights, strategies and trends for manufacturers.

By signing up for our newsletter you agree to receive content related to ientry.com / webpronews.com and our affiliate partners. For additional information refer to our terms of service.

Notice an error?

Help us improve our content by reporting any issues you find.

Get the WebProNews newsletter delivered to your inbox

Get the free daily newsletter read by decision makers

Subscribe
Advertise with Us

Ready to get started?

Get our media kit

Advertise with Us