start	end	text
0	1340	This is gonna be super fun.
1340	3060	Luckily, all my slides were just memes.
4220	6160	So, it's not true.
6500	8140	There's a whole bunch of links in the slides.
8200	12160	So, I'm gonna start talking while we try and figure this out.
12940	14340	So, my name is Jordan Casper.
14340	17200	This is the state of open source in the federal government.
17200	18820	I don't know why you're all here.
18820	22620	This is way too many people to be interested in open source and the federal government.
25300	29600	I'm an odd Schrodinger cat of an employee because I'm both employed and not employed.
29600	38440	I technically received a paycheck from the Department of Homeland Security, but I am technically leaving, so I'm not actively there.
38960	41540	For those of you following the news, I took a deferred resignation.
41540	44360	And that's important because these are all my opinions.
44360	49160	This is not the opinion of the Department of Homeland Security, my current employer, or any other federal agency.
50180	53360	You might be asking why I'm up here.
53360	57920	Obviously, you know now that I am, or was, or maybe still am a federal employee.
57920	61440	But more so than that, I'm actually an open source contributor and maintainer.
61700	66800	I've been maintaining, or contributing to, and maintaining open source since around 2008.
66800	69840	My first contribution was to the jQuery project.
69860	72300	Woo, jQuery, still in use, don't know why.
73500	76020	Fixed a couple bugs, you know, submitted some stuff.
76020	77980	But I also maintain a number of libraries and whatnot.
77980	87540	And so this talk is coming to you not just from someone in the federal space, but also someone that, you know, actively maintains open source software on a very regular basis.
87540	92060	But of course, what you're probably here for is because of its relationship with the federal government.
92060	97560	And to that end, starting in 2017, I worked for the Department of Defense through the U.S.
97560	98640	Digital Service.
98860	105000	I helped write the open source policy that is currently the policy there.
105000	107840	I was signed out in 2022 by the DOD CIO.
108020	111380	I wrote that policy in 2019.
111380	113800	It got signed out in 2022.
114460	126660	And then in 2022, I joined the Department of Homeland Security, where I wrote the current DHS open source policy, 142-04, if you care, and that got signed out in 2023.
126800	136920	And then I wrote a whole bunch of open source guidance, which has yet to clear the Office of Public Affairs, and this has not been published, but hopefully it will sometime soon, maybe when I go to my next federal position.
137020	138000	So what are we talking about?
138000	141120	We're gonna talk about why open source, why it's good, why we wanna do that, right?
141500	146720	And then we're gonna talk about the challenges that the federal government faces specifically.
146760	150840	We're gonna talk about the current policy, talk about what it says, what it does for us.
150840	158040	We'll talk about the reality, what's actually happening across some of the other federal agencies, not just DOD and DHS, but others.
158200	164320	And then I wanna end up with the possibilities, what we should be doing, what we could be doing, how we could be doing things better.
165860	168600	So to start with, why open source?
168600	170580	And you can't see the slide, but it's super funny.
170580	173360	If you're on your phones, I would appreciate you laughing.
173940	177180	It says open source is good, and it says the citation is needed.
177180	187800	And the reason that we say open source is good, and I'm guessing because of the crowd here, because of what's going on out there, none of you are really arguing with the fact that open source is a good thing.
187880	197400	Unfortunately, that is an argument that we have to have constantly within the federal government, that open source is in fact a net good, that it is in fact something that we want to be doing.
197660	211340	And so I'm gonna talk a little bit about what that argument is, and then we'll talk a little bit about why the federal government, and specifically certain federal employees, and I'm not looking at anyone in particular, a colleague of mine, he's actually one of the good ones,
211340	214260	but why sometimes they push against that, right?
214600	218600	So the first reason that we say it's good is reusability.
218680	220500	And I think that's the obvious one, right?
220500	223600	You write it once, you use it multiple times, reusability, great.
223600	225080	But it goes beyond just that, right?
225080	230040	It's not just the reusability, because reusability is kind of the underpinning of all of the other pieces.
230040	235680	So those other pieces, things like collaboration and contribution, being able to have that group mindset, right?
235800	241800	Where everyone is thinking and contributing to something to make it better.
241980	246820	And when you talk about that collaboration and that contribution, that brings up the next part, which is security.
247420	258640	And I know we're here at DEF CON, and it might be, you know, some people might think otherwise, but open source, in my opinion, is more secure than closed source, by far.
258960	260640	And there's a lot of different reasons for that.
260640	262740	Part of that is that group think, right?
262740	267680	If I put it out there, this is not necessarily what the government says and thinks.
267680	270220	And so I'm gonna talk about that in just a minute when we get to the challenges.
270420	272560	But I believe that open source is more secure.
272560	273960	You're able to see those bugs.
273960	275080	Closed source, guess what?
275080	276000	The bugs are still there.
276260	279080	It's just that no one's finding them and no one's fixing them.
279240	280420	That's what happens.
281880	284440	Transparency, right now we talk about transparency.
284440	296980	I'm talking about transparency not in a government transparency way, but in a transparency of what is happening, how it's being developed, not just the code itself, but what the velocity looks like, what the roadmap looks like.
297080	299000	You know, open source is more than just the code.
299040	300380	It's also the process.
300420	301280	Do you have tests?
301280	302640	Do you have a CI pipeline?
302640	306740	Do you have security scans going on in that pipeline?
306740	307520	All these other things.
307520	310260	So that transparency is, I think, really, really important.
311320	312720	And the last one is cost.
312720	316560	And if you're looking at the slides, you'll see that cost has a big asterisk next to it.
317140	320980	Because we like to think of open source as FOSS, free and open source.
321840	323580	But it's not all free and open source, right?
323580	325540	There is actually cost open source.
325540	326120	And that's fine.
326120	328400	I'm not gonna argue that point.
328500	334640	But the reason that there's an asterisk next to cost is because the total cost of ownership of using open source is not zero.
335380	336560	I think you all know this.
336560	340960	I don't think I'm saying anything revolutionary here, but it's important that we say it out loud.
340960	344740	The government oftentimes does not think of it that way.
344860	352160	A lot of times, your government officials that are running IT programs, not necessarily the technical folks, but the people that are running the programs, they hear open source.
352160	356540	And if they're okay with it, which is not a given, they think, oh, that means it's free.
356540	357680	I don't have to pay anything.
357940	359900	And that is not the case.
360100	368960	You have to contribute back to open source if you want it to stay secure, if you want it to do what you need it to do, if you want it to have the features you want it to have, if you want it to be bug-free.
369040	370640	You have to invest.
370640	372160	That means putting time onto it.
372160	373560	And we're gonna talk about that a little bit later.
373560	374400	So there's an asterisk there.
374400	379540	Total cost of ownership is not zero, but the cost is obviously a lot lower than you building it yourself.
379540	384780	And in fact, there's a great study that came out of Harvard Business School, I believe.
385120	386620	Frank Nagel is one of the authors.
386620	388380	There's other ones, I just know Frank.
388600	391820	He is now the chief economist for the Linux Foundation.
392060	404720	They put out a study that was published earlier this year that says the total cost for us to rewrite, us being the world, to rewrite all the open-source software we use is $8.8 trillion.
406540	411420	And that's probably a fraction of it because they didn't include Linux.
413060	414200	That's fine.
414700	421460	$8.8 trillion, that's the cost if we're all gonna rebuild it and we're all gonna have it ourselves.
421460	427020	And that doesn't include all of the security incidents that would happen because of that, right?
427020	431920	Okay, the last one in the why it's good is for the people.
431920	437380	And what you don't see is there's a whole bunch of Octocats from GitHub and they're all cute and they represent the thing.
437640	438820	I try.
439720	447720	In the government, I believe that open-source software is critical because that software is for the people.
448260	449900	Taxpayers pay for that software.
450120	451940	Taxpayers should have access to that software.
451940	453660	And I don't care what the software is.
453720	457780	There are very, very few instances where I would think that that wouldn't be the case.
457780	463800	And that comes down to really critical things like maybe an encryption algorithm for our top-secret network.
464140	465580	Okay, maybe.
465940	467880	But I think that we should be doing that.
467880	470660	Okay, that's why I think it's all good, right?
470660	471940	Let's talk about the challenges.
472940	474000	More funny memes.
474040	475880	These are all quotes.
475940	477700	And in the slides, there are quotes around them.
477700	483060	And the reason there are quotes around them is because these are things that people have actually told me, government officials have told me.
483060	485660	The first one is, open-source software is insecure.
486640	488080	We already talked about this.
488080	489520	I'm not gonna dwell on this one.
489520	500720	Open-source software is not insecure, but convincing a government official that it is secure can be very difficult because they think very oftentimes in terms of control.
501220	504900	And they can't control that open-source library.
505240	513380	We're gonna talk a little bit later about consuming open-source and how we can control our consumption of those open-source libraries, but they can't control the development of it.
513380	514580	They can't control what it's doing.
514580	515880	They can't control the roadmap.
516020	523900	And so they think that that lack of control translates to insecurity, to more vulnerabilities, more openness, and that is just frankly not the case.
524700	527140	The next quote is, it's illegal.
528320	534520	Now, it's illegal applies both directions for open-source, consuming and publishing.
534520	538080	They think that both consuming open-source and us publishing open-source is somehow illegal.
538080	540520	And I say they, not all, right?
540520	542920	There are a lot of government officials that are actually coming around.
542920	546800	It has been changing in my eight or so years so far in the federal government.
546800	550680	It has been shifting, but there's still people that think this.
550720	557520	A lot of times this comes down to on the publication side, intellectual property rights.
557800	566360	Because the fact is when a contractor writes our software, which is 95 plus percent of the time, they own the copyright.
566520	568740	Even though we own the software, we get full data rights.
568740	569400	We have full control.
569400	571200	We can do whatever we want with the software.
571760	576260	Technically speaking, according to the law, the contractor still owns the copyright.
577020	594160	So even though we can, and that's why they think it's illegal, but they're wrong because all of our IT contracts for the last 15 years or more have said we have full data rights to modify and of course share publicly.
594160	596080	It doesn't say that we can only share internally.
596080	599000	It says that we can share that as far and wide as we want.
599400	600580	So it's not legal.
600700	606420	When we talk about consuming, a lot of times I say it's illegal because of some of the open source licenses, because some of the things that those licenses say.
606740	607700	They're wrong.
607780	611960	There is actual court case precedent that says, no, you can.
612680	617740	If you happen to get the slides at the very, very, very end, there are a bunch of reference links and you can look through those.
618380	619480	So it's not illegal.
620560	623720	The next quote, we paid for it, it's ours.
625180	627300	This is obviously more for the publication side.
628160	632300	Someone's actually told me that, well , we paid for this software, why would we give it away for free?
632300	640040	And I didn't know how to react to that at first, except like kind of a dumb mouth gaping, what are you talking about?
640180	645900	Because all of you paid for that software as taxpayers.
646760	649160	They didn't pay for the software, you did.
649160	654680	So it's not ours, the federal government, it's ours, the people of America.
655880	658160	So no, your argument is moot.
659080	662080	The other big challenge here is a lack of technical knowledge.
662080	664840	And on the slide, what I've got is a picture of Admiral Grace Hopper.
664840	670540	If you don't know Grace Hopper, you should absolutely Google her and look up her extensive career.
670920	676660	Starting around the 70s though, we had a massive brain drain out of the federal government on technical personnel.
676660	683980	And this is technical, I'm talking more computer science, because that's when we started shifting to a lot more big IT system development.
683980	686480	And a lot of times, we just didn't have the workforce for that.
686480	687940	And so we had to contract out.
688080	696000	And once we started contracting out, we realized, oh, it's much easier to pay someone else to do stuff, to get money and pay someone else to do stuff than to hire the people to do it ourselves.
696000	698580	Because if we hire them, they're here.
698660	701280	And then we can't really get rid of them, they're here.
701280	703800	And the government doesn't know how to do that very well.
703800	710360	And so we had this drain of technical knowledge that came out of the federal government, out of the military, but also out of the civilian agencies.
711080	719560	I've been working for the last eight years or so when I'm in government to try and bolster that, to try and bring more technical people into government as government employees.
719560	727000	Because frankly, we don't have the people to look at an open source piece of software and say, yes, that piece of software is good for us to use.
727140	728420	No, that one's not.
728420	733460	Or even to set up the process by which we select open source software, which I'm gonna talk about in a minute.
733780	735620	So we trust contractors to do that.
735620	736840	And do they do it right?
737960	745540	No, I'm not gonna name a program, but there was a program that had open source software that had never been updated.
745540	747740	They pulled it in six, seven years ago.
747740	748920	They never changed it.
748920	750340	They never updated it.
751300	753920	No version updates, no bug fixes.
753960	755580	They just let it stagnate.
756180	757500	And that's the problem.
757720	759620	We're trusting contractors to do these things.
759620	763080	And we don't have the people on our side to say, no, that's not okay.
763080	764180	Here's a better process.
764180	764940	Do this.
766080	768660	And the last part is stagnation.
769520	774800	Stagnation in our personnel, not being active in the community, not being here.
775000	777420	One of my colleagues is here in the front row.
777420	779120	And that's amazing.
779120	783700	But everyone from my former organization at DHS should be here.
783780	792080	And they should be doing this all the time to refresh that knowledge, to not stagnate, to understand what is going on in the ecosystem.
792080	793580	But they don't.
793880	796120	And it's not just the people, it's also the software.
796120	797480	The software stagnates.
797480	800700	A lot of times we build it and then we put a big wall around it and then we just let it sit there.
800740	801460	Oh no, it's working fine.
801460	802300	What are you talking about?
802300	803200	No, it's behind a wall.
803200	804440	No one can get to it, right?
804440	806620	Because no one can break through firewalls, right?
807520	808120	Okay.
808960	810360	So let's talk about the policy.
811240	814060	The first policy we're gonna talk about is the Federal Source Code Policy.
814180	815440	It's known as M1621.
815440	822920	If you're not familiar, that M stands for memo, 16 stands for it was released in 2016, and 21 was the 21st memo of 2016.
822920	825120	So it's come out at the very end of the Obama era.
825120	828740	The Federal Source Code Policy establishes a number of things.
828740	835140	It focuses a lot on the buy versus build argument in question and how we should be proceeding in doing that.
835200	838240	But it does have a couple of other sections that are really important.
838240	840340	Section five is on open source software.
840440	845140	The first thing it did, it said we had to do a pilot program to release 20% of government software as open source.
845560	848200	So 20% of what?
849800	854220	See, a percentage is a fraction, 20 over 100.
854220	855760	Okay, so what's the hundred?
856320	857520	A hundred what?
858200	864240	Lines of code, projects, modules, functions, files, budget, dollars?
865500	868860	Didn't know, never said, never clarified.
868860	870420	So obviously we didn't need that.
870580	872520	No one met that, zero people met that.
873500	876800	But that pilot ended in 2019, because it was a pilot in only three years.
876800	881460	But the other thing it did is it talked a lot about participation in the open source community.
881460	890660	It talked about creating better open development practices, better documentation, the fact that you should be accepting code contributions to open source software that we publish.
890660	891720	And I think that was great.
891720	893380	And so it did have a lot of good in it.
893380	895180	It is still, in fact, by the way, policy.
895180	897480	It has not been rescinded like a bunch of other policies.
897600	901080	So all the things I'm gonna talk about are still active to my knowledge.
902380	905320	It also had section four on government-wide code reuse.
905320	907920	Now you might say government-wide code reuse, sure, whatever.
907920	909020	How does that affect me?
909380	915200	Yeah, see, if I'm gonna share code from one government agency to another, you know the easiest way to do that?
916100	917280	Open source it.
917680	922440	Because trying to share it without open sourcing it is actually much, much harder.
922740	923700	So this was really important.
923700	930900	One of the things that it said is it actually formalized that those data rights that I talked about to be able to publish must be in all of our contracts.
930920	932660	It said it must be in all of our IT contracts.
932660	935560	And the other thing it said is we have to set up a code inventory.
936040	939340	Not an open source code inventory, just a code inventory.
939340	943460	If I create a custom-developed software project, I have to add that to this code inventory.
943460	948180	That inventory must be on the root of the domain for that agency, so dhs.gov.
948180	953000	In fact, you can go right now to dhs.gov slash code.json and you can see our inventory.
953860	956680	As much as I tried, it is not very good.
957300	959420	And by not very good, I mean not very complete, right?
959420	961060	And none of the agencies are very complete.
962440	969780	So the last thing that it set up is an organization under GSA called code.gov and, of course, a website called code.gov.
969780	980320	This was a group to help liaise among the agencies and figure out how we should be doing open source, who's doing what, sharing policy ideas, sharing publication ideas, all that good stuff.
980680	982720	Unfortunately, code.gov no longer exists.
982820	984700	To be fair, it hasn't existed for a few years.
984700	986360	This is not a current administration thing.
986360	987780	It just kind of fizzled out.
987780	991540	It didn't have the right kind of funding, but we have a replacement.
991540	997660	It's digital.gov, and so the policies and information that code.gov held is now on digital.gov.
998080	1000380	It will actually redirect you to the right place.
1002240	1011060	I know I said this was policy, but I'm also going to talk about law because last year the SHARE IT Act passed, and I do not know what SHARE stands for.
1011060	1012200	Yes, it is an acronym.
1012200	1013740	I don't care what it stands for.
1014240	1015260	It's interesting, though.
1015260	1021180	One of the things the SHARE IT Act says is that we have to have data rights in all of our IT contracts to be able to share code.
1021700	1027140	Another thing it says is that you have to require government-wide code access and reuse.
1027140	1031420	And then the third thing it says is you have to have a code inventory of all your custom-developed software.
1031640	1032440	Crazy, right?
1033060	1035400	They basically just took what was in code.gov.
1035400	1038820	They had some person that was a staffer for the sponsors.
1038820	1039920	I forget the sponsors' names.
1040080	1044320	And they had been with code.gov, and they just basically pulled in all the things, which is great.
1044440	1048920	And you might say, well, then why do you bother having that if you've got M1621, the federal source code policy?
1049800	1053040	Law cannot be rescinded by the executive branch.
1053800	1064120	So now those things that we thought were really good in the federal policy are in law that cannot be rescinded unless there's an action taken by the full Congress, which is great.
1065480	1071380	You can't see it, but I've got an example of the code.json file, the metadata for the inventory.
1071380	1075120	So if you go to the slides, you can see an example of that.
1075120	1079540	But again, you can go to ghs.gov slash code.json, and you can see the actual full file.
1079660	1084260	And the last one for policy is EO14144.
1084260	1085600	EO stands for executive order.
1085600	1087260	So this was a presidential executive order.
1087260	1093600	It actually came out in January 25, which means it was a Biden-era order, but it is in fact still in place.
1093600	1096000	They did some edits to that cybersecurity policy.
1096000	1099500	Title was strengthening and promoting innovation in the nation's cybersecurity.
1100180	1112360	But section 2E and now 2C, because of the edits, says that CISA, the Cybersecurity and Infrastructure Security Agency, must create blah, blah, blah, blah, blah, best practices for contributing to open source software projects.
1112820	1114300	Now they haven't released that yet.
1114300	1119460	And the reason they haven't is because they're waiting for the guidance that I wrote, that I told you about at the very beginning.
1119740	1122640	They were waiting for that to get published because I basically wrote it for them.
1123320	1126100	But then we were waiting for that to get published, so they didn't publish theirs.
1126100	1132640	So now they're working on it, but I think that'll be really good because what CISA can do is it can actually reach out to the entire federal government, right?
1132640	1134900	That guidance is not for DHS.
1134900	1137720	It is for the entire federal government on how to do that well.
1137720	1139880	And I think that's gonna be some really good things.
1139880	1143880	And hopefully that will come out sometime in the next, I'm hoping in the next few months.
1144880	1149980	There's a whole bunch of other agency open source policies, right, not at the federal level, but within the agency.
1149980	1151480	Unfortunately, there's not a ton.
1152220	1157140	If you go to the slides, you'll see some links, but DHS and DoD, obviously.
1157200	1158820	CMS has a pretty good policy.
1158820	1159780	Very happy with that.
1159780	1167220	And I don't see Remy here, but a guy named Remy who is wandering around DEF CON who helped write that policy, if you're interested in...
1167220	1170480	CMS, the Centers for Medicare and Medicaid Services within HHS.
1170860	1172720	NASA has a really good policy.
1172720	1174740	GSA, CFPB, CISA.
1174940	1178880	But unfortunately, most of those are focused on the publication of open source.
1178880	1181960	And they don't talk about the consumption of open source.
1181960	1183940	So we're gonna talk about that in just a little bit.
1184220	1186180	I wanna talk about the reality, right?
1186180	1189280	So we're into the next section, the reality of open source, what's actually happening.
1189400	1191520	You might ask if anyone's actually sharing code.
1192120	1194760	Again, on the slides, you've got a link there, but I'll just read it out.
1194760	1198160	Government.github.com slash community.
1198480	1200460	Although you can go to the base URL as well.
1200460	1217600	Now this is just GitHub, but if you go there, it's got a listing of all of the federal agencies, state agencies, military, locals, foreign countries, all of the things that are public sector that are using GitHub, a massive list of them and links to their GitHub organizations.
1217740	1220060	So if you scroll down in that to the U.S.
1220060	1221980	federal, there are 164 U.S.
1221980	1228940	federal agencies or agency organizations within that that have GitHub organizations and code up there.
1229520	1231560	So yes, it is happening.
1231560	1233920	In fact, publishing open source all the time.
1234540	1238700	Some just very few examples, SC Linux, Security Enhanced Linux.
1238880	1240420	Yeah, people probably are familiar with that.
1241060	1243120	That was developed by the National Security Agency.
1243360	1245600	It was open source in the year 2000.
1246020	1248000	The federal government has been doing open source for a long time.
1248000	1249200	This is not new.
1249660	1251020	Some organizations are better than others.
1251020	1252500	The NSA happened to be one of the better ones.
1252500	1253640	And that's just owned by the community now.
1253640	1254860	It's not owned by NSA anymore.
1254900	1256600	Now it's just a module within the kernel.
1256600	1260040	So it's not like its own standalone thing, a standalone distribution.
1260560	1261020	The U.S.
1261020	1265920	Web Design System, which is run by GSA, specifically the Technology and Transformation Services.
1266000	1266360	The U.S.
1266360	1269080	Web Design System is a web design system, right?
1269240	1273460	It is in fact required to be used by any new websites developed by the federal government.
1273460	1274660	It is completely open source.
1274660	1278100	Any of you could go and find that out in GitHub and contribute fixes to it.
1278100	1279440	There are some React modules.
1279440	1282800	There's just some straight up CSS and HTML components.
1282860	1284340	It's very good.
1284660	1287060	Open MCT released by NASA.
1287060	1289160	It's a mission control framework.
1289740	1295460	So if you want to launch some rockets and have a mission control dashboard, NASA got you covered.
1296340	1301120	And the last one we'll talk about is one of the most recent big systems that's been released, IRS Direct File.
1301120	1302520	Did anyone actually use Direct File?
1302680	1303180	Yeah.
1303180	1303740	Okay, one.
1303740	1304240	That's okay.
1304240	1306040	It's only a limited number of states, right?
1306160	1316580	A free way to file your taxes that's actually run for the government and because it's run by the government, they actually know all the actual rules, the real way to do it, and it was done from a human-centered design perspective.
1316580	1318720	The one guy that raised his hand, I'm guessing, had a really good experience.
1318720	1320220	You should go talk to him.
1322040	1323000	And raised his hand, there he is.
1323000	1324360	He's wearing a DEF CON hat.
1324800	1328480	It's a great system and 100% of it is open source.
1328480	1337200	Not just the code, all the infrastructure, all the documentation, all the design artifacts, all the build artifacts, everything, up on the IRS GitHub.
1337880	1340180	Okay, so how much is really open?
1340460	1345320	Unfortunately, the only information on this slide is a crying emoji.
1346820	1348160	That's just how it is.
1348160	1350140	So what about upstream open source, right?
1350140	1351340	We've been talking about publication a little bit.
1351340	1354180	What about upstream things that we rely on, that we consume?
1354240	1360360	I would argue that the government is probably the largest, the US government is probably the largest consumer of open source software in the world, period.
1360480	1365240	We have hundreds of thousands of IT systems across the entire federal government.
1366300	1373520	I would argue that it would be difficult to find a single one that doesn't rely somehow on open source.
1374080	1375340	Is it written in Python?
1375640	1376200	Well, guess what?
1376200	1376960	Open source.
1378160	1382180	I mean, they're all relying on open source somehow, someway.
1382180	1400140	But I would also argue that we might be the worst consumer of open source software in terms of an organization contrasted with how much we consume, because we don't contribute, because we don't file bugs or security issues, because we don't update all the time.
1400140	1402360	We're just, we're real bad consumers.
1402740	1404600	So let's talk about what that is.
1404600	1408540	What's the process for using open source, for consuming open source in the federal government?
1408900	1413740	So you might be in an organization where the first step might be you select what you wanna use, right?
1413740	1415460	So you might have some criteria.
1415480	1418160	You look it up, you see, oh, well, this one's pretty good.
1418460	1422680	It's been updated recently, has a good release cadence, does what I need it to do.
1422680	1424180	Oh, it's got good documentation.
1424520	1426180	Maybe you see some tests in there, right?
1426180	1429100	You see, oh yeah, look, they're running GitHub Actions.
1429100	1431020	They've got some continuous integration going on, right?
1431060	1432260	You might look at all of that.
1432260	1433160	You know what we do?
1433440	1434780	Oh, that does the thing we want.
1436040	1438080	And that's our selection process.
1438740	1442360	And I say that generally, obviously there are organizations that are doing it much better.
1442460	1449460	The organization that I just left, I was enforcing that on a number of different IT programs to make them do that better, but that's not the case.
1449460	1456340	For the most part, we let a contractor pull in whatever code they want, and we rarely do anything about it.
1456340	1457900	Now we scan our systems, right?
1457900	1462580	We scan our systems, our network operations center will scan our systems.
1463040	1465280	They don't find open source code that often.
1465280	1465620	You know why?
1465620	1466960	Because it's usually built, right?
1466960	1467800	It's built in.
1467800	1469860	They're looking for binaries.
1469860	1471600	They're looking for packages.
1471600	1477740	They're looking for things that wouldn't be an open source code library that's pulled into your base code.
1477740	1483300	They don't find those issues, generally speaking, unless there's some identifier that they can hook onto.
1483300	1485220	They often do not find it.
1486120	1487900	So what about the actual consumption process, right?
1487900	1496780	So, you know, you might put that dependency into your, if you're in the Python land, you put it into your requirements.txt, right?
1496780	1502380	And then you have a build process that maybe kicks off whenever you submit a pull request, right?
1502380	1505100	That like builds your app and then like run some tests and stuff.
1505100	1509840	And then you might have something that like flags it, maybe like a dependabot on GitHub, right?
1509840	1511520	You know, it says, oh, this one's got an update, right?
1511520	1511980	Yeah.
1511980	1515620	And we don't do any of that, any of it.
1515640	1519640	Our updates to open source libraries for versions is almost always manual.
1520520	1524140	Someone has to go in and say, oh, it's time to update our dependencies.
1524140	1525460	And they will go and do that.
1525900	1527760	Now, do they do that on a regular basis?
1528180	1529740	Maybe, probably not.
1530140	1534920	Do they do a valid check to see that those new versions don't have any conflicts?
1534920	1537620	Like, I don't know, the license changed.
1537860	1540180	Anyone go through the React license change?
1540600	1547620	Yeah, when Facebook decided they wanted to change the open source license for React and basically made it so that no one else could use it in any kind of reasonable way.
1547620	1548900	Do we check for that?
1548900	1549780	No.
1550260	1553460	Do we check that the release doesn't introduce any new bugs?
1553460	1554160	Maybe.
1554940	1556120	But this is the problem, right?
1556120	1560500	We don't have, generally speaking, automated processes for that consumption.
1560500	1563480	We don't have good checks on that consumption process.
1563480	1565240	And so we need to be doing better at that.
1565900	1567320	And the last bit is the contribution.
1567320	1571600	And this is just a complete and utter fail across the federal government writ large.
1571600	1575660	You heard about some good examples of us publishing open source, but I'm not talking about that.
1575660	1579740	I'm talking about us contributing to the libraries that we absolutely depend on.
1580160	1581960	We do not do that.
1582200	1588240	I had a contractor who, they were trying to use this one library, and they said, well, I don't think we can use this library.
1588240	1590020	It's just really inefficient for what we're doing.
1590020	1595960	It was doing some kind of XML parsing, and the XML files we were passing in were massive, like a megabyte.
1597060	1599680	And I was like, well, I wonder why it's so inefficient.
1599680	1601160	And he said, well, it's because of this.
1601160	1603900	It does this check, this specific check.
1603960	1605320	And I was like, oh, well, do we need that check?
1605320	1606340	And he's like, well, no, we don't.
1606340	1607780	But there's no way to disable it in the library.
1607780	1610700	I'm like, okay, well, did you submit a GitHub issue?
1611020	1613760	Like, see if we can add a flag to not do that check.
1614820	1618120	And it was just, you know, like, what are you talking about?
1618120	1618740	We can't do that.
1618740	1619720	I was like, yes, you can.
1620300	1621480	He filed an issue in GitHub.
1621480	1625280	The next day, the maintainer was like, oh yeah, that's a really good flag.
1625280	1626520	Yeah, I can get that done.
1626560	1631680	And a month later, they had a new release with that flag, and now we can use that library, and it's about 10 times more efficient.
1633080	1634880	The government doesn't do this.
1634880	1637280	And that, I would consider that a contribution, right?
1637280	1639660	They didn't write the code, but they kicked off that.
1639660	1640720	That is a contribution.
1641640	1642500	What if we find a bug?
1642500	1649000	What happens when we find a security flaw in an open source library that the federal government relies on for a critical piece of technology?
1649000	1649680	What do we do?
1650440	1651220	We fix it, right?
1651220	1652320	Obviously we're gonna fix it.
1652320	1653260	And then what do we do?
1654100	1655860	Keep that in our nice little walls.
1656560	1658260	And we do not contribute that back up.
1658260	1659520	And why don't we do that?
1659580	1663140	In part, it's because we don't pay contractors to do that.
1663640	1665920	We pay contractors to write our systems.
1666620	1668720	We don't pay them to give away that code for free.
1668760	1669440	We paid for it.
1669440	1670340	It's ours.
1671780	1672780	Hey, remember that line?
1673040	1674480	That's where it comes up.
1674780	1676000	So what do we do about that?
1676000	1677240	I'm gonna talk about that.
1677480	1679200	So let's talk about the possibilities.
1679980	1681020	I have three goals here.
1681020	1684160	The first goal is for us to increase open source publication.
1684160	1685500	I think we've got to do that.
1685500	1687580	There's no reason we shouldn't be doing that.
1687740	1689220	There's absolutely no legal reason.
1689220	1690140	There's no security reason.
1690140	1693500	There's no reason that we shouldn't be publishing more open source.
1693500	1694880	No, we're not gonna get to 100%.
1695780	1697340	We could get to 20.
1697480	1698280	20 what?
1698280	1699080	I don't know.
1700120	1701000	Projects.
1701240	1701940	Something.
1701940	1703480	We could do better.
1703920	1706680	We need clear guidance on that process though.
1707280	1709460	Because people flounder at that point.
1709460	1710680	But how do I do it?
1710680	1711380	What are the steps?
1711380	1712440	What do I need to do first?
1712440	1714800	You don't just hit the button in public.
1715540	1716580	What do you do?
1716580	1717740	What is that process?
1717860	1723980	We need to build more modular systems that are reusable components for that government wide code reuse.
1723980	1725660	We have a big monolithic system.
1725660	1726840	No, break it up.
1726840	1731080	Have a module that does X that could be reused to do X somewhere else.
1731080	1733160	We don't build that way, but we should.
1733700	1737540	We need to make it a contractor requirement for this to be open source.
1737700	1739920	When I was at DoD, I wrote a contract.
1739920	1740840	I wrote a contract.
1740840	1742660	The contracting officer wrote a contract.
1742760	1744360	I told them how to write it.
1744440	1748580	Where the delivery from the contractor was by GitHub URL.
1750240	1758520	So the entire delivery of that contract had to be a GitHub URL on a public open source repository.
1758520	1760740	And it had to have 100% of the things.
1760740	1766840	We had to be able to run that system, build and run that system using only the information at that GitHub URL.
1768320	1769820	This is not that hard.
1770140	1771800	All your infrastructure is code.
1771800	1775000	All your build artifacts, your CI pipeline, all this stuff.
1775000	1776600	It should all be in that repo.
1776620	1778040	This was not a big system.
1778600	1780020	But we should be able to do that.
1780020	1783440	We should make it a contractor requirement that this thing is delivered as open source.
1783480	1785500	And lastly, we need to enforce secure coding practices.
1785500	1787420	And that's actually starting to happen.
1787500	1798040	So NIST, the National Institute of Science and Technology, they've released standards for secure software development, SSDF, the Secure Software Development Framework.
1798480	1800460	Contractors actually have to be following that.
1800500	1801320	Do they?
1802200	1803300	Not so much.
1803300	1805980	But we should be enforcing those secure coding practices.
1805980	1807180	Okay, goal number two.
1807600	1812160	We need to secure our government systems because they are not great.
1812260	1816100	And I'll talk about that a little bit about how you can maybe help us with that.
1816280	1821180	For the first thing there is we need to have a baseline for how we select open source software.
1821680	1822600	What are the criteria?
1822600	1823620	What do you look for?
1823860	1826160	I need to see the release cadence.
1826180	1830320	If you haven't done a release in three years, I'm not gonna let you use that open source software.
1830320	1831320	I'm sorry, I'm just not.
1831620	1838640	Something has happened in the last three years that had to make you have a change in that open source code that required a new release.
1839200	1842360	I need to make sure there's some sort of tests or scans or something.
1842360	1843480	There's gotta be something, right?
1843480	1845380	I have to have something to latch on to.
1845660	1848560	We need to automate the open source scanning and approval process.
1848560	1853120	So right now, if I wanna use this piece of open source software and I've done that selection, then what?
1853500	1854600	Who says yes?
1855380	1856840	It's a manual process.
1856840	1861980	And we end up going up to our information security, our ISM, information soft, information?
1863240	1864100	There we go.
1864100	1868380	You go up to your ISM and you say, hey, Christy, can I use this?
1869480	1870580	Does Christy know?
1870920	1872960	Does Christy have any idea what you're talking about?
1872960	1873720	No.
1874640	1879080	So she says no, which makes sense until you show her all these artifacts.
1879080	1882460	No, we've got to approve that in a more automated way.
1884040	1885860	We need to start using mirrors.
1885900	1886960	We do not.
1887520	1894100	We pull from PyPy, we pull from NPM, we pull from Maven, straight in.
1894160	1895040	It's totally fine, right?
1895040	1896640	What could possibly go wrong?
1897620	1898280	Okay.
1898500	1902480	And we need better guidance on when we update that open source software.
1902760	1903940	What's the cadence?
1903940	1905040	What's the trigger?
1905700	1906740	When should we be doing that?
1906740	1908140	And how should we be doing that?
1908480	1914760	Goal number three, we, the federal government, need to support a better, secure, open source ecosystem.
1914820	1916100	What does that mean?
1916100	1924080	We need to be contributing 100% of security fixes that our contractors write back upstream.
1924260	1926340	There should be absolutely no exceptions.
1926340	1930720	If we create a security fix for an open source library, we must contribute that back upstream.
1930720	1936780	That should be a contractual requirement that every federal contractor must do that.
1937120	1939500	Bugs, I think they should too.
1939800	1941300	Enhancements, yeah, sure.
1941380	1942840	Documentation, great, let's do it.
1942840	1945560	But security fixes, no one should be arguing with that.
1945680	1968480	If we do that, if we require our federal contractors to do that, we're gonna be injecting potentially 500,000 new developers into the open source ecosystem as contributors, bolstering what I've seen to be a dwindling force of people maintaining these critical open source dependencies that we have.
1970120	1976900	I think we should be doing as a federal government, and I'm gonna point out right here at this point that I am speaking in my personal capacity.
1977460	1995000	I think we should be giving funding to open source organizations, foundations, large open source packages and groups, money to support their infrastructure, to support their DevOps, to support Red Team activities, to support just ongoing development.
1996060	1998100	There's an example for this.
1998100	2000800	In Germany, they have the Sovereign Tech Fund.
2000840	2002800	They give grants as low as $1,000.
2002800	2008980	Little libraries that just, I just need a little money, I just wanna run some CI infrastructure, and they'll do a grant for $1,000.
2009140	2011240	They have bigger ones up to like a million dollars.
2011800	2018580	The German government is paying open source maintainers to maintain the systems that the German government relies on and we should be doing the same thing.
2018960	2022600	In fact, I think much more of the world should be doing the same thing, but you know what?
2022720	2024840	We've got lots of money, let's do it.
2025740	2028320	And lastly, we need to be a more active participant in the community, right?
2028320	2042200	We need to be very active, we need to be doing, we need to be submitting those feature requests, we should be submitting bug reports, we should be submitting security vulnerabilities, we should be patching them ourselves, we should be engaged in the different foundations,
2042200	2044100	Apache Foundation, Linux Foundation, et cetera.
2044100	2048560	We should be participating in all of that, we should be active in all of that.
2050160	2053040	Okay, last section, what can you do?
2053800	2055940	If you're a federal contractor, federal contractors?
2056640	2057700	Eh, a couple.
2057860	2062060	Okay, as a federal contractor, do better.
2063220	2068020	I'm sorry, but contractors, you just, we rely on them too much.
2068020	2069540	You've got to do better.
2069660	2073080	If you're a government employee, I know I've got at least one.
2073440	2074580	Ooh, look at you.
2074860	2076360	How'd you get money to get here?
2078560	2081340	I'm honestly curious.
2081360	2083600	At my last conference, it was just because they were all local.
2084040	2085400	They all just lived there.
2085400	2087960	As a federal employee, you need to be pushing for this, right?
2088220	2091280	If you're in the contracting space, you should be pushing for that in your contracts.
2091280	2094840	If you're in the IT space, you should be pushing for that in your contracts.
2095280	2099520	If you're in the program management space, you should be pushing for this in your contracts.
2100260	2101640	I think I got that point across.
2102640	2107640	And lastly, for the rest of us, if you're a private individual, there's all sorts of things you can be doing.
2107740	2115580	I pointed out that government.github.com, slash community if you want to see the list, but government.github.com, you can find a whole bunch of organizations there.
2115580	2118920	Some of them will accept your contributions, but go and find a cool project.
2119180	2119980	Promote it.
2120080	2121240	Say, hey, this is really cool.
2122040	2124820	Maybe fork it and create better if it's stagnant.
2124820	2132360	And the last bit is to maybe submit a vulnerability or participate in one of our very many bug bounty programs.
2132360	2144700	So the link that I have, if you have the slides, which I will read off the slide URL again in a minute, is bugcrowd.com slash engagements, slash featured, slash CISA, C-I-S-A.
2145080	2154540	And so CISA is basically like, it's a collection of bug bounty programs or VDPs, some of the bug bounty, some of the VDP for the federal government writ large.
2154540	2164120	So you can go and find one of the agencies that has a VDP, or maybe they have an active bug bounty on a specific system or you could join bug crowd or hacker one or one of these other organizations.
2164240	2170660	And if you're, you know, you have to kind of be accepted there, but then you can join one of those organized bug bounties.
2172360	2173560	That's it for me.
2173680	2174520	I want to thank you so much.
2174520	2176000	I'm sorry I couldn't show you slides.
2176000	2177920	I'm going to read off the URL one more time.
2178220	2179260	JordanCasper.com.
2179260	2188020	That's with a K, K-A-S-P-E-R, JordanCasper.com slash O-S-S dash N-I-N dash gov.
2188140	2189120	So you're going to get those slides.
2189120	2196820	At the end of those slides, at the very, very end, past the thank you slide, there's a whole list of URLs and there's URLs all throughout the slide.
2196820	2198100	So feel free to check those out.
2198400	2199160	That's it for me.
2199160	2202480	I am Jake Arella, J-A-K-E-R-E-L-L-A online.
2202480	2204000	Find me, I'm wearing the pink hoodie.
2204000	2205380	I'll be wearing the hat all weekend.
2205440	2206860	I'll be hanging out by the policy room.
2206860	2211460	We've got a fun CTF that I may or may not have designed.
2211460	2213600	So come check out our CTF and thank you.
2213600	2214320	Appreciate it.
