Skip to main content

CRA Adoption Best Practices

Secure FOSS Component Development

How open source projects can embed security across the lifecycle, govern transparently and handle vulnerabilities in proportion to risk, so that downstream integrators can manage their own CRA obligations.

On this page

Enabling downstream risk management

For developers and maintainers of FOSS components, the CRA’s risk-based approach translates into enabling downstream risk management, rather than assuming direct regulatory responsibility.

The German Federal Office for Information Security (BSI) published the TR-03185-2 Secure Software Lifecycle for Open Source Software, a practical reference framework on how to approach open source software development from a security standpoint. The principles below build on it.

Risk-based orientation

Risk-based philosophy is the core driving force of the CRA. Rather than prescribing rigid, one-size-fits-all controls, the analysis should include outcome-oriented criteria that can be implemented according to:

Criticality and usage

The project’s criticality and usage context.

Impact of failure

The potential impact of security failures.

Community maturity

The maturity and resources of the community.

Supply chain exposure

The exposure of the software within supply chains.

This proportionality is essential for FOSS, where projects range from small volunteer-maintained libraries to widely deployed infrastructure components.

Security across the lifecycle

Security by design requires that cybersecurity considerations are embedded throughout the entire software lifecycle. In a CRA-aligned, risk-based model, security is not a separate activity but a continuous and proportionate process in which each phase contributes to the overall resilience of a FOSS component and supports downstream compliance obligations.

  1. Design Security-relevant requirements and threat considerations.
  2. Implementation Controlled change management, peer review and appropriate analysis tools.
  3. Testing & validation Verification of security-relevant functionality.
  4. Release & distribution Integrity and authenticity of deliverables.
  5. Maintenance Structured vulnerability management and responsible disclosure.
  6. End-of-life Transparent communication of support status and deprecation.

Design

In the design phase, security integration begins with:

  • Identification of security-relevant requirements
  • Consideration of foreseeable misuse
  • Analysis of attack surfaces
  • Architectural decisions that reduce exposure

For components with higher functional criticality (e.g., authentication, cryptography, update mechanisms), more structured threat analysis may be appropriate. At a minimum, security-relevant functionality should be documented clearly to enable downstream assessment.

Implementation

During implementation, lifecycle security requires:

  • Controlled change management
  • Version-controlled repositories
  • Peer review practices
  • Secure coding discipline

Projects with increased maturity may integrate automated static analysis or dependency scanning tools. The objective is not prescriptive tooling, but consistent and traceable development practices.

Testing & validation

Testing and validation confirm that security-relevant functionality operates as intended. Typical measures include:

  • Functional testing of authentication and access controls
  • Input validation checks
  • Basic security testing prior to release

Projects with higher exposure may integrate automated SAST or DAST tools within CI/CD pipelines. Testing ensures that vulnerabilities are detected before distribution.

Release & distribution

Secure release practices are critical supply chain controls. Key practices include:

  • Clear versioning
  • Documented changelog
  • Integrity protection of release artifacts
  • Transparency of included dependencies (e.g., SBOM generation)

More advanced projects may implement signed releases or reproducible builds via immutable pipelines. This phase strengthens downstream trust and traceability.

Maintenance

Security integration does not end at release. Maintenance requires:

  • Monitoring newly disclosed vulnerabilities
  • Structured vulnerability management
  • Timely patching
  • Clear communication of updates

Ongoing maintenance directly supports CRA lifecycle obligations and reduces systemic supply chain risk.

End-of-life

Transparent end-of-life communication is essential to prevent unmanaged risk. Projects should:

  • Clearly communicate support status
  • Announce deprecation timelines
  • Recommend migration paths where applicable

This enables downstream users, including SMEs, to plan secure transitions and avoid unsupported dependencies.

Governance and transparency as risk controls

In open source ecosystems, governance mechanisms often serve as primary risk mitigation tools. Transparency, documentation, and community processes are not merely administrative features but core security enablers. Four elements are key:

Documented workflows

Clear, written procedures from planning to deployment. Ensures consistency and reduces errors.

Defined roles & responsibilities

Assigned duties and accountability for security tasks. Avoids ambiguity and ensures ownership.

Clear reporting channels

Established, easy-to-use mechanisms for reporting potential security issues, both internally and externally.

Public communication

Transparent and timely disclosure of vulnerabilities and available solutions to users and stakeholders.

These measures reduce systemic risk by improving accountability and enabling downstream users to assess the trustworthiness of a project.

Relevance to supply chain security

Open source components are deeply embedded in modern software supply chains. A risk-based approach to FOSS development must therefore consider not only project-level risks but also systemic risks propagated through reuse and redistribution. Supply chain resilience is supported by encouraging:

  • Secure release practices
  • Traceability of changes
  • Transparent maintenance status
  • Clear security contact point

Such practices improve the ability of downstream integrators, including small and medium-sized enterprises, to perform risk assessments and meet regulatory or contractual obligations.

Voluntary security attestations (Article 25)

The security of an end product is inseparable from the integrity of its upstream components. As the CRA moves toward implementation, the industry faces a critical challenge: how to verify the security of the millions of open source dependencies that form the backbone of global infrastructure without stifling the collaborative model that produced them.

