The bill adds a new subsection to 18 U.S.C. §922 that makes it a federal crime to intentionally distribute, over the internet, computer-aided design (CAD) files or other code that can automatically program a 3D printer or similar device to produce a firearm or complete an unfinished frame or receiver. The prohibition focuses on the digital instructions that enable unlicensed individuals to manufacture firearms outside the regulated supply chain.
This proposal targets what policymakers call “ghost gun” proliferation and seeks to preserve firearms traceability and public safety by stopping the online flow of weaponizable design files. If enacted, the law would impose new compliance, moderation, and litigation exposure on online platforms, raise constitutional free-speech questions about code as protected expression, and create practical challenges for prosecutors and courts around definition, mens rea, and extraterritorial hosting.
At a Glance
What It Does
Adds subsection (aa) to 18 U.S.C. §922 to criminalize the intentional online distribution of CAD files or other code that can automatically program a 3D printer (or similar device) to produce a firearm or to finish an unfinished frame or receiver. The operative language targets distribution “over the internet or by means of the World Wide Web.”
Who It Affects
Online platforms and hosting providers that host user-generated 3D models, designers and hobbyists who publish CAD files, manufacturers of 3D printers and related software, federal and local law enforcement (including ATF), and organizations that archive or share technical data.
Why It Matters
This is one of the first federal attempts to treat weaponizable design files as contraband independent of the finished weapon; it imposes new legal obligations on digital intermediaries and forces courts to decide how constitutional protections for code square with public-safety goals.
More articles like this one.
A weekly email with all the latest developments on this topic.
What This Bill Actually Does
The bill’s operative change is short: it inserts a new subsection into the federal firearms prohibition framework that specifically names “Computer Aided Design files or other code” as unlawful to distribute online when the files can program a 3D printer to make a firearm or complete an unfinished frame or receiver. By placing the prohibition inside 18 U.S.C. §922, the drafters folded digital-instruction distribution into the existing architecture of federal firearms law rather than creating a freestanding statute.
The text uses the word “intentionally” as the culpable mental state for distribution, which matters for prosecution—prosecutors must prove the distributor acted with the purpose of distributing the file. But the bill does not define key terms—“computer aided design files,” “other code,” “automatically program,” or even precisely what counts as a firearm for this purpose—and it does not enumerate exceptions for research, academic publication, libraries, or law-enforcement sharing.
That leaves significant interpretive work for regulators and courts about scope and permissible activity.Practically, enforcement will implicate platforms in two ways: detection and cooperation. Platforms will face pressure to remove offending files and to monitor uploads, but the statute’s reach over private messaging, decentralized hosting, and foreign servers is unclear.
Technically adept actors can obfuscate, encrypt, or split files to evade detection; prosecutors will need to prove both that the code could produce a firearm and that the distributor intended that outcome. Finally, because the bill folds into §922, violations would be prosecuted under the broader federal firearms penalty structure unless courts or Congress specify otherwise—a point that affects charging decisions but does not answer constitutional challenges about regulating code and speech.
The Five Things You Need to Know
The bill adds a new subsection (aa) to 18 U.S.C. §922 specifically outlawing intentional online distribution of CAD files or other code that can program a 3D printer to produce a firearm or finish an unfinished frame or receiver.
The operative mental state is “intentionally distribute,” meaning prosecutors must prove purposeful dissemination rather than mere negligence or accidental posting.
The prohibition targets both creation of a firearm and completion of an unfinished frame/receiver—bringing design files used to finish so-called ‘80%’ or unfinished receivers squarely within the text.
The bill does not define critical technical terms (for example, “other code,” “automatically program,” or the contours of a covered ‘similar device’), leaving courts to interpret scope and edge cases.
The statutory text sets the prohibition inside §922 but does not create a separate penalty provision; enforcement would operate through the existing federal firearms penalty framework unless amended elsewhere.
Section-by-Section Breakdown
Every bill we cover gets an analysis of its key sections.
Short title
Officially names the measure the “3D Printed Gun Safety Act of 2025.” This is purely stylistic but signals the bill’s focus for regulators, enforcement agencies, and stakeholders reviewing legislative intent.
Findings
The findings catalog technological trends—3D printing’s role in producing firearms, risks to security screening (plastic parts evading metal detectors), and harms from untraceable weapons—and cite tracing statistics to justify federal intervention. While non-operative, these findings will be used by courts and agencies to interpret legislative purpose if disputes arise over vagueness or constitutionality.
Prohibits online distribution of weaponizable 3D-printing code
This is the operative provision: it inserts subsection (aa) into §922 to criminalize intentional distribution of CAD files or other code that can program 3D printers to produce firearms or complete unfinished frames/receivers. Mechanically, the amendment treats design files as the illegal instrument rather than the finished firearm alone. Practically, this pulls digital intermediaries into the firearms enforcement ecosystem and creates prosecutorial questions about proof of capability, intent, and whether existing §924 penalties apply. The provision’s lack of carve-outs or definitions will force courts to decide narrowness, permissible academic uses, and extraterritorial application.
This bill is one of many.
Codify tracks hundreds of bills on Criminal Justice across all five countries.
Explore Criminal Justice in Codify Search →Who Benefits and Who Bears the Cost
Every bill creates winners and losers. Here's who stands to gain and who bears the cost.
Who Benefits
- Federal and local law enforcement (including ATF): Gains a statutory basis to target the upstream distribution of weaponizable designs, potentially reducing the flow of untraceable firearms and aiding traceability efforts.
- Commercial firearm manufacturers and dealers: Faces less competition from unregulated ghost guns and may benefit from preserved serial-number-based tracing and market integrity.
- Transportation and public-safety entities (airlines, schools, event venues): Stands to reduce the risk of undetectable plastic firearms passing security checkpoints if the law reduces online availability of weaponizable files.
Who Bears the Cost
- Online platforms and hosting providers: Must decide whether to police uploads for prohibited code, creating compliance, moderation, and potential liability burdens; automated detection of code will be technically difficult and error-prone.
- Open-source designers, researchers, and academic institutions: Face increased legal risk for publishing dual-use CAD files or code and may curtail legitimate research and instruction out of caution.
- Small 3D-printing businesses and hobbyists: Risk criminal exposure or restricted access to design repositories; community innovation and supply chains for lawful products could be chilled.
Key Issues
The Core Tension
The bill pits two legitimate goals against one another: preventing the spread of untraceable, potentially undetectable firearms and preserving constitutional protections for code, speech, and scientific inquiry. Narrowly stopping dangerous designs without chilling legitimate technical expression or driving harmful content underground is the central, unresolved dilemma.
The bill targets a real problem—weaponizable CAD files circulating online—but it leaves open how to draw practical, enforceable lines. Key gaps include undefined technical terms and no statutory safe harbors for research, preservation, or legitimate industrial design.
That vagueness will produce litigation: defendants will argue over whether particular files “automatically program” a device or merely describe a concept, and platforms will litigate obligations to police private messages, ephemeral links, or off‑shore hosting. Technically, malicious actors can split, encrypt, or alter code to evade automated filters, pushing distribution into decentralized or encrypted channels where enforcement is costly or impossible.
Constitutional risk is central. Courts have repeatedly treated code and algorithms as expressive in contexts where meaning and function overlap; this statute criminalizes functional code with expressive elements.
Any enforcement regime will need to show that the statute is narrowly tailored to a compelling interest—public safety—without unnecessarily sweeping in protected speech. Finally, the bill’s practical reliance on existing firearms penalties and on platform cooperation creates resource and procedural questions for prosecutors, state-federal coordination, and civil-rights enforcement mechanisms that the text does not address.
Try it yourself.
Ask a question in plain English, or pick a topic below. Results in seconds.