start	end	text
13980	20440	So, my name is Remy DeCosmaker and I'm the open source lead at the Centers for Medicare and Medicaid Services.
21460	27460	I'm going to be talking today about establishing the first open source program office at a federal agency in the United States.
27460	37880	This is my first DEF CON, and before I even get started, I just want to say it is amazing to be here and thank you for all of the hackers and contributors, forerunners of this whole thing.
37880	41720	I would not be doing the work that I'm doing without the work that all of you do.
41720	44240	So thank you everyone for your contributions.
49130	49770	So.
52530	55650	Yeah, sorry, can't see the thing too good.
58350	71750	All right, so first we're going to talk about CMS and the OSPO, then we're going to talk about how the open source program office reduces duplicate work, how we reduce risk, why that's important, and also how folks can help.
72070	73270	So.
73810	75310	What do we do?
75310	81250	Well, the digital service at CMS, we help to improve the design and experience of health care services.
81390	86110	We deliver value for patients, providers and health care workers.
86110	90430	We help to modernize systems and we participate in policy development.
90430	95090	And we do that by hiring great talent.
95090	106710	We have small groups of designers, product folks, engineers and others who work on a tour of duty to work alongside of dedicated civil servants.
106710	114210	And these multidisciplinary teams bring best practices and new approaches to modernizing the government.
115330	118170	And who do we serve?
118170	119590	We serve the American people.
119590	126010	There are over close to 180 million people that depend on the services that we provide.
126030	129330	Sixty five million Medicare beneficiaries.
129330	133190	That's over 65 years old of age.
133190	140330	Folks on Medicaid who are in vulnerable financial positions or have disabilities.
140330	144590	And healthcare.gov is the insurance marketplace where people can go to find plans.
146230	157570	And we serve taxpayers, about 1.7 trillion dollars of taxes, 12 percent of the federal budget roughly goes to CMS.
157570	165350	We pay out about 829 billion dollars in Medicare and about 646 billion dollars in Medicaid.
165350	174210	I've heard, you know, citation needed, something like three to five percent of the GDP rolls through our servers and infrastructure on a regular basis.
174730	180070	And there are about 6,000 employees that we have working at CMS.
180070	182950	There are also about 1.4 million providers.
183070	189270	That totals about 20 percent of the national health care spending that goes to Medicare.
189770	192970	So how do we do open source at CMS?
192970	196570	Well, we have policies, projects and programs.
196570	202370	So policies are how do we inbound and outbound open source code and contributions.
202370	212350	Projects are how do we solve the real world problems by working in the open and programs are about how do we measure and manage those contributions, projects, risks and opportunities.
214990	222950	And in government speak, a functional statement is sort of like your mission statement for what your team or your group does.
222950	236490	Ours is we establish and maintain guidance, policies, practices and pipelines that advance equity, build trust and amplify impact across CMS, HHS and the federal open source ecosystem by working and sharing openly.
236630	254330	The cool thing about this functional statement is that as of yesterday, if you go to whitehouse.gov slash ONCD for the Office of the National Cyber Director, they put out a fact sheet for the end of the year report for the Open Source Software Security Initiative,
254330	257310	OS3I, which has been mentioned here before.
257310	260750	Last year, the RFI was launched at DEF CON.
260750	271450	So this is actually the result of that RFI, where we went to the open source community and asked about securing the open source supply chain and doing memory safe programming.
271750	280090	And the Biden-Harris administration published a roundup of the things that the government is doing to address those concerns.
280090	288550	And bullet point number six, you might recognize from the previous slide, it's establishing an open source program office at a federal agency.
288550	295850	So we are excited to be a part of the learnings and contributions of the community.
295850	302290	And it is a real privilege to be here in a place like this, talking with all of you about it.
304050	306710	So open source has been around for a while.
306710	322470	I'm sure a lot of you have heard some of these risks, quote risks, mostly myths that people take umbrage with over the years, things like it's less secure, bad for business, or means you have to share everything all the time, or that the government isn't allowed to do it.
322470	324510	And that's just not true.
325230	328290	It can be more secure as we have more people looking at it.
328290	332990	But we all know that, you know, many eyes means you have to actually have people looking.
334050	336390	It definitely is good for profit.
336710	346290	I've worked in private sector in the past in a variety of open source program offices where I promise you they're making plenty of money doing open source and contributing back to the community.
346970	366130	And, you know, by being intentional about what you share, about what is sensitive or what should be private or what is a risk, that actually frees you up to say, OK, everything on this side of the dividing line should be easy and everything on this side,
366130	376170	you can take more time doing instead of wasting precious time of engineers or lawyers or policy folks having to identify every single thing that you might want to share.
376230	384790	So a lot of it is just figuring out what is difficult to share, what is easy to share, and then making it easy to do that.
384910	393390	And then lastly, code this developed by a federal agent, not a lawyer, it's not constitutively or financial advice.
393390	405210	According to Title 17, Sections 101 and 105 of the United States Code, doing your official work as an employee of the government means that your work belongs to the American people.
405210	406470	It is public domain.
406470	407770	You already paid for it.
407770	414150	I believe that everyone should have access to that data, that information, and that it already belongs to you.
414150	416650	So myths.
417630	423390	So if these are the quote risks, then what are the actual risks in open source?
424630	431490	Over-differentiation, proliferation, and fragmentation are the kinds of things that keep folks like me up at night.
431650	438690	So over-differentiation is unnecessarily duplicating your work and unnecessarily dividing your resources.
438690	441610	A good example of this would be not invented here syndrome.
441970	444550	Why should you be rolling your own crypto?
444550	446930	Why should you be rolling your own auth?
446930	449590	Why should you be rolling your own front-end design?
449950	458330	There are already plenty of existing projects out there with tons of upstream developers and years, sometimes decades of time that have been put into them.
458330	468290	And by using your precious engineering time and resources to reinvent the wheel, you are taking away from the other things that you could be doing to solve real problems.
468510	469890	Don't do that.
470890	481310	Proliferation is when you unnecessarily duplicate your communities and projects or unnecessarily divide your addressable market in business speak.
481310	495750	So things like license proliferation or event and conference proliferation are good examples of having lots of options that take away from people contributing into a center of gravity or one particular upstream.
495750	500170	And the last one, and this is a doozy, is fragmentation.
500170	504710	And that's when you unnecessarily divide your community of contributors.
504710	511390	The most common example of this that I've seen in open source program office land are internal forks.
511390	527450	So when you treat your open source project internally as the upstream and then occasionally you release something in the outside world and eventually release it, that creates a pocket universe of patches that you have to maintain.
527450	531850	It creates an extra layer of integration that you have to do internally.
531850	539950	It wastes astronomical amounts of time as your internal fork becomes further divided from the outside in the upstream.
539950	551310	And so many of the benefits of open source are lost because you're wasting your time doing extra resource development, extra engineering and extra duplicate effort.
552210	557290	So, where does an open source program office provide value to something like a government agency?
557290	561090	But this can apply to any organization really.
561710	563430	We help save money and time.
563430	565330	We provide accountability.
565330	567050	We're an engine for talent.
567050	568790	We reduce duplicate work.
568790	570470	We reduce duplicate costs.
570470	572230	We reduce risks for security.
572230	574270	And we reduce the risks for continuity.
574270	580030	I know we're at a security conference and many of you folks are very familiar with security risks.
580030	588770	And continuity risks, community risks, is sort of more of the ballywick that I deal with more on a regular basis in the OSPO.
589730	592070	So how do we reduce duplicate work?
592390	605390	We developed over the last year or so, maturity models and using a tool called Cookie Cutter, which is a Python open source library, to automate some of the checking for maturity models for projects.
606110	613630	More or less, it's just a way of identifying where an open source repository or project is in its open source journey.
613650	616110	So Tier 0 is a private repo.
616190	619110	Tier 1 is a one-time release repo.
619110	623330	So mostly it's for being released for transparency purposes.
623390	638650	Tier 2 is something like a close collaboration repository, so that's more of an inner source style repository where people might be working on it together in a repository that may be public, probably isn't, but isn't really expecting to have much outside contribution.
638870	641470	Tier 3 is working in the open.
641470	653350	So that's more of a, yes, the repo is on GitHub, but it's probably agency led and may or may not be taking contributions and pull requests, but it's certainly out there accepting issues.
653550	666950	So usually there are not things like acts of Congress or executive orders from the President of the United States that dictate whether or not your community can accept patches or have governance.
666950	679810	It is definitely a strange, interesting community governance challenge as someone who's been in open source for a little while, when something has to be agency led by statute, for example.
680290	702490	And then lastly, Tier 4 is classic open source community governance, where you're accepting contributions and you might even be having the community involved in the roadmapping process and the types of things where you make decisions and how you decide who gets to be maintainers and all of the wonderful things that we've seen emerge in classic open source projects.
703410	725470	So not only are those things that how you describe where someone is at in their journey, but you can look at the repository hygiene itself and you can say things like, well, if you're in these tiers, generally speaking, these types of projects have repositories that are shaped in these ways and these are just the files themselves.
725730	731830	M is for mandatory, R is for recommended, and N is for not recommended.
731890	743070	So nothing... it's almost worse to give the impression that you're going to accept pull requests and have people write code and contribute to your project and then leave them hanging on the vine.
743070	744650	It destroys morale.
744710	746470	It is a waste of time for you.
746470	748290	It is a waste of time for the contributors.
748430	754410	So don't put a contributing.md file in your repository if you're not planning on accepting contributions.
755570	762130	Not only can we check whether or not these files exist, but we can also dig deeper into what are the elements of these files.
762630	764930	And we'll talk a little bit about that in a minute.
766110	770730	So by asking a simple set of questions on the command line, we can automate this.
770730	775410	It's good to give people a model and say, this is where we think you are on your journey.
775410	779970	But if you ask them simple questions like, are you going to cut more than one release?
779970	782490	Are you going to have more than one contributor?
782490	785510	Are you going to have anybody else helping you?
785510	792810	These simple questions allow us to say, OK, you're probably a tier one or a tier two or a tier three project.
792810	800370	And all of these are on our GitHub repo scaffolder repository where you can see this stuff.
801750	803890	So how do we reduce risk?
804510	809130	Well, we have checklists, we have metrics and we have linters.
809710	815750	So our metrics front end, we released our first version of Open Source Summit North America in April of this year.
815910	819330	This is a really basic static website.
819570	823030	It is generated in CI and GitHub Actions.
823030	826010	It uses the GitHub API and Augur under the hood.
826010	829050	We'll do a little bit of an architecture deep dive later on in the slides.
829050	837070	But basically, you can dig into an organization on the left and then on the right, it will tell you weekly stats about it.
837070	846770	Just basic activity and community health metrics to say, you know, what's the plus or minus diff since last week on your contributors or your pull requests or issues?
847010	852170	And it gives us some other metadata and information that we're going to be adding into a second release.
852170	856030	This is the last week of our Coding It Forward fellowship of our intern season.
856030	861410	The interns are cranking away while I'm here at DEF CON and giving their final presentations next week.
861410	864450	So we'll have an updated version of this slide very soon.
865910	871630	Outbound checklists are a way to take all of this guidance and put it into a doc that you can just follow.
871630	874310	You say, OK, what are the steps that you're going to go through?
874310	879870	If you're a one time release project, here are the different things you should do before you flip the switch and make it public.
879970	889490	And includes things like code scanning, understanding your risks and benefits and doing some security analysis and figuring out where your documentation is and what should be in it.
891310	901030	We can tell you things like a readme usually has a description, a readme usually has contact information, a readme usually has X, Y, Z, A, B, and C.
901150	905730	A contributing file usually has A, B, C, or D, depending on where you're at in your journey.
906170	911890	And this makes it easy for people to go, OK, I did this, I did that, I did this, I did that.
911890	918050	And by making that like easy to follow, the developer experience is better.
918050	925070	People are more likely to follow the direction and it makes it a lot less burden on people who need to do this work.
925070	931270	You shouldn't have to choose between building things and building the community that helps you build the things.
931270	940190	We make it easy for the developers so that they don't have to divide their limited time and resources and can focus on the things solving the problems that need to be solved.
941410	947630	And when we get into mature projects, some of you are probably familiar with the Open Source Security Foundation.
947870	950350	They have a scorecard API that you can hit.
950350	956310	So we have corresponding scores in each of these categories, depending on what tier you're in.
956310	964530	So we can say, if you're a tier 3 project, you probably want to have a 6 or a 7 over here in this, or you want to have a 1 or a 2 over here because it's not as important.
966070	975030	We depend heavily on best practices from the open source community and thank you to folks in the audience here who absolutely contribute to these things.
977400	980520	This is a little bit of a picture of our backend for metrics.
980520	985420	As I mentioned, we're hitting the GitHub API, we're hitting the Augur API.
985580	991300	Those things both tell us, you know, where the repository metrics are going and where they're coming from.
991300	999800	We use some simple static website development and generation tools, some liquid, I believe, templates in the front end.
999800	1006380	We use PyGals, which is a Python library for generating graphs and graphics and data visualizations.
1006500	1012980	And then we bundle that all up, commit it to the repo, and ship it to GitHub pages on a weekly basis.
1015520	1020880	So there's a project called RepoLinter, which actually can go through and say, like, do you have this?
1020880	1021620	Do you have that?
1021620	1024200	You can set up scripts to check for this stuff in CI.
1024220	1040340	And in fact, thanks to contributions from open source program offices in the private sector, we have specific configurations that will tell you, like, not only do you have a security.md file, but does that security.md file have the right contact information?
1040340	1055020	And maybe, just maybe, in other vulnerability and backdoor issues that have happened in the recent past, one of them was, like, someone changed the security address to their own personal email address and nobody caught that.
1055020	1057980	And it's a simple docs check to just see whether or not it's there.
1057980	1065040	And taking that off of somebody else's plate so that they don't have to manually check that, we can automate that using tools like RepoLinter.
1066200	1069740	And this is what it looks like running in GitHub in a GitHub action.
1070820	1078340	So to overview all the different things of our repository baselines, the maturity models help to tell you where your project data is in your journey.
1078500	1084260	The repository templates tell you what are the things that are missing to improve your repo hygiene and make it healthy.
1084300	1088280	The outbound checklists tell you what steps you should take to get along on that path.
1088420	1091720	Cookie cutter helps you establish what tier you're in if you don't know.
1091760	1096640	And RepoLinter configs help to make sure that you maintain that standard.
1096640	1099800	And as you move up, how you progress in your journey.
1100560	1102260	So why is this important?
1102760	1104180	You know why it's important.
1104180	1106140	You've seen this slide how many times?
1106140	1107560	I don't even need to explain it.
1107560	1109740	We all know what a Nebraska problem is.
1109840	1119500	And after this talk, actually, there are going to be some folks from the Cyber Security and Infrastructure Security Agency who are going to get up here and talk a little bit about open source.
1119500	1135820	And on their blog, they mentioned that every technology manufacturer that profits from open source software must do their part by being responsible consumers of and sustainable contributors to the open source packages that they depend on.
1135820	1138060	And we 100% agree.
1138060	1140200	It's a super important thing.
1140200	1148300	And as we see more of these types of supply chain attacks and vulnerabilities on the community, it's really important that we build trust.
1150920	1156480	Open source code is made of bits and bytes, but really it is made of people.
1156480	1163600	And building trust in those groups of people doing that work means making their lives easier.
1163600	1166340	And we have to help to grow that community.
1166340	1168800	So how can folks help?
1169000	1177170	Well, I mentioned that we have an early career talent pipeline that we depend on for the talent and the people who work in the OSPO.
1177680	1191640	I was between us, I'm not saying anything new, I'm not writing it down, but I'm sure some of you are familiar with vulnerability disclosure programs and programs and platforms that enable that.
1191640	1193360	Stay tuned.
1193480	1202720	Hopefully there will be an announcement early next week talking about some new opportunities in that lane for folks in the audience who are in that research area.
1204080	1209160	And on top of that, just contributing generally to the repositories that are out there.
1210460	1214200	Specifically, the digital service is a four year tour of duty.
1214200	1215520	That's what I'm doing now.
1215520	1217240	I'm halfway through.
1217240	1222140	And at the end, you don't know what happens next.
1222140	1224240	This is both a feature and a bug.
1224240	1235440	It is a feature because a lot of the difficulty in doing long term organizational change is that a lot of folks get very invested in their career path.
1235500	1253260	So by having folks who are there temporarily, like a four year tour of duty, it's just enough time to really sink your teeth into a problem, but a short enough time where maybe you can challenge the culture that exists or maybe you can take some risks that you wouldn't take otherwise if you were going to be spending a lot of time there.
1253260	1266220	So I think it's a really interesting way of getting to do the work while being invested in it without having to deal with some of the limitations of being a full time Fed forever.
1266980	1272680	Speaking of, there's a program called the Digital Core, which is out of the Government Services Administration.
1272680	1275800	It's a two year tour of duty for early career folks.
1276040	1278780	You get a 50% signing bonus.
1278780	1283320	You get promoted from a GS9 to a GS12 by the end of two years.
1283320	1284840	It's like getting 20 promotions.
1284840	1288760	If you speak government career ladder, it's pretty phenomenal.
1288800	1291400	And at the end, there's a full time job waiting for you.
1291400	1298700	And as long as you meet your requirements and get evaluated along your learning and development career path.
1298700	1307160	So all of our full time developers now, Isaac and Natalia, big shout out, have been hired through the Digital Core program.
1307160	1313100	And we're having two more Digital Core fellows, Dina and Sanchin, joining us in the fall.
1313180	1315900	So four full stack engineers.
1315980	1317920	This is what we've done with two so far.
1317920	1320720	Really excited to see what we can do with two more.
1321180	1328420	And the Coding and Forward Digital Fellowship program is a 10 year paid undergraduate experience or for recent graduates.
1328420	1334980	If you know folks who are coming out of school or rising juniors or seniors, this is a 10 week program.
1334980	1338760	Codingandforward .com is where you can find more information about that.
1338820	1343160	And we've also been experimenting with the very beginning of the pipeline.
1343300	1354400	So folks who are still in high school or recent graduates of high school doing part time to full time programs of paid internships to work in technology.
1354400	1365840	So urbanalliance.org, we're also experimenting and partnering with Code in the Schools, which is a Baltimore program that's based out of our backyard where CMS is based.
1365900	1375420	So it is our hope that our high school students can get paid to maintain and learn the art of doing open source.
1375420	1379860	They can then turn that into an internship opportunity when they're an undergrad.
1379860	1386440	And when they're done being an undergrad and they graduate from college, there's a halfway program to get them that first job in the industry.
1386580	1391660	And then after that, if you want to continue on in a full time program, you can go into the pipeline.
1391840	1395420	And folks like me, we're in the middle of our career.
1395620	1404480	So it's not as hard to get those kinds of roles when you've been coming to places like this and doing this kind of work for a long time.
1404480	1414300	But if you're brand new out of school and there's been, say, 400,000 layoffs in the tech industry in the last three years, you're competing against lots and lots of people for jobs.
1414300	1423420	So mentoring folks is not a skill set that everyone is interested in or good at doing.
1423420	1433840	And I believe that any part of a functional and healthy open source program office is embracing early career folks because they can explore what they're interested in.
1433840	1435740	They can contribute to lots of things.
1435740	1437900	We don't need wizards, right?
1437900	1450340	We need the next generation to work with the wizards so we can pass down that institutional wisdom and knowledge so that we can bring in that next generation of hackers who are going to help to maintain the fabric of our technology.
1456950	1470470	So speaking of wizards, thank you to the folks who come before, the folks at GSA, AT&F, CFPB, OMB, CISA, DHS, DOD, ONCD.
1470710	1481030	There are lots of folks in the government where if I tried to do this work 10 years ago, I wouldn't really have been quite as effective, perhaps.
1481030	1487450	I've been a lot more of an uphill battle and also like, you know, probably wouldn't be speaking at places like this.
1487450	1492470	I think 10 years ago, giving this kind of talk at a DEF CON would be a bit of an outlier, right?
1492470	1496830	So thank you to the folks who are here engaging with the community.
1497110	1505670	It is without your help, without the participation of the open source community, the public sector could not do the work that we do.
1505670	1510430	And we sure wouldn't be able to move as quickly or as effectively doing things.
1510430	1513390	So thank you for your contributions and work.
1513390	1520030	And we depend on folks like the Community Health and Analytics of Open Source Project or Chaos.Community.
1520030	1525130	If you're a nerd for metrics like this about open source repos and projects, check them out.
1525130	1534830	If you are a nerd for open source program offices or interested in that as a strategy for your organization, highly recommend the to do group dot org.
1534830	1550110	They are based out of the LF and they have lots of guides and tutorials and Slack channels where you can talk to other open source program office professionals, get help, get mentorship and be part of a community.
1550110	1552510	And of course, we're on GitHub.
1552550	1556310	We have repos, file issues, send pull requests.
1556310	1559850	If there's any way we can be a resource, please don't hesitate to reach out.
1560390	1563230	So thank you, DEF CON.
1564050	1565810	There's the contact info.
1565810	1573410	If you're interested or know someone who would be interested in joining as a Digital Core Fellow, digitalcore.gsa.gov.
1573410	1578950	If you know someone who might want to do an undergraduate internship, codinginforward.com.
1579110	1584870	If you're interested in the digital service itself, digitalserviceatcms.hhs.gov.
1584890	1591490	If it's not just CMS, usds.gov is another place where they detail into lots of agencies like ours.
1591690	1603170	And if you just want to talk about open source, opensourceatcms.hhs.gov will reach me and my team and we will do what we can to get back to you because we are still growing.
1603170	1604410	It is still early.
1604410	1608870	We are one year in and who knows where we'll be next year.
1608870	1610950	So thank you, DEF CON.
1611610	1613410	Hopefully we'll see you again soon.