The most viable solution lies in Article 25, which outlines a framework for voluntary security attestations. By shifting from reactive patching to proactive, standardised transparency, it allows non-profit stewards to provide tiered, risk-based assurances in exchange for remuneration that covers transparent operating costs, turning regulatory compliance into a sustainable engine for supply chain resilience. Three pillars sustain this resilience:

  1. Facilitating efficient due diligence via trusted artifacts

    The CRA requires manufacturers to perform rigorous due diligence on every integrated component, including free and open source software. Standardising attestations as machine-readable, verifiable artifacts eliminates the “denial-of-service attack” on maintainers caused by duplicative, manual compliance requests, and gives manufacturers consistent, trustworthy information they can integrate directly into their automated risk assessments.

  2. Incentivising security maintenance across the supply chain

    Security is not a static state but a continuous process of maintenance. Attestations create a tangible bridge between regulatory requirements and the economic support needed to sustain that maintenance, giving manufacturers a structured pathway to financially support the stewards and maintainers of critical projects whose security work is essential to their own compliance.

  3. Strengthening community-led governance and resilience

    The strength of the software supply chain lies in its diversity. An attestation model that is strictly voluntary, proportionate, and risk-based respects the unique governance models of open source, empowers communities to define their own security postures through tiered assurance, and prevents a one-size-fits-all mandate.

Cybersecurity activities for full lifecycle support

A commitment to maintain and secure a product throughout its operational lifetime implies continuous accountability for all incorporated components, including third-party open source libraries. Open source components evolve independently: vulnerabilities may emerge years after integration, maintainers may step back, release cadences may slow. Without structured dependency visibility, continuous monitoring, version control discipline, and documented update policies, organisations risk inheriting unmanaged technical debt and latent supply chain vulnerabilities. Concrete measures:

Maintain a continuously updated SBOM

Ensure transparency and traceability of dependencies across product versions.

Institutionalise dependency risk assessment

Use criteria such as project activity level, vulnerability response time, governance transparency, and release discipline.

Adopt continuous vulnerability monitoring

Track newly disclosed vulnerabilities affecting the components you ship.

Beyond internal controls, engage upstream

Where dependencies are mission-critical, organisations should consider contributing fixes, sponsoring maintainers, or participating in project governance to reduce systemic risk.

By combining transparency (SBOMs), structured risk assessment, continuous monitoring, and upstream participation, manufacturers can transform open source dependencies from unmanaged exposure into a strategically governed asset that supports long-term security, compliance, and trust.

Vulnerability handling

Under the CRA, manufacturers are required to identify, manage, and remediate vulnerabilities in a timely and structured manner throughout the lifecycle of the product. While open source projects are not directly regulated as such, their practices significantly influence the ability of downstream manufacturers and SMEs to comply. In a risk-based model, vulnerability handling is not limited to reactive patching. It encompasses:

  • Accessible reporting mechanisms
  • Structured triage and risk assessment
  • Transparent remediation processes
  • Transparent disclosure practices
  • Continuous monitoring of known vulnerabilities

Smaller projects may not have the resources of large commercial vendors, but they should still implement baseline practices that enable downstream integrators to assess and manage risk effectively.

Core elements of vulnerability handling

  1. Reporting and intake

    • A publicly available security contact or reporting channel
    • Clear instructions for responsible disclosure
    • Defined intake and acknowledgement procedure

    Security researchers and users can report issues in a controlled and transparent manner.

  2. Triage and risk assessment

    • Evaluation of severity and potential impact
    • Identification of affected versions
    • Assessment of exploitability and exposure

    Severity classification may rely on widely accepted frameworks (e.g., CVSS), while maintaining proportionality to the project’s size and context.

  3. Remediation and release management

    • Development of corrective patches
    • Secure release process
    • Clear versioning and changelog documentation

    Where feasible, updates should be accompanied by clear communication on mitigation steps and affected configurations.

  4. Disclosure and transparency

    • Public advisory publication when appropriate
    • Clear communication to downstream users
    • Coordinated disclosure where multiple stakeholders are involved

    These measures enhance trust and support supply chain transparency.

Proportional maturity levels

To reflect the CRA’s proportionality principle, vulnerability handling practices can be structured across three maturity levels.

Level 1

Minimum viable practice

  • Public vulnerability reporting channel
  • Manual triage of reported issues
  • Patch publication and changelog update

Enables basic traceability and downstream risk management.

Level 2

Structured process

  • Documented vulnerability management policy
  • Defined triage workflow and internal tracking
  • Public advisory publication
  • Defined target response time

Improves predictability and transparency.

Level 3

Advanced and supply chain integrated

  • Coordinated Vulnerability Disclosure (CVD) policy
  • CVE assignment where applicable
  • Continuous vulnerability monitoring tools
  • SLA-based remediation tracking
  • Integration of vulnerability scanning in CI/CD pipelines

Strengthens systemic resilience across the software supply chain.

What this means for SMEs integrating FOSS

For SMEs integrating FOSS components into products with digital elements, the vulnerability handling practices of upstream projects directly affect their own compliance posture. SMEs should therefore assess:

  • Whether a project has a public vulnerability disclosure channel
  • How quickly issues are acknowledged and resolved
  • Whether advisories and patches are transparently communicated
  • Whether the project demonstrates maintenance activities

Where a component is functionally critical or publicly exposed, SMEs should consider applying enhanced due diligence measures, including continuous monitoring and, where available, reliance on voluntary security attestations under Article 25.

Read the SME compliance guidelines

Back to the top