They are possibly illegal under DMCA, with criminal penalties up to five imprisonment. Sharing it would also be illegal. This is something free software and hardware activists have been ringing alarm bells about for decades.
DMCA:
1201(a)(1) Circumventing technological measures that control access to copyrighted works.
§ 1201(a)(2) Providing or distributing technology that circumvents those access controls.
§ 1201(b)(1) Providing or distributing technology that circumvents copyright protection measures.
Under 17 U.S.C. § 1204, first time offenders are subject to up to $500,000 fine and 5 years in prison.
Look up Matthew Crippen and Gary Bowser. Matthew got away with cracking console firmware only because the USA government dropped the case. Gary didn't and I believe is still serving out his 40 month prison sentence for making Nintendo mod chips.
To get a criminal conviction the government needs to demonstrate you did it for "purposes of commercial advantage or private financial gain." So, maybe you'd be ok, unless you had donations enabled on another project on your GitHub and the government successfully argued you were using the project to draw more attention to your other FOSS work, for example.
DMCA:
1201(a)(1) Circumventing technological measures that control access to copyrighted works.
§ 1201(a)(2) Providing or distributing technology that circumvents those access controls.
§ 1201(b)(1) Providing or distributing technology that circumvents copyright protection measures.
Under 17 U.S.C. § 1204, first time offenders are subject to up to $500,000 fine and 5 years in prison.
Look up Matthew Crippen and Gary Bowser. Matthew got away with cracking console firmware only because the USA government dropped the case. Gary didn't and I believe is still serving out his 40 month prison sentence for making Nintendo mod chips.
To get a criminal conviction the government needs to demonstrate you did it for "purposes of commercial advantage or private financial gain." So, maybe you'd be ok, unless you had donations enabled on another project on your GitHub and the government successfully argued you were using the project to draw more attention to your other FOSS work, for example.
https://www.law.cornell.edu/uscode/text/17/1204