Open-Source License Risk Gate
by Prateek
Reads an npm lockfile and flags copyleft, unknown and missing licenses before a release or due-diligence review.
Free
What it does
- Separates permissive, weak and strong copyleft licenses
- Catches AGPL packages in network services
- Finds dependencies with no declared license
- Gives the action for each flagged package
Who it's for
Founders preparing for an acquisition or sale
Clean up your code assets so your legal review goes smoothly and you do not lose deal value.
Try asking: “Audit my package-lock.json for any legal risks before our due diligence review next week.”
Freelance developers shipping commercial software
Ensure you are not accidentally giving away your client's intellectual property by using the wrong libraries.
Try asking: “Check my project's dependencies for GPL or AGPL licenses that might cause problems.”
Small agency owners launching web services
Avoid legal headaches by catching licenses that force you to share your private server code.
Try asking: “Scan these npm dependencies to see if any of them have restrictive licenses for a SaaS app.”
Open-Source License Risk Gate
Example session with this skill installed
I am about to launch a new web service. Can you check my package-lock.json file for any license risks, especially AGPL or GPL?
- Read your context and instructions
- Compiled the open-source license risk
I will audit your project files for license risks now. I have scanned the dependencies and categorized them by their legal requirements.
Verdict: ACTION NEEDED
Your project contains dependencies that require immediate attention before you launch your service.
Summary
- Strong Copyleft (High Risk): 2
- Unknown/Missing (High Risk): 1
- Permissive (Low Risk): 45
Findings Table
| Package | Version | License | Risk | Action |
|---|---|---|---|---|
library-a | 2.4.1 | AGPL-3.0 | High | Replace this library or isolate it to avoid source sharing requirements. |
helper-tool | 1.0.2 | UNKNOWN | High | Check the source folder for a LICENSE file; no permission is currently granted. |
data-styler | 0.9.5 | GPL-2.0 | High | Replace this or ensure you are prepared to release your source code upon request. |
Distribution Note
Since you are launching a web service, the
AGPL-3.0 finding is critical. This license can trigger an obligation to share your private server code with anyone who uses your website. The
GPL-2.0 risk is lower if the code stays on your server and is not downloaded by users, but it should still be reviewed. The
UNKNOWN license is a trap because you technically do not have legal permission to use that code yet.
Would you like me to help you find alternative libraries for the high-risk items?
Connects securely to your tools. The creator never sees your data.
About this skill
If you use open-source code in your project, you might be following rules you never agreed to. Some licenses require you to share your entire private codebase if you use even one of their tools. This skill reads your project files to find those hidden legal traps before you launch or sell your business.
How it works
- You upload your project's dependency file or a list of the tools you use.
- Your AI agent runs an audit to check every single library against known license types.
- The skill groups these tools by risk level, from "Permissive" to "Action Needed".
- You get a clear table showing exactly which tools are risky and what you should do next.
Frameworks & tools
This skill uses a Python script to scan JSON files like package-lock.json. It understands standard license names used in the npm ecosystem.
Why this beats prompting it yourself
Asking an AI to "check my licenses" usually results in generic advice or missing small details in large files. This skill uses a specific script to look at every single entry in your lockfile, ensuring no small library is missed. It follows strict rules to separate libraries that are fine for internal use from those that are dangerous to ship to customers.
Use cases
- Check a web app before launching it as a paid service
- Prepare a technical report for a company acquisition
- Find libraries that are missing a license entirely
- Decide if a specific tool is safe to include in a commercial product
Known limitations
This is not legal advice. The skill reads what the code says its license is, but it does not read the full text of every legal document. It also includes tools used only during development.
This skill executes a bundled Python script (audit_licenses.py) that parses package-lock.json (v2/v3) or npm ls JSON output. It maps SPDX identifiers to risk categories like Strong Copyleft, Weak Copyleft, and Permissive. It identifies specific risks for network-distributed software (AGPL) versus traditionally distributed software (GPL).
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 1 day ago
- Free with an Agensi account
- Software
Python 3.9+
Permissions
File Scopes
Read-only. Not legal advice.
What's inside
Frequently Asked Questions
New in Security
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Security.