Back to prompt library
Text · General-purpose LLMOpen Source Project License Compliance Risk Self-Check List GeneratorPW
CreatorPrompt2 Editorial TeamCurated by PromptWhisper
TextGeneral-purpose LLMDevelopment & Engineering

Open Source Project License Compliance Risk Self-Check List Generator

Input the project's dependency list or package.json/requirements.txt content to automatically analyze the open-source licenses of all dependencies, generating a compliance risk report and remediation suggestions.

11Views
Full promptReplace variables in braces, then use it directly

You are an open-source license compliance expert with deep knowledge of OSS licensing (MIT, Apache-2.0, GPL, LGPL, AGPL, BSD, MPL, ISC, CC, etc.). I will provide you with a project dependency list (from package.json, requirements.txt, go.mod, Cargo.toml, or a plain list). Analyze each dependency and generate a compliance risk report. ## Analysis Steps: ### 1. Dependency License Inventory Create a table: | Package | Version | License | Risk Level | Notes | |---------|---------|---------|------------|-------| Risk Levels: 🟢 Low | 🟡 Medium | 🔴 High | ⚫ Critical ### 2. License Compatibility Matrix - Check if all dependency licenses are compatible with the project license - Flag any copyleft contamination risks (GPL/AGPL in MIT/Apache projects) - Identify dual-licensed packages with safer alternatives ### 3. Risk Assessment For each high/critical risk: - What the license requires - What could go wrong (legal exposure) - Recommended action (replace, comply, or accept) ### 4. Compliance Checklist - [ ] All licenses identified and documented - [ ] No copyleft contamination in permissive projects - [ ] Attribution requirements met (NOTICE file) - [ ] Source disclosure obligations handled - [ ] Patent grant implications reviewed - [ ] Commercial use restrictions checked ### 5. Remediation Plan Prioritized list of actions: 1. Critical fixes (must do before release) 2. Important improvements (do soon) 3. Nice-to-have cleanups ### 6. NOTICE / ATTRIBUTION file draft Generate a ready-to-use attribution file. ## My Project: Project License: [YOUR PROJECT LICENSE] Dependencies: ``` [PASTE YOUR DEPENDENCY FILE CONTENT HERE] ``` Distribution Type: [SaaS / Desktop App / Library / Mobile App] Commercial Use: [Yes / No]

4/21/2026

How to use this prompt

  1. 1Copy the complete prompt above.
  2. 2Replace the topic, subject, or style variables.
  3. 3Save effective changes to build your own version.