Published: Last updated:

EMBAG

EMBAG (the Federal Act on the Use of Electronic Means to Fulfil Government Tasks) has required Swiss federal authorities to publish the source code of custom-developed software since 1 January 2024, provided no exceptions apply (security, third-party rights). It is the first legally mandated open-source-by-default approach in Switzerland.

The law is relevant for all IT service providers who work or wish to work for federal authorities.

What EMBAG Regulates

  • Open Source by Default: Source code of custom-developed software must in principle be made publicly available.
  • Data Use: Federal authorities may make their data available for economic and social purposes.
  • E-Government Standards: Electronic government communication must meet specific accessibility and security standards.
  • Interoperability: Systems must support open interfaces to reduce vendor lock-in.

Exceptions to the Open Source Requirement

The law permits exceptions when:

  1. Publication would violate third-party rights (licences, IP).
  2. The content would contain security-relevant information (keys, credentials).
  3. Development costs would be disproportionately high.

Focus: Digital Sovereignty as Law

EMBAG is not merely a compliance obligation but an expression of the political will for digital sovereignty of the state.

Relevance for Service Providers

  • Projects for federal authorities must be planned with open-source compatibility from the outset.
  • Licences for third-party dependencies must be checked for EMBAG compatibility at an early stage.
  • Deployment architectures must allow source code publication without exposing secrets.

Reference Guide

  • EMBAG Act Text: admin.ch
  • BIT Open Source: Strategy of the Federal Office for Information Technology. bit.admin.ch
  • Public Code: The international equivalent framework. publiccode.eu