GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - maiductuan/yellow-duck-oss-scanner

BranchesTags
Open more actions menu

Latest commit

 

History

1 Commit
1 Commit

Folders and files

NameName
Last commit message
Last commit date
yellow_duck_scanner
yellow_duck_scanner
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
logo.png
logo.png
 
 
pyproject.toml
pyproject.toml
 
 

Repository files navigation

Yellow Duck CLI License Scanner 🦆

Yellow Duck Logo

Blazing fast, 100% local, privacy-first open-source Software Composition Analysis (SCA) & license compliance CLI auditor.

Python Version License: MIT PRs Welcome

Key Features • Supported Ecosystems • Installation • Quick Start • Compliance Rules • Contributing


🌟 Key Features

  • 🛡️ 100% Local & Privacy-First: No code, repository manifests, or proprietary files ever leave your machine. Your IP stays yours.
  • ⚡ High-Performance Concurrent Scanning: Queries public registries (NPM, PyPI, Cargo, NuGet, Maven Central, Go Modules) concurrently using a thread pool.
  • 💾 Smart Local Caching: Caches resolved metadata locally (~/.yellowduck/license_cache.json) to make subsequent scans near-instant.
  • 📊 Stunning Glassmorphic Reports: Generates interactive, modern, dark-mode HTML dashboards with instant filtering.
  • 📜 CycloneDX Standard SBOM: Export your compliance audits directly into standard CycloneDX JSON Software Bill of Materials (SBOM).
  • ⚖️ Automated Compliance Verification: Instantly flags high-risk copyleft licenses (GPL, AGPL) that can legally compromise proprietary source code.

📦 Supported Ecosystems

The scanner automatically detects and parses project manifest files across all major modern packaging systems:

Ecosystem Package Manager Manifest File Risk Checking
Node.js NPM / Yarn / Pnpm package.json ✅ Yes
Python PIP / Pipenv requirements.txt ✅ Yes
Go Go Modules go.mod ✅ Yes
Java / Kotlin Maven pom.xml ✅ Yes
Rust Cargo Cargo.toml ✅ Yes
.NET / C# NuGet .csproj ✅ Yes
PHP Composer composer.json ✅ Yes

🛠️ Installation

Yellow Duck Scanner requires Python 3.8+. You can install the tool directly from source:

# Clone the repository (or navigate to scanner directory)
cd yellow-duck-scanner

# Install in editable mode or globally
pip install .

This registers the global yd-scanner executable to your system path.


🚀 Quick Start

Scan your project directory and generate audits in seconds.

1. Basic Scan (Generates HTML Dashboard)

# Scan the current directory and generate report.html
yd-scanner

# Scan a specific directory
yd-scanner /path/to/my-project

2. Generate CycloneDX SBOM (Software Bill of Materials)

# Generate standardized compliance SBOM
yd-scanner /path/to/my-project --output-format sbom --output-file sbom.json

3. Generate Raw JSON Export

yd-scanner /path/to/my-project --output-format json --output-file report.json

4. Advanced CLI Configuration

# Increase concurrent worker threads (Default: 10)
yd-scanner /path/to/project --threads 25

# Force fresh lookup (bypass local cache)
yd-scanner /path/to/project --no-cache

# Clear local license cache
yd-scanner --clear-cache

⚙️ How It Works

 ┌─────────────────┐      ┌─────────────┐      ┌─────────────────────────┐
 │ Project Source  ├─────►│ Manifest    ├─────►│ Concurrent API Resolver │
 │ (Local Folder)  │      │ Parsers     │      │ (Local cache / Online)  │
 └─────────────────┘      └─────────────┘      └────────────┬────────────┘
                                                            │
 ┌─────────────────┐      ┌─────────────┐      ┌────────────▼────────────┐
 │  HTML Report /  │◄─────┤ Compliance  │◄─────┤ License Rules Engine    │
 │  CycloneDX SBOM │      │ Flagging    │      │ (Risk Evaluation)       │
 └─────────────────┘      └─────────────┘      └─────────────────────────┘

⚠️ Compliance & Risk Levels

Dependencies are classified into three core compliance risk tiers:

🔴 High Risk (Copyleft)

  • Licenses: GPL, AGPL, CC-BY-NC, etc.
  • Implication: Requires you to disclose/release the source code of your entire application under the same license if distributed.

🟡 Medium Risk (Weak Copyleft / Restricted)

  • Licenses: LGPL, MPL, EPL, CDDL, etc.
  • Implication: Requires releasing modifications made to the library itself, but allows linking with proprietary software without forcing open-source disclosure.

🟢 Low Risk (Permissive)

  • Licenses: MIT, Apache 2.0, BSD (2 & 3 Clause), ISC, Unlicense.
  • Implication: Allows full proprietary modification, commercial redistribution, and sub-licensing without any source code disclosure requirements.

🤝 Contributing

Contributions make the open-source community an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📄 License

Distributed under the MIT License. See LICENSE for more information.

Built with ❤️ by the Yellow Duck Open Source Community.

About

No description or website provided.

Topics

dependency-scannerlicense-scannerossscasoftware-composition-analysis

Resources

Readme
Activity

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.