license-scanner

Scan direct and transitive dependencies for license compliance violations across multiple ecosystems.

3|2|Updated Jan 23, 2026
One-click install
npx skills add https://github.com/robotijn/ctoc --skill license-scanner
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: license-scanner
Source: https://github.com/robotijn/ctoc/tree/main/skills/compliance/license-scanner
Command: npx skills add https://github.com/robotijn/ctoc --skill license-scanner

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the risk of accidental license violations in project dependencies, which can lead to legal takedowns, forced open-sourcing of proprietary code, or costly compliance audits for SaaS and proprietary products.

Core Features & Use Cases

  • Multi-ecosystem license scanning: Supports npm, pip, Maven, Gradle, Cargo, Go modules, NuGet, and C/C++ package managers to scan both direct and transitive dependencies for license data.
  • Violation detection and triage: Flags AGPL/GPL conflicts with proprietary/SaaS products, SSPL/BSL non-OSI licenses, license drift after upgrades, missing attribution, and unknown licenses, with severity-based prioritization for remediation.
  • Use Case: A SaaS team upgrading a Redis dependency can use this Skill to detect the license shift from Apache-2.0 to SSPL/RSALv2, blocking the upgrade until legal review is completed.

Quick Start

Use the license-scanner skill to audit your project's full dependency tree for license compliance issues and receive a prioritized report with remediation steps.

Frequently Asked Questions about license-scanner

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scan dependencies for license compliance across multiple languages?▼

Scanning dependencies for license compliance involves auditing your project's full dependency tree across npm, pip, Maven, Gradle, Cargo, Go, NuGet, and C/C++ to detect violations and copyleft conflicts. It produces SPDX-normalized findings with severity triage for remediation.

Why does upgrading a package cause a license compliance violation?▼

Upgrading packages can cause license compliance violations due to license drift, such as a dependency shifting from Apache-2.0 to SSPL. The scanner detects these shifts, blocking upgrades until legal review to prevent accidental copyleft conflicts or non-OSI license integration.

How do I automate license scanning in a CI pipeline?▼

Automating license scanning in CI involves integrating the scanner to continuously audit dependencies during builds. It enforces allowlists, detects missing attribution, and generates SPDX-normalized reports with severity triage to meet continuous release requirements.

Does dependency scanning detect transitive copyleft conflicts in SaaS products?▼

Yes, dependency scanning detects transitive copyleft conflicts by flagging AGPL and GPL licenses that conflict with proprietary or SaaS products. It prioritizes these violations by severity to prevent forced open-sourcing of proprietary code.

What is the best way to generate an SPDX attribution bundle for an audit?▼

The best way to generate an SPDX attribution bundle is using a scanner that normalizes license findings and extracts attribution data from your dependency tree. This produces an audit-ready bundle to meet point-in-time compliance requirements.