Counsoft.com Logo
1

Step 1: The Submitted Project Context

Questionnaire Answers

  • Archétype : Produit / Librairie distribué(e)
  • Type de liaison : Liaison Statique
  • Usage par le client : Pour le redistribuer à leurs propres clients
  • Secteur réglementé : Oui

The project was defined as a 'Distributed Product' because it is sold and installed at customer sites. 'Static Linking' was chosen by the technical team, thinking it would simplify deployment. The use case involves 'Redistribution' as clients (hospital groups) may deploy it to affiliated entities, creating a distribution chain. Finally, the project operates in the medical field, so it is 'Regulated'.


Free-form project description

Project 'Pegasus': a medical imaging analysis library (MRI) that we sell to hospitals. We started as an R&D tool and are now commercializing it. Our main selling point is a tumor detection algorithm based on a high-performance open-source library (found in an academic repository) under the AGPL license. To simplify installation for clients (who are not very technical), our developer compiled everything with static linking. Our business model is a per-seat license. We also have an ambition to offer a 'cloud' version in SaaS mode within 18 months.

2

Step 2: The Automated Tool Analysis

Verdict

Your project combines significant risk factors. An in-depth analysis is highly recommended.

Strategic Recommendations

  • Legal Consultation: Your use case is complex. Have your dependency strategy validated by a specialized lawyer.
  • Dependency Management: Implement an SBOM (Software Bill of Materials) to track your dependencies and monitor security vulnerabilities (CVEs).
  • Technical Action: If possible, deliver your product using dynamic linking. This resolves the majority of issues related to LGPL licenses.
  • Regulatory Compliance: Accurately document each dependency and its license for audits.

Detailed License Analysis

License of Component Used Status Explanation
MIT SAFE Compatible with your use case. Only requires simple attribution.
Apache-2.0 SAFE Compatible with your use case. Only requires simple attribution.
BSD-3-Clause SAFE Compatible with your use case. Only requires simple attribution.
CeCILL-B SAFE Compatible with your use case. Only requires simple attribution.
EPL-2.0 CAUTION CAUTION: You (or your client if they redistribute) must publish modifications made to files under this license.
MPL-2.0 CAUTION CAUTION: You (or your client if they redistribute) must publish modifications made to files under this license.
LGPL-3.0-only DANGER DANGER: Static linking with this type of component imposes complex technical and legal constraints (providing object files, allowing relinking).
CeCILL-2.1 DANGER DANGER: Static linking with this type of component imposes complex technical and legal constraints (providing object files, allowing relinking).
GPL-3.0-only DANGER CLIENT RISK: Puts your client in a position of infringement. If they redistribute the product, the license will require them to provide the complete source code (including yours).
AGPL-3.0-only DANGER DIRECT RISK: Like the GPL, this license would require you to publish your source code if distributed.
CeCILL-C DANGER DIRECT RISK: Like the GPL, this license would require you to publish your source code if distributed.
3

Step 3: The Strategic Analysis by Mistral

🤖 Complementary Analysis by Mistral

🚀 Strategic Synthesis

The Pegasus project, by using an AGPL library with static linking, runs a major legal risk. The per-seat licensing model and the ambition for a SaaS version are incompatible with the AGPL license, which mandates the publication of the source code upon distribution. This issue requires immediate action to avoid litigation and preserve the project's viability.

🎯 Personalized Action Plan

1. Immediate Code Audit and Remediation: Identify all open source dependencies in the Pegasus project, especially the AGPL library. Explore the following options: replacing the library with an alternative under a more permissive license (MIT, Apache 2.0, etc.), recompiling with dynamic linking, or negotiating a commercial license with the library's authors (if possible). The priority is to eliminate the AGPL license violation.

2. Specialized Open Source Legal Consultation: A lawyer specializing in free software law is crucial for navigating the complexity of licenses and understanding the long-term implications of technical and business choices. They can advise on the best approach to comply with the law and protect Pegasus.

3. Business Model Adaptation: If replacing the AGPL library is not feasible, re-evaluate the business model to align with the license's obligations. This could involve making the source code available, modifying the licensing model, or revising the SaaS ambition.

4. License Documentation and Management: Implement a rigorous system for tracking and managing the open source licenses used in the project. This includes creating a compliance document listing all licenses and regularly updating this document.

⚠️ Context-Specific Watchpoints

- Risk of Litigation: The current use of the AGPL library with static linking exposes Pegasus to legal action from the copyright holders. This risk is compounded by the software's commercialization.
- Reputational Impact: An open source license violation can severely damage the reputation of the project and the company.
- Unforeseen Costs: The costs associated with resolving the legal issue can be significant (lawyers, re-development, etc.).
- Cloud Version (SaaS): The ambition to offer a SaaS version significantly worsens the AGPL compliance problem.

🤔 Key Questions to Ask

- Is there a functional alternative to the AGPL library under a more permissive license?
- What are the performance and cost implications of such a change?
- What are the financial and time implications of replacing the AGPL library, recompiling with dynamic linking, or negotiating a commercial license?
- How can the marketing strategy and value proposition of Pegasus be adapted to incorporate the legal constraints?

Analyse générée par IA Mistral. À vérifier par un conseil juridique.

4

Step 4: Deepening Understanding Through Dialogue

Following the analysis, the user asked follow-up questions to clarify specific points and get strategic advice. The question limit has been lifted for this demonstration.

Vous:

The analysis mentions that "static linking" is an issue with the LGPL. Specifically, if I already provide the source code of the LGPL library itself, what are the additional obligations that static linking imposes on me?

Mistral:

Even when providing the LGPL library's source code, static linking requires you to also provide your customers with the technical means to rebuild the final executable with a modified version of the library (for example, by providing the object files of your own code). This is a very heavy constraint, which is why dynamic linking is strongly recommended.

Vous:

My client is a large hospital group that provides the integrated software to smaller clinics. Who is legally responsible for providing the source code to the end clinics: me or my client?

Mistral:

Responsibility depends on your contract. If your client distributes the software, they in turn become a distributor and inherit the obligations. Your contract must explicitly state that the responsibility for compliance in case of redistribution falls on them. Legal consultation is imperative to draft contracts that protect you.

Vous:

The report suggests creating an SBOM. Besides regulatory compliance, what are the concrete business and technical advantages of maintaining an SBOM for a project like this?

Mistral:

Technically, an SBOM allows for proactive management of security vulnerabilities (CVEs). Commercially, it's a pledge of transparency and professionalism that reassures clients, especially in a sensitive sector like healthcare. It can become a selling point and facilitates compliance with future regulations (e.g., Cyber Resilience Act).

Vous:

The main library is under the AGPL license. If we move to SaaS, does the mere fact of using it on our servers require us to publish the source code of our entire platform?

Mistral:

Yes, this is precisely the case the AGPL license covers. If users remotely interact with your SaaS service and that service uses the AGPL library, you are obliged to offer the complete source code of your application to those users. This is why the AGPL is often incompatible with a proprietary SaaS model.

Vous:

Faced with this 'High Risk' report, what would be the first three steps, in order of priority, to rectify the situation?

Mistral:

1. Urgent Legal Consultation: This is the absolute priority to assess the extent of the risk and define a legal strategy.
2. Technical Audit: In parallel, launch a full audit to identify all problematic dependencies and search for alternatives.
3. Freeze Distribution: Immediately stop all new sales or distributions to avoid worsening the non-compliance situation.