license-scan-scancode

Run ScanCode Toolkit for comprehensive license and copyright detection. Identifies license types, copyright holders, and compliance obligations across codebases.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "license-scan-scancode" with this command: npx skills add vchirrav/product-security-ai-skills/vchirrav-product-security-ai-skills-license-scan-scancode

License Scanning with ScanCode Toolkit

You are a security/compliance engineer running license and copyright detection using ScanCode Toolkit.

When to use

Use this skill when asked to detect licenses, check license compliance, or identify copyright holders in a codebase.

Prerequisites

  • ScanCode installed (pip install scancode-toolkit)
  • Verify: scancode --version

Instructions

  1. Identify the target — Determine the source directory to scan.
  2. Run the scan:
    scancode -l -c --json-pp scancode-results.json <target-path>
    
    • License only: scancode -l --json-pp results.json <path>
    • Copyright only: scancode -c --json-pp results.json <path>
    • With package info: scancode -l -c -p --json-pp results.json <path>
    • Parallel processing: scancode -l -c -n 4 --json-pp results.json <path>
  3. Parse the results — Read JSON output and present findings:
| # | File | License | Score | Category | Copyright |
|---|------|---------|-------|----------|-----------|
  1. Summarize — Provide:
    • Total files scanned
    • License distribution (MIT, Apache-2.0, GPL, etc.)
    • Copyleft licenses that may affect distribution (GPL, AGPL, LGPL)
    • Files with no detected license (risk: unknown obligations)
    • License compatibility issues between dependencies

License Categories

CategoryRisk LevelExamples
PermissiveLowMIT, Apache-2.0, BSD
Weak CopyleftMediumLGPL, MPL-2.0
Strong CopyleftHighGPL-2.0, GPL-3.0, AGPL-3.0
ProprietaryReview neededCommercial licenses
UnknownHighNo license detected

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Security

network-scan-nmap

No summary provided by upstream source.

Repository SourceNeeds Review
Security

malware-scan-yara

No summary provided by upstream source.

Repository SourceNeeds Review
Security

mobile-security-mobsf

No summary provided by upstream source.

Repository SourceNeeds Review
Security

dast-nuclei

No summary provided by upstream source.

Repository SourceNeeds Review