Utility to forecast risks associated with currently installed packages updates
Project description
OSS IQ
Quantify Maintenance Health. Control Your Drift.
OSS IQ is a free & open-source CLI tool that analyzes dependency drift at scale. Track version lag and transitive risk directly from your dependency files. It helps to move from reactive CVE-chasing to a planned, predictable maintenance rhythm.
What is OSS IQ?
In a typical project with hundreds of dependencies, how do you answer these questions?
- How many dependencies have critical vulnerabilities?
- How far behind the latest versions are we?
- Which packages are unmaintained or abandoned?
- Which newer versions of dependencies would work best for my project?
Key Features
- Security Blind Spots: Go beyond
npm auditto see which vulnerabilities actually matter and how to prioritize them. - Multiple Output Formats: CLI and interactive HTML per-project dependnecies exploration tools as well as export into clearly defined JSON or CSV schemas.
- CI/CD Integration: Use scores and metrics to build quality gates and enforce dependency policies automatically.
OSS IQ bridges the gap between raw dependency data and actionable intelligence. It analyzes version lag, CVEs, transitive dependencies, and maintainer activity to produce a single, holistic view of your project dependencies.
How It Works
- Run OSS IQ: Point the CLI to your project's manifest file (
package.json,pyproject.toml, etc.). OSS IQ supports NPM and Python (uv, pip). - Analyze Everything: Version lag, CVEs, transitive dependencies, and license compliance—all cross-referenced against public databases (OSV, npm, PyPI, ClearlyDefined) using MSR Engine.
- Get Your Report: See your dependencies drift report, drill into each package details, and get a prioritized list of what to fix first.
- Build Quality Gates: Use your project metrics to set up policies and drive organization behavior.
Quick Start
1. Run OSS IQ
The fastest way is to run directly from PyPI with uvx with no install required:
# JavaScript / npm
uvx --from ossiq ossiq-cli scan /path/to/your/project
# Python / uv / pip
uvx --from ossiq ossiq-cli scan /path/to/your/project
# Generate HTML report
uvx --from ossiq ossiq-cli scan --presentation=html --output report.html /path/to/your/project
OSS IQ automatically detects the dependency manifest (package.json, pyproject.toml, etc.) in the target directory.
GitHub Token
OSS IQ performs deep analysis by mining software repository history, which can involve hundreds of API requests to GitHub. To avoid being rate-limited, it's. best to provide a GitHub Personal Access Token (PAT).
export OSSIQ_GITHUB_TOKEN=$(gh auth token)
If you prefer a persistent install:
# Install with uv
uv add ossiq
# Or with pip
pip install ossiq
# Then run directly
ossiq-cli scan /path/to/your/project
Using Docker
OSS IQ CLI is available as a Docker image for easy deployment without installing Python dependencies.
# Pull the latest image
docker pull ossiq/ossiq-cli
# Set your GitHub token (required)
export OSSIQ_GITHUB_TOKEN=$(gh auth token)
# Scan a local project
docker run --rm \
-e OSSIQ_GITHUB_TOKEN \
-v /path/to/your/project:/project:ro \
ossiq/ossiq-cli scan /project
# Generate an HTML report
docker run --rm \
-e OSSIQ_GITHUB_TOKEN \
-v /path/to/your/project:/project:ro \
-v $(pwd)/reports:/output \
ossiq/ossiq-cli scan -p html -o /output/report.html /project
# Export to JSON for CI/CD pipelines
docker run --rm \
-e OSSIQ_GITHUB_TOKEN \
-v /path/to/your/project:/project:ro \
-v $(pwd)/reports:/output \
ossiq/ossiq-cli export -f json -o /output/metrics.json /project
Docker Image Tags:
ossiq/ossiq-cli:latest- Latest stable releaseossiq/ossiq-cli:0.1.3- Specific versionossiq/ossiq-cli:0.1- Latest patch in minor version
CI/CD Integration Example (GitHub Actions):
jobs:
dependency-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Analyze dependencies
run: |
docker run --rm \
-e OSSIQ_GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} \
-v ${{ github.workspace }}:/project:ro \
ossiq/ossiq-cli scan /project
Development Mode
To contribute or run from source:
# Clone the repository
git clone https://github.com/ossiq/ossiq.git
cd ossiq
# Install dependencies
uv sync
# Run the CLI
uv run hatch run ossiq-cli scan /path/to/your/project
# Generate HTML report
uv run hatch run ossiq-cli scan -p html -o ./test_report.html /path/to/your/project
Package Deep-Dive
Inspect a single package in detail — drift status, CVEs, transitive vulnerabilities, and its exact path in the dependency tree:
ossiq-cli package /path/to/your/project react
ossiq-cli package /path/to/your/project lodash --registry-type npm
The output mirrors the structure of the dependency detail panel:
[01] DRIFT STATUS — version lag bar, releases behind, latest version
[02] DEPENDENCY TREE TRACE — ancestry path from root to the package
[03] POLICY COMPLIANCE — declared constraint vs. resolved vs. latest
[04] SECURITY ADVISORIES — direct CVEs with severity and source
[05] VIA TRANSITIVE DEPENDENCIES — CVEs in packages pulled in by this one
If the package appears in multiple places in the tree (hoisted duplicates, diamond dependencies), each occurrence is shown separately with a SHARED NODE indicator.
Supported Ecosystems
NPM
Supported:
- npm – Package manager for JavaScript (
package.json+package-lock.json)
Not yet supported:
- Yarn and pnpm – See the issue tracker for roadmap status.
Python
Supported:
- uv – Fast Rust-based package manager (
pyproject.toml+uv.lock) - pip lock – pylock.toml lockfile format (
pyproject.toml+pylock.toml) - pip classic – Traditional
requirements.txt(best withpip freezeoutput)
Not yet supported:
- Poetry – Consider exporting to
pylock.tomlas a workaround (discussion)
Data Sources
OSS IQ aggregates data from the following public sources:
| Source | Purpose |
|---|---|
| OSV | Open-source vulnerability database (CVEs, security advisories) |
| ClearlyDefined | License and curation data for open-source packages |
| NPM Registry | Package metadata and version history for JavaScript packages |
| PyPI | Package metadata and version history for Python packages |
| GitHub | Repository activity, releases, and maintainer signals |
FAQ
Why another Software Composition Analysis tool?
OSS IQ is not another vulnerability scanner. It helps platform teams evaluate open-source dependencies as long-term engineering assets by analyzing lockfiles, dependency graphs, and maintenance signals, producing stable scores suitable for CI and platform governance.
How is OSS IQ different from npm audit or pip-audit?
Audit tools are great at finding known vulnerabilities. OSS IQ goes further by also analyzing non-security risks, such as how far behind you are from the latest version (technical debt) and whether a package is still actively maintained. We give you the full picture of dependency health, not just one part of it.
What ecosystems are supported?
OSS IQ currently supports popular ecosystems like npm for JavaScript and multiple dependency managers for Python (uv and classic pip). We are always working to add support for more ecosystems.
Is OSS IQ free?
Yes, OSS IQ is a completely free and open-source tool, licensed under the AGPL v3 license.
License
This project is licensed under the GNU Affero General Public License v3.0. See the LICENSE file for details.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ossiq-0.1.6.tar.gz.
File metadata
- Download URL: ossiq-0.1.6.tar.gz
- Upload date:
- Size: 286.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f8e4bf1d7bfb2001fc0715badafd42706ccc6a6ff9e7250a7e73ede0f895b84e
|
|
| MD5 |
a9097eef9a38b3cc72e394bbb5268ba5
|
|
| BLAKE2b-256 |
53f86871a80f70f8a35750b0d5b30bdd81584a6b04a5271b5d356b270da04ecf
|
Provenance
The following attestation bundles were made for ossiq-0.1.6.tar.gz:
Publisher:
release.yml on ossiq/ossiq
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ossiq-0.1.6.tar.gz -
Subject digest:
f8e4bf1d7bfb2001fc0715badafd42706ccc6a6ff9e7250a7e73ede0f895b84e - Sigstore transparency entry: 1151575837
- Sigstore integration time:
-
Permalink:
ossiq/ossiq@754b8e68346ef266d9543fe1546b8bee7c97b595 -
Branch / Tag:
refs/tags/v0.1.6 - Owner: https://github.com/ossiq
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@754b8e68346ef266d9543fe1546b8bee7c97b595 -
Trigger Event:
release
-
Statement type:
File details
Details for the file ossiq-0.1.6-py3-none-any.whl.
File metadata
- Download URL: ossiq-0.1.6-py3-none-any.whl
- Upload date:
- Size: 202.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e19be07b3e16c30b487a63198559d17accd6ea1ff02edc3a1d3c10d2a154896c
|
|
| MD5 |
ba1bfe1c53da5128e4eb9f81b1eae901
|
|
| BLAKE2b-256 |
e4b32b817f2645d8e67ee383599ac3b88fbce19563cc9600bc1ec1bc43c3624f
|
Provenance
The following attestation bundles were made for ossiq-0.1.6-py3-none-any.whl:
Publisher:
release.yml on ossiq/ossiq
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ossiq-0.1.6-py3-none-any.whl -
Subject digest:
e19be07b3e16c30b487a63198559d17accd6ea1ff02edc3a1d3c10d2a154896c - Sigstore transparency entry: 1151575884
- Sigstore integration time:
-
Permalink:
ossiq/ossiq@754b8e68346ef266d9543fe1546b8bee7c97b595 -
Branch / Tag:
refs/tags/v0.1.6 - Owner: https://github.com/ossiq
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@754b8e68346ef266d9543fe1546b8bee7c97b595 -
Trigger Event:
release
-
Statement type: