1 00:00:00,000 --> 00:00:01,340 This is gonna be super fun. 2 00:00:01,340 --> 00:00:03,060 Luckily, all my slides were just memes. 3 00:00:04,220 --> 00:00:06,160 So, it's not true. 4 00:00:06,500 --> 00:00:08,140 There's a whole bunch of links in the slides. 5 00:00:08,200 --> 00:00:12,160 So, I'm gonna start talking while we try and figure this out. 6 00:00:12,940 --> 00:00:14,340 So, my name is Jordan Casper. 7 00:00:14,340 --> 00:00:17,200 This is the state of open source in the federal government. 8 00:00:17,200 --> 00:00:18,820 I don't know why you're all here. 9 00:00:18,820 --> 00:00:22,620 This is way too many people to be interested in open source and the federal government. 10 00:00:25,300 --> 00:00:29,600 I'm an odd Schrodinger cat of an employee because I'm both employed and not employed. 11 00:00:29,600 --> 00:00:38,440 I technically received a paycheck from the Department of Homeland Security, but I am technically leaving, so I'm not actively there. 12 00:00:38,960 --> 00:00:41,540 For those of you following the news, I took a deferred resignation. 13 00:00:41,540 --> 00:00:44,360 And that's important because these are all my opinions. 14 00:00:44,360 --> 00:00:49,160 This is not the opinion of the Department of Homeland Security, my current employer, or any other federal agency. 15 00:00:50,180 --> 00:00:53,360 You might be asking why I'm up here. 16 00:00:53,360 --> 00:00:57,920 Obviously, you know now that I am, or was, or maybe still am a federal employee. 17 00:00:57,920 --> 00:01:01,440 But more so than that, I'm actually an open source contributor and maintainer. 18 00:01:01,700 --> 00:01:06,800 I've been maintaining, or contributing to, and maintaining open source since around 2008. 19 00:01:06,800 --> 00:01:09,840 My first contribution was to the jQuery project. 20 00:01:09,860 --> 00:01:12,300 Woo, jQuery, still in use, don't know why. 21 00:01:13,500 --> 00:01:16,020 Fixed a couple bugs, you know, submitted some stuff. 22 00:01:16,020 --> 00:01:17,980 But I also maintain a number of libraries and whatnot. 23 00:01:17,980 --> 00:01:27,540 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. 24 00:01:27,540 --> 00:01:32,060 But of course, what you're probably here for is because of its relationship with the federal government. 25 00:01:32,060 --> 00:01:37,560 And to that end, starting in 2017, I worked for the Department of Defense through the U.S. 26 00:01:37,560 --> 00:01:38,640 Digital Service. 27 00:01:38,860 --> 00:01:45,000 I helped write the open source policy that is currently the policy there. 28 00:01:45,000 --> 00:01:47,840 I was signed out in 2022 by the DOD CIO. 29 00:01:48,020 --> 00:01:51,380 I wrote that policy in 2019. 30 00:01:51,380 --> 00:01:53,800 It got signed out in 2022. 31 00:01:54,460 --> 00:02:06,660 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. 32 00:02:06,800 --> 00:02:16,920 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. 33 00:02:17,020 --> 00:02:18,000 So what are we talking about? 34 00:02:18,000 --> 00:02:21,120 We're gonna talk about why open source, why it's good, why we wanna do that, right? 35 00:02:21,500 --> 00:02:26,720 And then we're gonna talk about the challenges that the federal government faces specifically. 36 00:02:26,760 --> 00:02:30,840 We're gonna talk about the current policy, talk about what it says, what it does for us. 37 00:02:30,840 --> 00:02:38,040 We'll talk about the reality, what's actually happening across some of the other federal agencies, not just DOD and DHS, but others. 38 00:02:38,200 --> 00:02:44,320 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. 39 00:02:45,860 --> 00:02:48,600 So to start with, why open source? 40 00:02:48,600 --> 00:02:50,580 And you can't see the slide, but it's super funny. 41 00:02:50,580 --> 00:02:53,360 If you're on your phones, I would appreciate you laughing. 42 00:02:53,940 --> 00:02:57,180 It says open source is good, and it says the citation is needed. 43 00:02:57,180 --> 00:03:07,800 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. 44 00:03:07,880 --> 00:03:17,400 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. 45 00:03:17,660 --> 00:03:31,340 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, 46 00:03:31,340 --> 00:03:34,260 but why sometimes they push against that, right? 47 00:03:34,600 --> 00:03:38,600 So the first reason that we say it's good is reusability. 48 00:03:38,680 --> 00:03:40,500 And I think that's the obvious one, right? 49 00:03:40,500 --> 00:03:43,600 You write it once, you use it multiple times, reusability, great. 50 00:03:43,600 --> 00:03:45,080 But it goes beyond just that, right? 51 00:03:45,080 --> 00:03:50,040 It's not just the reusability, because reusability is kind of the underpinning of all of the other pieces. 52 00:03:50,040 --> 00:03:55,680 So those other pieces, things like collaboration and contribution, being able to have that group mindset, right? 53 00:03:55,800 --> 00:04:01,800 Where everyone is thinking and contributing to something to make it better. 54 00:04:01,980 --> 00:04:06,820 And when you talk about that collaboration and that contribution, that brings up the next part, which is security. 55 00:04:07,420 --> 00:04:18,640 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. 56 00:04:18,960 --> 00:04:20,640 And there's a lot of different reasons for that. 57 00:04:20,640 --> 00:04:22,740 Part of that is that group think, right? 58 00:04:22,740 --> 00:04:27,680 If I put it out there, this is not necessarily what the government says and thinks. 59 00:04:27,680 --> 00:04:30,220 And so I'm gonna talk about that in just a minute when we get to the challenges. 60 00:04:30,420 --> 00:04:32,560 But I believe that open source is more secure. 61 00:04:32,560 --> 00:04:33,960 You're able to see those bugs. 62 00:04:33,960 --> 00:04:35,080 Closed source, guess what? 63 00:04:35,080 --> 00:04:36,000 The bugs are still there. 64 00:04:36,260 --> 00:04:39,080 It's just that no one's finding them and no one's fixing them. 65 00:04:39,240 --> 00:04:40,420 That's what happens. 66 00:04:41,880 --> 00:04:44,440 Transparency, right now we talk about transparency. 67 00:04:44,440 --> 00:04:56,980 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. 68 00:04:57,080 --> 00:04:59,000 You know, open source is more than just the code. 69 00:04:59,040 --> 00:05:00,380 It's also the process. 70 00:05:00,420 --> 00:05:01,280 Do you have tests? 71 00:05:01,280 --> 00:05:02,640 Do you have a CI pipeline? 72 00:05:02,640 --> 00:05:06,740 Do you have security scans going on in that pipeline? 73 00:05:06,740 --> 00:05:07,520 All these other things. 74 00:05:07,520 --> 00:05:10,260 So that transparency is, I think, really, really important. 75 00:05:11,320 --> 00:05:12,720 And the last one is cost. 76 00:05:12,720 --> 00:05:16,560 And if you're looking at the slides, you'll see that cost has a big asterisk next to it. 77 00:05:17,140 --> 00:05:20,980 Because we like to think of open source as FOSS, free and open source. 78 00:05:21,840 --> 00:05:23,580 But it's not all free and open source, right? 79 00:05:23,580 --> 00:05:25,540 There is actually cost open source. 80 00:05:25,540 --> 00:05:26,120 And that's fine. 81 00:05:26,120 --> 00:05:28,400 I'm not gonna argue that point. 82 00:05:28,500 --> 00:05:34,640 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. 83 00:05:35,380 --> 00:05:36,560 I think you all know this. 84 00:05:36,560 --> 00:05:40,960 I don't think I'm saying anything revolutionary here, but it's important that we say it out loud. 85 00:05:40,960 --> 00:05:44,740 The government oftentimes does not think of it that way. 86 00:05:44,860 --> 00:05:52,160 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. 87 00:05:52,160 --> 00:05:56,540 And if they're okay with it, which is not a given, they think, oh, that means it's free. 88 00:05:56,540 --> 00:05:57,680 I don't have to pay anything. 89 00:05:57,940 --> 00:05:59,900 And that is not the case. 90 00:06:00,100 --> 00:06:08,960 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. 91 00:06:09,040 --> 00:06:10,640 You have to invest. 92 00:06:10,640 --> 00:06:12,160 That means putting time onto it. 93 00:06:12,160 --> 00:06:13,560 And we're gonna talk about that a little bit later. 94 00:06:13,560 --> 00:06:14,400 So there's an asterisk there. 95 00:06:14,400 --> 00:06:19,540 Total cost of ownership is not zero, but the cost is obviously a lot lower than you building it yourself. 96 00:06:19,540 --> 00:06:24,780 And in fact, there's a great study that came out of Harvard Business School, I believe. 97 00:06:25,120 --> 00:06:26,620 Frank Nagel is one of the authors. 98 00:06:26,620 --> 00:06:28,380 There's other ones, I just know Frank. 99 00:06:28,600 --> 00:06:31,820 He is now the chief economist for the Linux Foundation. 100 00:06:32,060 --> 00:06:44,720 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. 101 00:06:46,540 --> 00:06:51,420 And that's probably a fraction of it because they didn't include Linux. 102 00:06:53,060 --> 00:06:54,200 That's fine. 103 00:06:54,700 --> 00:07:01,460 $8.8 trillion, that's the cost if we're all gonna rebuild it and we're all gonna have it ourselves. 104 00:07:01,460 --> 00:07:07,020 And that doesn't include all of the security incidents that would happen because of that, right? 105 00:07:07,020 --> 00:07:11,920 Okay, the last one in the why it's good is for the people. 106 00:07:11,920 --> 00:07:17,380 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. 107 00:07:17,640 --> 00:07:18,820 I try. 108 00:07:19,720 --> 00:07:27,720 In the government, I believe that open-source software is critical because that software is for the people. 109 00:07:28,260 --> 00:07:29,900 Taxpayers pay for that software. 110 00:07:30,120 --> 00:07:31,940 Taxpayers should have access to that software. 111 00:07:31,940 --> 00:07:33,660 And I don't care what the software is. 112 00:07:33,720 --> 00:07:37,780 There are very, very few instances where I would think that that wouldn't be the case. 113 00:07:37,780 --> 00:07:43,800 And that comes down to really critical things like maybe an encryption algorithm for our top-secret network. 114 00:07:44,140 --> 00:07:45,580 Okay, maybe. 115 00:07:45,940 --> 00:07:47,880 But I think that we should be doing that. 116 00:07:47,880 --> 00:07:50,660 Okay, that's why I think it's all good, right? 117 00:07:50,660 --> 00:07:51,940 Let's talk about the challenges. 118 00:07:52,940 --> 00:07:54,000 More funny memes. 119 00:07:54,040 --> 00:07:55,880 These are all quotes. 120 00:07:55,940 --> 00:07:57,700 And in the slides, there are quotes around them. 121 00:07:57,700 --> 00:08:03,060 And the reason there are quotes around them is because these are things that people have actually told me, government officials have told me. 122 00:08:03,060 --> 00:08:05,660 The first one is, open-source software is insecure. 123 00:08:06,640 --> 00:08:08,080 We already talked about this. 124 00:08:08,080 --> 00:08:09,520 I'm not gonna dwell on this one. 125 00:08:09,520 --> 00:08:20,720 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. 126 00:08:21,220 --> 00:08:24,900 And they can't control that open-source library. 127 00:08:25,240 --> 00:08:33,380 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. 128 00:08:33,380 --> 00:08:34,580 They can't control what it's doing. 129 00:08:34,580 --> 00:08:35,880 They can't control the roadmap. 130 00:08:36,020 --> 00:08:43,900 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. 131 00:08:44,700 --> 00:08:47,140 The next quote is, it's illegal. 132 00:08:48,320 --> 00:08:54,520 Now, it's illegal applies both directions for open-source, consuming and publishing. 133 00:08:54,520 --> 00:08:58,080 They think that both consuming open-source and us publishing open-source is somehow illegal. 134 00:08:58,080 --> 00:09:00,520 And I say they, not all, right? 135 00:09:00,520 --> 00:09:02,920 There are a lot of government officials that are actually coming around. 136 00:09:02,920 --> 00:09:06,800 It has been changing in my eight or so years so far in the federal government. 137 00:09:06,800 --> 00:09:10,680 It has been shifting, but there's still people that think this. 138 00:09:10,720 --> 00:09:17,520 A lot of times this comes down to on the publication side, intellectual property rights. 139 00:09:17,800 --> 00:09:26,360 Because the fact is when a contractor writes our software, which is 95 plus percent of the time, they own the copyright. 140 00:09:26,520 --> 00:09:28,740 Even though we own the software, we get full data rights. 141 00:09:28,740 --> 00:09:29,400 We have full control. 142 00:09:29,400 --> 00:09:31,200 We can do whatever we want with the software. 143 00:09:31,760 --> 00:09:36,260 Technically speaking, according to the law, the contractor still owns the copyright. 144 00:09:37,020 --> 00:09:54,160 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. 145 00:09:54,160 --> 00:09:56,080 It doesn't say that we can only share internally. 146 00:09:56,080 --> 00:09:59,000 It says that we can share that as far and wide as we want. 147 00:09:59,400 --> 00:10:00,580 So it's not legal. 148 00:10:00,700 --> 00:10:06,420 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. 149 00:10:06,740 --> 00:10:07,700 They're wrong. 150 00:10:07,780 --> 00:10:11,960 There is actual court case precedent that says, no, you can. 151 00:10:12,680 --> 00:10:17,740 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. 152 00:10:18,380 --> 00:10:19,480 So it's not illegal. 153 00:10:20,560 --> 00:10:23,720 The next quote, we paid for it, it's ours. 154 00:10:25,180 --> 00:10:27,300 This is obviously more for the publication side. 155 00:10:28,160 --> 00:10:32,300 Someone's actually told me that, well , we paid for this software, why would we give it away for free? 156 00:10:32,300 --> 00:10:40,040 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? 157 00:10:40,180 --> 00:10:45,900 Because all of you paid for that software as taxpayers. 158 00:10:46,760 --> 00:10:49,160 They didn't pay for the software, you did. 159 00:10:49,160 --> 00:10:54,680 So it's not ours, the federal government, it's ours, the people of America. 160 00:10:55,880 --> 00:10:58,160 So no, your argument is moot. 161 00:10:59,080 --> 00:11:02,080 The other big challenge here is a lack of technical knowledge. 162 00:11:02,080 --> 00:11:04,840 And on the slide, what I've got is a picture of Admiral Grace Hopper. 163 00:11:04,840 --> 00:11:10,540 If you don't know Grace Hopper, you should absolutely Google her and look up her extensive career. 164 00:11:10,920 --> 00:11:16,660 Starting around the 70s though, we had a massive brain drain out of the federal government on technical personnel. 165 00:11:16,660 --> 00:11:23,980 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. 166 00:11:23,980 --> 00:11:26,480 And a lot of times, we just didn't have the workforce for that. 167 00:11:26,480 --> 00:11:27,940 And so we had to contract out. 168 00:11:28,080 --> 00:11:36,000 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. 169 00:11:36,000 --> 00:11:38,580 Because if we hire them, they're here. 170 00:11:38,660 --> 00:11:41,280 And then we can't really get rid of them, they're here. 171 00:11:41,280 --> 00:11:43,800 And the government doesn't know how to do that very well. 172 00:11:43,800 --> 00:11:50,360 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. 173 00:11:51,080 --> 00:11:59,560 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. 174 00:11:59,560 --> 00:12:07,000 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. 175 00:12:07,140 --> 00:12:08,420 No, that one's not. 176 00:12:08,420 --> 00:12:13,460 Or even to set up the process by which we select open source software, which I'm gonna talk about in a minute. 177 00:12:13,780 --> 00:12:15,620 So we trust contractors to do that. 178 00:12:15,620 --> 00:12:16,840 And do they do it right? 179 00:12:17,960 --> 00:12:25,540 No, I'm not gonna name a program, but there was a program that had open source software that had never been updated. 180 00:12:25,540 --> 00:12:27,740 They pulled it in six, seven years ago. 181 00:12:27,740 --> 00:12:28,920 They never changed it. 182 00:12:28,920 --> 00:12:30,340 They never updated it. 183 00:12:31,300 --> 00:12:33,920 No version updates, no bug fixes. 184 00:12:33,960 --> 00:12:35,580 They just let it stagnate. 185 00:12:36,180 --> 00:12:37,500 And that's the problem. 186 00:12:37,720 --> 00:12:39,620 We're trusting contractors to do these things. 187 00:12:39,620 --> 00:12:43,080 And we don't have the people on our side to say, no, that's not okay. 188 00:12:43,080 --> 00:12:44,180 Here's a better process. 189 00:12:44,180 --> 00:12:44,940 Do this. 190 00:12:46,080 --> 00:12:48,660 And the last part is stagnation. 191 00:12:49,520 --> 00:12:54,800 Stagnation in our personnel, not being active in the community, not being here. 192 00:12:55,000 --> 00:12:57,420 One of my colleagues is here in the front row. 193 00:12:57,420 --> 00:12:59,120 And that's amazing. 194 00:12:59,120 --> 00:13:03,700 But everyone from my former organization at DHS should be here. 195 00:13:03,780 --> 00:13:12,080 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. 196 00:13:12,080 --> 00:13:13,580 But they don't. 197 00:13:13,880 --> 00:13:16,120 And it's not just the people, it's also the software. 198 00:13:16,120 --> 00:13:17,480 The software stagnates. 199 00:13:17,480 --> 00:13:20,700 A lot of times we build it and then we put a big wall around it and then we just let it sit there. 200 00:13:20,740 --> 00:13:21,460 Oh no, it's working fine. 201 00:13:21,460 --> 00:13:22,300 What are you talking about? 202 00:13:22,300 --> 00:13:23,200 No, it's behind a wall. 203 00:13:23,200 --> 00:13:24,440 No one can get to it, right? 204 00:13:24,440 --> 00:13:26,620 Because no one can break through firewalls, right? 205 00:13:27,520 --> 00:13:28,120 Okay. 206 00:13:28,960 --> 00:13:30,360 So let's talk about the policy. 207 00:13:31,240 --> 00:13:34,060 The first policy we're gonna talk about is the Federal Source Code Policy. 208 00:13:34,180 --> 00:13:35,440 It's known as M1621. 209 00:13:35,440 --> 00:13:42,920 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. 210 00:13:42,920 --> 00:13:45,120 So it's come out at the very end of the Obama era. 211 00:13:45,120 --> 00:13:48,740 The Federal Source Code Policy establishes a number of things. 212 00:13:48,740 --> 00:13:55,140 It focuses a lot on the buy versus build argument in question and how we should be proceeding in doing that. 213 00:13:55,200 --> 00:13:58,240 But it does have a couple of other sections that are really important. 214 00:13:58,240 --> 00:14:00,340 Section five is on open source software. 215 00:14:00,440 --> 00:14:05,140 The first thing it did, it said we had to do a pilot program to release 20% of government software as open source. 216 00:14:05,560 --> 00:14:08,200 So 20% of what? 217 00:14:09,800 --> 00:14:14,220 See, a percentage is a fraction, 20 over 100. 218 00:14:14,220 --> 00:14:15,760 Okay, so what's the hundred? 219 00:14:16,320 --> 00:14:17,520 A hundred what? 220 00:14:18,200 --> 00:14:24,240 Lines of code, projects, modules, functions, files, budget, dollars? 221 00:14:25,500 --> 00:14:28,860 Didn't know, never said, never clarified. 222 00:14:28,860 --> 00:14:30,420 So obviously we didn't need that. 223 00:14:30,580 --> 00:14:32,520 No one met that, zero people met that. 224 00:14:33,500 --> 00:14:36,800 But that pilot ended in 2019, because it was a pilot in only three years. 225 00:14:36,800 --> 00:14:41,460 But the other thing it did is it talked a lot about participation in the open source community. 226 00:14:41,460 --> 00:14:50,660 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. 227 00:14:50,660 --> 00:14:51,720 And I think that was great. 228 00:14:51,720 --> 00:14:53,380 And so it did have a lot of good in it. 229 00:14:53,380 --> 00:14:55,180 It is still, in fact, by the way, policy. 230 00:14:55,180 --> 00:14:57,480 It has not been rescinded like a bunch of other policies. 231 00:14:57,600 --> 00:15:01,080 So all the things I'm gonna talk about are still active to my knowledge. 232 00:15:02,380 --> 00:15:05,320 It also had section four on government-wide code reuse. 233 00:15:05,320 --> 00:15:07,920 Now you might say government-wide code reuse, sure, whatever. 234 00:15:07,920 --> 00:15:09,020 How does that affect me? 235 00:15:09,380 --> 00:15:15,200 Yeah, see, if I'm gonna share code from one government agency to another, you know the easiest way to do that? 236 00:15:16,100 --> 00:15:17,280 Open source it. 237 00:15:17,680 --> 00:15:22,440 Because trying to share it without open sourcing it is actually much, much harder. 238 00:15:22,740 --> 00:15:23,700 So this was really important. 239 00:15:23,700 --> 00:15:30,900 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. 240 00:15:30,920 --> 00:15:32,660 It said it must be in all of our IT contracts. 241 00:15:32,660 --> 00:15:35,560 And the other thing it said is we have to set up a code inventory. 242 00:15:36,040 --> 00:15:39,340 Not an open source code inventory, just a code inventory. 243 00:15:39,340 --> 00:15:43,460 If I create a custom-developed software project, I have to add that to this code inventory. 244 00:15:43,460 --> 00:15:48,180 That inventory must be on the root of the domain for that agency, so dhs.gov. 245 00:15:48,180 --> 00:15:53,000 In fact, you can go right now to dhs.gov slash code.json and you can see our inventory. 246 00:15:53,860 --> 00:15:56,680 As much as I tried, it is not very good. 247 00:15:57,300 --> 00:15:59,420 And by not very good, I mean not very complete, right? 248 00:15:59,420 --> 00:16:01,060 And none of the agencies are very complete. 249 00:16:02,440 --> 00:16:09,780 So the last thing that it set up is an organization under GSA called code.gov and, of course, a website called code.gov. 250 00:16:09,780 --> 00:16:20,320 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. 251 00:16:20,680 --> 00:16:22,720 Unfortunately, code.gov no longer exists. 252 00:16:22,820 --> 00:16:24,700 To be fair, it hasn't existed for a few years. 253 00:16:24,700 --> 00:16:26,360 This is not a current administration thing. 254 00:16:26,360 --> 00:16:27,780 It just kind of fizzled out. 255 00:16:27,780 --> 00:16:31,540 It didn't have the right kind of funding, but we have a replacement. 256 00:16:31,540 --> 00:16:37,660 It's digital.gov, and so the policies and information that code.gov held is now on digital.gov. 257 00:16:38,080 --> 00:16:40,380 It will actually redirect you to the right place. 258 00:16:42,240 --> 00:16:51,060 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. 259 00:16:51,060 --> 00:16:52,200 Yes, it is an acronym. 260 00:16:52,200 --> 00:16:53,740 I don't care what it stands for. 261 00:16:54,240 --> 00:16:55,260 It's interesting, though. 262 00:16:55,260 --> 00:17:01,180 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. 263 00:17:01,700 --> 00:17:07,140 Another thing it says is that you have to require government-wide code access and reuse. 264 00:17:07,140 --> 00:17:11,420 And then the third thing it says is you have to have a code inventory of all your custom-developed software. 265 00:17:11,640 --> 00:17:12,440 Crazy, right? 266 00:17:13,060 --> 00:17:15,400 They basically just took what was in code.gov. 267 00:17:15,400 --> 00:17:18,820 They had some person that was a staffer for the sponsors. 268 00:17:18,820 --> 00:17:19,920 I forget the sponsors' names. 269 00:17:20,080 --> 00:17:24,320 And they had been with code.gov, and they just basically pulled in all the things, which is great. 270 00:17:24,440 --> 00:17:28,920 And you might say, well, then why do you bother having that if you've got M1621, the federal source code policy? 271 00:17:29,800 --> 00:17:33,040 Law cannot be rescinded by the executive branch. 272 00:17:33,800 --> 00:17:44,120 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. 273 00:17:45,480 --> 00:17:51,380 You can't see it, but I've got an example of the code.json file, the metadata for the inventory. 274 00:17:51,380 --> 00:17:55,120 So if you go to the slides, you can see an example of that. 275 00:17:55,120 --> 00:17:59,540 But again, you can go to ghs.gov slash code.json, and you can see the actual full file. 276 00:17:59,660 --> 00:18:04,260 And the last one for policy is EO14144. 277 00:18:04,260 --> 00:18:05,600 EO stands for executive order. 278 00:18:05,600 --> 00:18:07,260 So this was a presidential executive order. 279 00:18:07,260 --> 00:18:13,600 It actually came out in January 25, which means it was a Biden-era order, but it is in fact still in place. 280 00:18:13,600 --> 00:18:16,000 They did some edits to that cybersecurity policy. 281 00:18:16,000 --> 00:18:19,500 Title was strengthening and promoting innovation in the nation's cybersecurity. 282 00:18:20,180 --> 00:18:32,360 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. 283 00:18:32,820 --> 00:18:34,300 Now they haven't released that yet. 284 00:18:34,300 --> 00:18:39,460 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. 285 00:18:39,740 --> 00:18:42,640 They were waiting for that to get published because I basically wrote it for them. 286 00:18:43,320 --> 00:18:46,100 But then we were waiting for that to get published, so they didn't publish theirs. 287 00:18:46,100 --> 00:18:52,640 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? 288 00:18:52,640 --> 00:18:54,900 That guidance is not for DHS. 289 00:18:54,900 --> 00:18:57,720 It is for the entire federal government on how to do that well. 290 00:18:57,720 --> 00:18:59,880 And I think that's gonna be some really good things. 291 00:18:59,880 --> 00:19:03,880 And hopefully that will come out sometime in the next, I'm hoping in the next few months. 292 00:19:04,880 --> 00:19:09,980 There's a whole bunch of other agency open source policies, right, not at the federal level, but within the agency. 293 00:19:09,980 --> 00:19:11,480 Unfortunately, there's not a ton. 294 00:19:12,220 --> 00:19:17,140 If you go to the slides, you'll see some links, but DHS and DoD, obviously. 295 00:19:17,200 --> 00:19:18,820 CMS has a pretty good policy. 296 00:19:18,820 --> 00:19:19,780 Very happy with that. 297 00:19:19,780 --> 00:19:27,220 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... 298 00:19:27,220 --> 00:19:30,480 CMS, the Centers for Medicare and Medicaid Services within HHS. 299 00:19:30,860 --> 00:19:32,720 NASA has a really good policy. 300 00:19:32,720 --> 00:19:34,740 GSA, CFPB, CISA. 301 00:19:34,940 --> 00:19:38,880 But unfortunately, most of those are focused on the publication of open source. 302 00:19:38,880 --> 00:19:41,960 And they don't talk about the consumption of open source. 303 00:19:41,960 --> 00:19:43,940 So we're gonna talk about that in just a little bit. 304 00:19:44,220 --> 00:19:46,180 I wanna talk about the reality, right? 305 00:19:46,180 --> 00:19:49,280 So we're into the next section, the reality of open source, what's actually happening. 306 00:19:49,400 --> 00:19:51,520 You might ask if anyone's actually sharing code. 307 00:19:52,120 --> 00:19:54,760 Again, on the slides, you've got a link there, but I'll just read it out. 308 00:19:54,760 --> 00:19:58,160 Government.github.com slash community. 309 00:19:58,480 --> 00:20:00,460 Although you can go to the base URL as well. 310 00:20:00,460 --> 00:20:17,600 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. 311 00:20:17,740 --> 00:20:20,060 So if you scroll down in that to the U.S. 312 00:20:20,060 --> 00:20:21,980 federal, there are 164 U.S. 313 00:20:21,980 --> 00:20:28,940 federal agencies or agency organizations within that that have GitHub organizations and code up there. 314 00:20:29,520 --> 00:20:31,560 So yes, it is happening. 315 00:20:31,560 --> 00:20:33,920 In fact, publishing open source all the time. 316 00:20:34,540 --> 00:20:38,700 Some just very few examples, SC Linux, Security Enhanced Linux. 317 00:20:38,880 --> 00:20:40,420 Yeah, people probably are familiar with that. 318 00:20:41,060 --> 00:20:43,120 That was developed by the National Security Agency. 319 00:20:43,360 --> 00:20:45,600 It was open source in the year 2000. 320 00:20:46,020 --> 00:20:48,000 The federal government has been doing open source for a long time. 321 00:20:48,000 --> 00:20:49,200 This is not new. 322 00:20:49,660 --> 00:20:51,020 Some organizations are better than others. 323 00:20:51,020 --> 00:20:52,500 The NSA happened to be one of the better ones. 324 00:20:52,500 --> 00:20:53,640 And that's just owned by the community now. 325 00:20:53,640 --> 00:20:54,860 It's not owned by NSA anymore. 326 00:20:54,900 --> 00:20:56,600 Now it's just a module within the kernel. 327 00:20:56,600 --> 00:21:00,040 So it's not like its own standalone thing, a standalone distribution. 328 00:21:00,560 --> 00:21:01,020 The U.S. 329 00:21:01,020 --> 00:21:05,920 Web Design System, which is run by GSA, specifically the Technology and Transformation Services. 330 00:21:06,000 --> 00:21:06,360 The U.S. 331 00:21:06,360 --> 00:21:09,080 Web Design System is a web design system, right? 332 00:21:09,240 --> 00:21:13,460 It is in fact required to be used by any new websites developed by the federal government. 333 00:21:13,460 --> 00:21:14,660 It is completely open source. 334 00:21:14,660 --> 00:21:18,100 Any of you could go and find that out in GitHub and contribute fixes to it. 335 00:21:18,100 --> 00:21:19,440 There are some React modules. 336 00:21:19,440 --> 00:21:22,800 There's just some straight up CSS and HTML components. 337 00:21:22,860 --> 00:21:24,340 It's very good. 338 00:21:24,660 --> 00:21:27,060 Open MCT released by NASA. 339 00:21:27,060 --> 00:21:29,160 It's a mission control framework. 340 00:21:29,740 --> 00:21:35,460 So if you want to launch some rockets and have a mission control dashboard, NASA got you covered. 341 00:21:36,340 --> 00:21:41,120 And the last one we'll talk about is one of the most recent big systems that's been released, IRS Direct File. 342 00:21:41,120 --> 00:21:42,520 Did anyone actually use Direct File? 343 00:21:42,680 --> 00:21:43,180 Yeah. 344 00:21:43,180 --> 00:21:43,740 Okay, one. 345 00:21:43,740 --> 00:21:44,240 That's okay. 346 00:21:44,240 --> 00:21:46,040 It's only a limited number of states, right? 347 00:21:46,160 --> 00:21:56,580 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. 348 00:21:56,580 --> 00:21:58,720 The one guy that raised his hand, I'm guessing, had a really good experience. 349 00:21:58,720 --> 00:22:00,220 You should go talk to him. 350 00:22:02,040 --> 00:22:03,000 And raised his hand, there he is. 351 00:22:03,000 --> 00:22:04,360 He's wearing a DEF CON hat. 352 00:22:04,800 --> 00:22:08,480 It's a great system and 100% of it is open source. 353 00:22:08,480 --> 00:22:17,200 Not just the code, all the infrastructure, all the documentation, all the design artifacts, all the build artifacts, everything, up on the IRS GitHub. 354 00:22:17,880 --> 00:22:20,180 Okay, so how much is really open? 355 00:22:20,460 --> 00:22:25,320 Unfortunately, the only information on this slide is a crying emoji. 356 00:22:26,820 --> 00:22:28,160 That's just how it is. 357 00:22:28,160 --> 00:22:30,140 So what about upstream open source, right? 358 00:22:30,140 --> 00:22:31,340 We've been talking about publication a little bit. 359 00:22:31,340 --> 00:22:34,180 What about upstream things that we rely on, that we consume? 360 00:22:34,240 --> 00:22:40,360 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. 361 00:22:40,480 --> 00:22:45,240 We have hundreds of thousands of IT systems across the entire federal government. 362 00:22:46,300 --> 00:22:53,520 I would argue that it would be difficult to find a single one that doesn't rely somehow on open source. 363 00:22:54,080 --> 00:22:55,340 Is it written in Python? 364 00:22:55,640 --> 00:22:56,200 Well, guess what? 365 00:22:56,200 --> 00:22:56,960 Open source. 366 00:22:58,160 --> 00:23:02,180 I mean, they're all relying on open source somehow, someway. 367 00:23:02,180 --> 00:23:20,140 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. 368 00:23:20,140 --> 00:23:22,360 We're just, we're real bad consumers. 369 00:23:22,740 --> 00:23:24,600 So let's talk about what that is. 370 00:23:24,600 --> 00:23:28,540 What's the process for using open source, for consuming open source in the federal government? 371 00:23:28,900 --> 00:23:33,740 So you might be in an organization where the first step might be you select what you wanna use, right? 372 00:23:33,740 --> 00:23:35,460 So you might have some criteria. 373 00:23:35,480 --> 00:23:38,160 You look it up, you see, oh, well, this one's pretty good. 374 00:23:38,460 --> 00:23:42,680 It's been updated recently, has a good release cadence, does what I need it to do. 375 00:23:42,680 --> 00:23:44,180 Oh, it's got good documentation. 376 00:23:44,520 --> 00:23:46,180 Maybe you see some tests in there, right? 377 00:23:46,180 --> 00:23:49,100 You see, oh yeah, look, they're running GitHub Actions. 378 00:23:49,100 --> 00:23:51,020 They've got some continuous integration going on, right? 379 00:23:51,060 --> 00:23:52,260 You might look at all of that. 380 00:23:52,260 --> 00:23:53,160 You know what we do? 381 00:23:53,440 --> 00:23:54,780 Oh, that does the thing we want. 382 00:23:56,040 --> 00:23:58,080 And that's our selection process. 383 00:23:58,740 --> 00:24:02,360 And I say that generally, obviously there are organizations that are doing it much better. 384 00:24:02,460 --> 00:24:09,460 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. 385 00:24:09,460 --> 00:24:16,340 For the most part, we let a contractor pull in whatever code they want, and we rarely do anything about it. 386 00:24:16,340 --> 00:24:17,900 Now we scan our systems, right? 387 00:24:17,900 --> 00:24:22,580 We scan our systems, our network operations center will scan our systems. 388 00:24:23,040 --> 00:24:25,280 They don't find open source code that often. 389 00:24:25,280 --> 00:24:25,620 You know why? 390 00:24:25,620 --> 00:24:26,960 Because it's usually built, right? 391 00:24:26,960 --> 00:24:27,800 It's built in. 392 00:24:27,800 --> 00:24:29,860 They're looking for binaries. 393 00:24:29,860 --> 00:24:31,600 They're looking for packages. 394 00:24:31,600 --> 00:24:37,740 They're looking for things that wouldn't be an open source code library that's pulled into your base code. 395 00:24:37,740 --> 00:24:43,300 They don't find those issues, generally speaking, unless there's some identifier that they can hook onto. 396 00:24:43,300 --> 00:24:45,220 They often do not find it. 397 00:24:46,120 --> 00:24:47,900 So what about the actual consumption process, right? 398 00:24:47,900 --> 00:24:56,780 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? 399 00:24:56,780 --> 00:25:02,380 And then you have a build process that maybe kicks off whenever you submit a pull request, right? 400 00:25:02,380 --> 00:25:05,100 That like builds your app and then like run some tests and stuff. 401 00:25:05,100 --> 00:25:09,840 And then you might have something that like flags it, maybe like a dependabot on GitHub, right? 402 00:25:09,840 --> 00:25:11,520 You know, it says, oh, this one's got an update, right? 403 00:25:11,520 --> 00:25:11,980 Yeah. 404 00:25:11,980 --> 00:25:15,620 And we don't do any of that, any of it. 405 00:25:15,640 --> 00:25:19,640 Our updates to open source libraries for versions is almost always manual. 406 00:25:20,520 --> 00:25:24,140 Someone has to go in and say, oh, it's time to update our dependencies. 407 00:25:24,140 --> 00:25:25,460 And they will go and do that. 408 00:25:25,900 --> 00:25:27,760 Now, do they do that on a regular basis? 409 00:25:28,180 --> 00:25:29,740 Maybe, probably not. 410 00:25:30,140 --> 00:25:34,920 Do they do a valid check to see that those new versions don't have any conflicts? 411 00:25:34,920 --> 00:25:37,620 Like, I don't know, the license changed. 412 00:25:37,860 --> 00:25:40,180 Anyone go through the React license change? 413 00:25:40,600 --> 00:25:47,620 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. 414 00:25:47,620 --> 00:25:48,900 Do we check for that? 415 00:25:48,900 --> 00:25:49,780 No. 416 00:25:50,260 --> 00:25:53,460 Do we check that the release doesn't introduce any new bugs? 417 00:25:53,460 --> 00:25:54,160 Maybe. 418 00:25:54,940 --> 00:25:56,120 But this is the problem, right? 419 00:25:56,120 --> 00:26:00,500 We don't have, generally speaking, automated processes for that consumption. 420 00:26:00,500 --> 00:26:03,480 We don't have good checks on that consumption process. 421 00:26:03,480 --> 00:26:05,240 And so we need to be doing better at that. 422 00:26:05,900 --> 00:26:07,320 And the last bit is the contribution. 423 00:26:07,320 --> 00:26:11,600 And this is just a complete and utter fail across the federal government writ large. 424 00:26:11,600 --> 00:26:15,660 You heard about some good examples of us publishing open source, but I'm not talking about that. 425 00:26:15,660 --> 00:26:19,740 I'm talking about us contributing to the libraries that we absolutely depend on. 426 00:26:20,160 --> 00:26:21,960 We do not do that. 427 00:26:22,200 --> 00:26:28,240 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. 428 00:26:28,240 --> 00:26:30,020 It's just really inefficient for what we're doing. 429 00:26:30,020 --> 00:26:35,960 It was doing some kind of XML parsing, and the XML files we were passing in were massive, like a megabyte. 430 00:26:37,060 --> 00:26:39,680 And I was like, well, I wonder why it's so inefficient. 431 00:26:39,680 --> 00:26:41,160 And he said, well, it's because of this. 432 00:26:41,160 --> 00:26:43,900 It does this check, this specific check. 433 00:26:43,960 --> 00:26:45,320 And I was like, oh, well, do we need that check? 434 00:26:45,320 --> 00:26:46,340 And he's like, well, no, we don't. 435 00:26:46,340 --> 00:26:47,780 But there's no way to disable it in the library. 436 00:26:47,780 --> 00:26:50,700 I'm like, okay, well, did you submit a GitHub issue? 437 00:26:51,020 --> 00:26:53,760 Like, see if we can add a flag to not do that check. 438 00:26:54,820 --> 00:26:58,120 And it was just, you know, like, what are you talking about? 439 00:26:58,120 --> 00:26:58,740 We can't do that. 440 00:26:58,740 --> 00:26:59,720 I was like, yes, you can. 441 00:27:00,300 --> 00:27:01,480 He filed an issue in GitHub. 442 00:27:01,480 --> 00:27:05,280 The next day, the maintainer was like, oh yeah, that's a really good flag. 443 00:27:05,280 --> 00:27:06,520 Yeah, I can get that done. 444 00:27:06,560 --> 00:27:11,680 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. 445 00:27:13,080 --> 00:27:14,880 The government doesn't do this. 446 00:27:14,880 --> 00:27:17,280 And that, I would consider that a contribution, right? 447 00:27:17,280 --> 00:27:19,660 They didn't write the code, but they kicked off that. 448 00:27:19,660 --> 00:27:20,720 That is a contribution. 449 00:27:21,640 --> 00:27:22,500 What if we find a bug? 450 00:27:22,500 --> 00:27:29,000 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? 451 00:27:29,000 --> 00:27:29,680 What do we do? 452 00:27:30,440 --> 00:27:31,220 We fix it, right? 453 00:27:31,220 --> 00:27:32,320 Obviously we're gonna fix it. 454 00:27:32,320 --> 00:27:33,260 And then what do we do? 455 00:27:34,100 --> 00:27:35,860 Keep that in our nice little walls. 456 00:27:36,560 --> 00:27:38,260 And we do not contribute that back up. 457 00:27:38,260 --> 00:27:39,520 And why don't we do that? 458 00:27:39,580 --> 00:27:43,140 In part, it's because we don't pay contractors to do that. 459 00:27:43,640 --> 00:27:45,920 We pay contractors to write our systems. 460 00:27:46,620 --> 00:27:48,720 We don't pay them to give away that code for free. 461 00:27:48,760 --> 00:27:49,440 We paid for it. 462 00:27:49,440 --> 00:27:50,340 It's ours. 463 00:27:51,780 --> 00:27:52,780 Hey, remember that line? 464 00:27:53,040 --> 00:27:54,480 That's where it comes up. 465 00:27:54,780 --> 00:27:56,000 So what do we do about that? 466 00:27:56,000 --> 00:27:57,240 I'm gonna talk about that. 467 00:27:57,480 --> 00:27:59,200 So let's talk about the possibilities. 468 00:27:59,980 --> 00:28:01,020 I have three goals here. 469 00:28:01,020 --> 00:28:04,160 The first goal is for us to increase open source publication. 470 00:28:04,160 --> 00:28:05,500 I think we've got to do that. 471 00:28:05,500 --> 00:28:07,580 There's no reason we shouldn't be doing that. 472 00:28:07,740 --> 00:28:09,220 There's absolutely no legal reason. 473 00:28:09,220 --> 00:28:10,140 There's no security reason. 474 00:28:10,140 --> 00:28:13,500 There's no reason that we shouldn't be publishing more open source. 475 00:28:13,500 --> 00:28:14,880 No, we're not gonna get to 100%. 476 00:28:15,780 --> 00:28:17,340 We could get to 20. 477 00:28:17,480 --> 00:28:18,280 20 what? 478 00:28:18,280 --> 00:28:19,080 I don't know. 479 00:28:20,120 --> 00:28:21,000 Projects. 480 00:28:21,240 --> 00:28:21,940 Something. 481 00:28:21,940 --> 00:28:23,480 We could do better. 482 00:28:23,920 --> 00:28:26,680 We need clear guidance on that process though. 483 00:28:27,280 --> 00:28:29,460 Because people flounder at that point. 484 00:28:29,460 --> 00:28:30,680 But how do I do it? 485 00:28:30,680 --> 00:28:31,380 What are the steps? 486 00:28:31,380 --> 00:28:32,440 What do I need to do first? 487 00:28:32,440 --> 00:28:34,800 You don't just hit the button in public. 488 00:28:35,540 --> 00:28:36,580 What do you do? 489 00:28:36,580 --> 00:28:37,740 What is that process? 490 00:28:37,860 --> 00:28:43,980 We need to build more modular systems that are reusable components for that government wide code reuse. 491 00:28:43,980 --> 00:28:45,660 We have a big monolithic system. 492 00:28:45,660 --> 00:28:46,840 No, break it up. 493 00:28:46,840 --> 00:28:51,080 Have a module that does X that could be reused to do X somewhere else. 494 00:28:51,080 --> 00:28:53,160 We don't build that way, but we should. 495 00:28:53,700 --> 00:28:57,540 We need to make it a contractor requirement for this to be open source. 496 00:28:57,700 --> 00:28:59,920 When I was at DoD, I wrote a contract. 497 00:28:59,920 --> 00:29:00,840 I wrote a contract. 498 00:29:00,840 --> 00:29:02,660 The contracting officer wrote a contract. 499 00:29:02,760 --> 00:29:04,360 I told them how to write it. 500 00:29:04,440 --> 00:29:08,580 Where the delivery from the contractor was by GitHub URL. 501 00:29:10,240 --> 00:29:18,520 So the entire delivery of that contract had to be a GitHub URL on a public open source repository. 502 00:29:18,520 --> 00:29:20,740 And it had to have 100% of the things. 503 00:29:20,740 --> 00:29:26,840 We had to be able to run that system, build and run that system using only the information at that GitHub URL. 504 00:29:28,320 --> 00:29:29,820 This is not that hard. 505 00:29:30,140 --> 00:29:31,800 All your infrastructure is code. 506 00:29:31,800 --> 00:29:35,000 All your build artifacts, your CI pipeline, all this stuff. 507 00:29:35,000 --> 00:29:36,600 It should all be in that repo. 508 00:29:36,620 --> 00:29:38,040 This was not a big system. 509 00:29:38,600 --> 00:29:40,020 But we should be able to do that. 510 00:29:40,020 --> 00:29:43,440 We should make it a contractor requirement that this thing is delivered as open source. 511 00:29:43,480 --> 00:29:45,500 And lastly, we need to enforce secure coding practices. 512 00:29:45,500 --> 00:29:47,420 And that's actually starting to happen. 513 00:29:47,500 --> 00:29:58,040 So NIST, the National Institute of Science and Technology, they've released standards for secure software development, SSDF, the Secure Software Development Framework. 514 00:29:58,480 --> 00:30:00,460 Contractors actually have to be following that. 515 00:30:00,500 --> 00:30:01,320 Do they? 516 00:30:02,200 --> 00:30:03,300 Not so much. 517 00:30:03,300 --> 00:30:05,980 But we should be enforcing those secure coding practices. 518 00:30:05,980 --> 00:30:07,180 Okay, goal number two. 519 00:30:07,600 --> 00:30:12,160 We need to secure our government systems because they are not great. 520 00:30:12,260 --> 00:30:16,100 And I'll talk about that a little bit about how you can maybe help us with that. 521 00:30:16,280 --> 00:30:21,180 For the first thing there is we need to have a baseline for how we select open source software. 522 00:30:21,680 --> 00:30:22,600 What are the criteria? 523 00:30:22,600 --> 00:30:23,620 What do you look for? 524 00:30:23,860 --> 00:30:26,160 I need to see the release cadence. 525 00:30:26,180 --> 00:30:30,320 If you haven't done a release in three years, I'm not gonna let you use that open source software. 526 00:30:30,320 --> 00:30:31,320 I'm sorry, I'm just not. 527 00:30:31,620 --> 00:30:38,640 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. 528 00:30:39,200 --> 00:30:42,360 I need to make sure there's some sort of tests or scans or something. 529 00:30:42,360 --> 00:30:43,480 There's gotta be something, right? 530 00:30:43,480 --> 00:30:45,380 I have to have something to latch on to. 531 00:30:45,660 --> 00:30:48,560 We need to automate the open source scanning and approval process. 532 00:30:48,560 --> 00:30:53,120 So right now, if I wanna use this piece of open source software and I've done that selection, then what? 533 00:30:53,500 --> 00:30:54,600 Who says yes? 534 00:30:55,380 --> 00:30:56,840 It's a manual process. 535 00:30:56,840 --> 00:31:01,980 And we end up going up to our information security, our ISM, information soft, information? 536 00:31:03,240 --> 00:31:04,100 There we go. 537 00:31:04,100 --> 00:31:08,380 You go up to your ISM and you say, hey, Christy, can I use this? 538 00:31:09,480 --> 00:31:10,580 Does Christy know? 539 00:31:10,920 --> 00:31:12,960 Does Christy have any idea what you're talking about? 540 00:31:12,960 --> 00:31:13,720 No. 541 00:31:14,640 --> 00:31:19,080 So she says no, which makes sense until you show her all these artifacts. 542 00:31:19,080 --> 00:31:22,460 No, we've got to approve that in a more automated way. 543 00:31:24,040 --> 00:31:25,860 We need to start using mirrors. 544 00:31:25,900 --> 00:31:26,960 We do not. 545 00:31:27,520 --> 00:31:34,100 We pull from PyPy, we pull from NPM, we pull from Maven, straight in. 546 00:31:34,160 --> 00:31:35,040 It's totally fine, right? 547 00:31:35,040 --> 00:31:36,640 What could possibly go wrong? 548 00:31:37,620 --> 00:31:38,280 Okay. 549 00:31:38,500 --> 00:31:42,480 And we need better guidance on when we update that open source software. 550 00:31:42,760 --> 00:31:43,940 What's the cadence? 551 00:31:43,940 --> 00:31:45,040 What's the trigger? 552 00:31:45,700 --> 00:31:46,740 When should we be doing that? 553 00:31:46,740 --> 00:31:48,140 And how should we be doing that? 554 00:31:48,480 --> 00:31:54,760 Goal number three, we, the federal government, need to support a better, secure, open source ecosystem. 555 00:31:54,820 --> 00:31:56,100 What does that mean? 556 00:31:56,100 --> 00:32:04,080 We need to be contributing 100% of security fixes that our contractors write back upstream. 557 00:32:04,260 --> 00:32:06,340 There should be absolutely no exceptions. 558 00:32:06,340 --> 00:32:10,720 If we create a security fix for an open source library, we must contribute that back upstream. 559 00:32:10,720 --> 00:32:16,780 That should be a contractual requirement that every federal contractor must do that. 560 00:32:17,120 --> 00:32:19,500 Bugs, I think they should too. 561 00:32:19,800 --> 00:32:21,300 Enhancements, yeah, sure. 562 00:32:21,380 --> 00:32:22,840 Documentation, great, let's do it. 563 00:32:22,840 --> 00:32:25,560 But security fixes, no one should be arguing with that. 564 00:32:25,680 --> 00:32:48,480 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. 565 00:32:50,120 --> 00:32:56,900 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. 566 00:32:57,460 --> 00:33:15,000 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. 567 00:33:16,060 --> 00:33:18,100 There's an example for this. 568 00:33:18,100 --> 00:33:20,800 In Germany, they have the Sovereign Tech Fund. 569 00:33:20,840 --> 00:33:22,800 They give grants as low as $1,000. 570 00:33:22,800 --> 00:33:28,980 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. 571 00:33:29,140 --> 00:33:31,240 They have bigger ones up to like a million dollars. 572 00:33:31,800 --> 00:33:38,580 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. 573 00:33:38,960 --> 00:33:42,600 In fact, I think much more of the world should be doing the same thing, but you know what? 574 00:33:42,720 --> 00:33:44,840 We've got lots of money, let's do it. 575 00:33:45,740 --> 00:33:48,320 And lastly, we need to be a more active participant in the community, right? 576 00:33:48,320 --> 00:34:02,200 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, 577 00:34:02,200 --> 00:34:04,100 Apache Foundation, Linux Foundation, et cetera. 578 00:34:04,100 --> 00:34:08,560 We should be participating in all of that, we should be active in all of that. 579 00:34:10,160 --> 00:34:13,040 Okay, last section, what can you do? 580 00:34:13,800 --> 00:34:15,940 If you're a federal contractor, federal contractors? 581 00:34:16,640 --> 00:34:17,700 Eh, a couple. 582 00:34:17,860 --> 00:34:22,060 Okay, as a federal contractor, do better. 583 00:34:23,220 --> 00:34:28,020 I'm sorry, but contractors, you just, we rely on them too much. 584 00:34:28,020 --> 00:34:29,540 You've got to do better. 585 00:34:29,660 --> 00:34:33,080 If you're a government employee, I know I've got at least one. 586 00:34:33,440 --> 00:34:34,580 Ooh, look at you. 587 00:34:34,860 --> 00:34:36,360 How'd you get money to get here? 588 00:34:38,560 --> 00:34:41,340 I'm honestly curious. 589 00:34:41,360 --> 00:34:43,600 At my last conference, it was just because they were all local. 590 00:34:44,040 --> 00:34:45,400 They all just lived there. 591 00:34:45,400 --> 00:34:47,960 As a federal employee, you need to be pushing for this, right? 592 00:34:48,220 --> 00:34:51,280 If you're in the contracting space, you should be pushing for that in your contracts. 593 00:34:51,280 --> 00:34:54,840 If you're in the IT space, you should be pushing for that in your contracts. 594 00:34:55,280 --> 00:34:59,520 If you're in the program management space, you should be pushing for this in your contracts. 595 00:35:00,260 --> 00:35:01,640 I think I got that point across. 596 00:35:02,640 --> 00:35:07,640 And lastly, for the rest of us, if you're a private individual, there's all sorts of things you can be doing. 597 00:35:07,740 --> 00:35:15,580 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. 598 00:35:15,580 --> 00:35:18,920 Some of them will accept your contributions, but go and find a cool project. 599 00:35:19,180 --> 00:35:19,980 Promote it. 600 00:35:20,080 --> 00:35:21,240 Say, hey, this is really cool. 601 00:35:22,040 --> 00:35:24,820 Maybe fork it and create better if it's stagnant. 602 00:35:24,820 --> 00:35:32,360 And the last bit is to maybe submit a vulnerability or participate in one of our very many bug bounty programs. 603 00:35:32,360 --> 00:35:44,700 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. 604 00:35:45,080 --> 00:35:54,540 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. 605 00:35:54,540 --> 00:36:04,120 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. 606 00:36:04,240 --> 00:36:10,660 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. 607 00:36:12,360 --> 00:36:13,560 That's it for me. 608 00:36:13,680 --> 00:36:14,520 I want to thank you so much. 609 00:36:14,520 --> 00:36:16,000 I'm sorry I couldn't show you slides. 610 00:36:16,000 --> 00:36:17,920 I'm going to read off the URL one more time. 611 00:36:18,220 --> 00:36:19,260 JordanCasper.com. 612 00:36:19,260 --> 00:36:28,020 That's with a K, K-A-S-P-E-R, JordanCasper.com slash O-S-S dash N-I-N dash gov. 613 00:36:28,140 --> 00:36:29,120 So you're going to get those slides. 614 00:36:29,120 --> 00:36:36,820 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. 615 00:36:36,820 --> 00:36:38,100 So feel free to check those out. 616 00:36:38,400 --> 00:36:39,160 That's it for me. 617 00:36:39,160 --> 00:36:42,480 I am Jake Arella, J-A-K-E-R-E-L-L-A online. 618 00:36:42,480 --> 00:36:44,000 Find me, I'm wearing the pink hoodie. 619 00:36:44,000 --> 00:36:45,380 I'll be wearing the hat all weekend. 620 00:36:45,440 --> 00:36:46,860 I'll be hanging out by the policy room. 621 00:36:46,860 --> 00:36:51,460 We've got a fun CTF that I may or may not have designed. 622 00:36:51,460 --> 00:36:53,600 So come check out our CTF and thank you. 623 00:36:53,600 --> 00:36:54,320 Appreciate it.