Skip to content

Latest commit

 

History

History
169 lines (130 loc) · 8.16 KB

File metadata and controls

169 lines (130 loc) · 8.16 KB

CISA: An open source agency

The Cybersecurity and Infrastructure Security Agency (CISA) is the Nation’s risk advisor, working with partners to defend against today’s threats and collaborating to build more secure and resilient infrastructure for the future.

The default position of CISA when developing new projects is to:

  1. Use Free and Open Source Software (FOSS), which is software that does not charge users a purchase or licensing fee for modifying or redistributing the source code, in our projects and contribute back to the open source community.
  2. Develop our work in the open.
  3. Publish publicly all source code created or modified by CISA, whether developed in-house by government staff or through contracts negotiated by CISA.

Benefits

Using FOSS allows for product customization, advances interoperability between tools, and improves the overall quality of the final product. Other benefits include:

  1. Flexible usage. The benefits of using FOSS compel CISA to meet user needs by modifying existing or creating new FOSS. FOSS is particularly suitable for rapid prototyping and experimentation. The testing process generates minimal costs, and the process encourages the identification and elimination of defects not recognized by the original development team.

  2. Community involvement. Publicly available source code enables continuous and broad peer review. Whether simply publishing the completed code or opening the development process, the practice of expanding the review and testing process to a wider audience—beyond the development team—ensures increased software reliability and security. Developing in the open also allows for other opinions to help adjust the direction of a product to maximize its usefulness to the community it serves.

  3. Cost-savings. The ability to modify FOSS enables CISA to respond rapidly to changing missions and markets. Support and maintenance of open source code—as opposed to more burdensome usages of proprietary software—provides a real cost advantage where multiple copies of software are required, or when the user base grows. The total cost of ownership is shared with a community, rather than solely CISA.

  4. Reusability. The code we create belongs to the public as a part of the public domain. The code we work on was paid for by the American people, but the end-product is not the only way they should be able to interact with their government. By coding in FOSS, we help populate a larger commons that cities, states, businesses, and individuals can participate in. This creates real economic value by lowering the burden of replicating similar work or by allowing the private sector to build off of and create new businesses around code developed at CISA.

Maximizing community involvement and reuse

Active involvement from the open source community is integral to the success of open source code. CISA will be an active contributor to FOSS projects that it or its clients utilize.

Code written entirely by CISA staff will be dedicated to the public domain. In addition, any contracts CISA enters into, where others will develop software on CISA's behalf, will ensure that all results are dedicated to the public domain. In general, all discussion in this document about the licensing of work of CISA's contractors means that CISA will ensure that their contracts guarantee those terms.

CISA encourages contributions to its open source projects, whether it be code, commentary, bug reports, feature requests, or overall strategic direction.

Forks or clones of our code repositories are free to be re-distributed. This means code created by CISA can be integrated into work that is under a more restrictive license, even those that are not considered open source licenses.

This changes when our code repositories include code that was not created by CISA and carries an open license. Code previously released under an open source license and then modified by CISA or its contractors is considered a "joint work" and must be released under terms permitted by the original open source license.

The public can use our code as the basis of wholly proprietary and commercial systems. CISA would appreciate that users of our code disclose its lineage, but CISA maintains no legal right to require disclosure. Notifications that our work is used in a new system are always greatly appreciated.

Open source licenses

As previously mentioned, most work generated at CISA falls within the U.S. public domain.

For our international colleagues, CISA also permanently waives all copyright and related rights worldwide to code created by CISA or its contractors.

Our default LICENSE file for projects acknowledges that our work is in the US public domain, and uses CC0 to waive copyright internationally.

Our default CONTRIBUTING file informs contributors that their contributions will be licensed under the same terms.

However, certain projects will require the usage of licensed open source software not created by CISA. Some open source licenses make source code available under different terms and conditions. These terms and conditions specify how the code may be used, modified, or shared. When users modify CISA code, they should review and understand the terms of the open source license in question.

Each project may need to modify or extend the above LICENSE and CONTRIBUTING files as needed for its own circumstances.

Distribution of code

There is a misconception that FOSS that is distributed to the public should not be integrated or modified for use in sensitive systems. On the contrary, FOSS is often preferred for use in sensitive systems, due in part to its increased auditability. In other words, security in FOSS must be designed never to rely on obscurity in how the code works.

In addition, while open source licenses permit the user to modify FOSS for internal use without obligating them to distribute source code to the public, when the user chooses to distribute the modified FOSS outside the user's organization, then the code is subject to whatever license it carries.

Exceptions

The only conditions where code shall not be developed and released in the open are:

  • The U.S. Government does not have the rights to reproduce and release the item.

  • The public release of the item is restricted by other law or regulation, such as the Export Administration Regulations or the International Traffic in Arms Regulation.

These decisions will be made as needed by the CISA Infrastructure team, which will lead an interdisciplinary team to review the conditions under which code will not be made available publicly. Any further exemptions will be rare, documented publicly, and the result of compelling interest.

If an existing solution cannot be found in the open source community, CISA may consider other options, including creating an open source solution itself. Ultimately, the software that best meets the needs and mission of CISA should be used.

Further reading

OMB M-16-21 - A White House policy pertaining to federal source code, published by the White House Office of Management and Budget. M-16-21 directs all agencies to publish some custom developed code as open source code, to update acquisition requirements to capture code developed by vendors for GSA, and to inventory all open- and closed-source code.

GSA Open Source Policy - GSA's agency-wide open source policy, created based on OMB's M-16-21 policy.

Thanks

CISA would like to thank 18F, Consumer Financial Protection Bureau, Department of Defense, and Office of Management and Budget for their work in blazing the path for the use of FOSS in the Federal Government.

Future changes

This policy is a living document. CISA expects to make changes to this policy in the future, and we welcome issues and pull requests. To contact us privately, email github@cisa.dhs.gov.