# OSS IQ > An open-source CLI and MCP server that maps the blast radius of a dependency upgrade in a Python or JavaScript project. It gives you or your coding agent a deterministic, solver-backed update plan. For every package in the dependency graph it reports a next action, version drift, known CVEs and maintenance state. ## What OSS IQ Does OSS IQ is a Software Composition Analysis (SCA) tool for platform engineers and development teams. It goes beyond vulnerability scanning. Before you change a dependency, it shows what the upgrade moves across the dependency graph. It also shows whether a package is worth depending on at all. - Scans project manifest files (package.json with package-lock.json; pyproject.toml with uv.lock; pylock.toml; requirements.txt) - Cross-references against public package registries (npm, PyPI), CVE databases, and GitHub repository signals - Reports a next action per package, plus a repository-stability verdict (`retain`, `patch`, `refactor` or `evict`) built from exploit probability and upstream maintenance - Supports JavaScript (npm, pnpm) and Python (uv, pip lock, pip) ecosystems - Outputs reports as terminal console, HTML, JSON, or a compact agent format - Findings never change the exit code; gate CI with your own check over the `ossiq export` JSON ## Commands Each command answers one question about a dependency, in your terminal or through your coding agent: - `ossiq status`: What state is my project in? One scan covers every direct and transitive dependency: version drift, known CVEs with their exploit probability, and maintenance health. Each package gets a next action, so you know what to fix first. - `ossiq info `: Is this package worth depending on? It reports one package inside your project: its version drift, its CVEs and those of its transitive dependencies, and where it sits in your dependency tree. See [Package details](https://ossiq.dev/getting-started.html#package-details). - `ossiq add `: Is it safe to add right now? A quality gate in front of `npm install`, `pnpm add` and `uv add`. It shows CVEs, maintainer information and health warnings. After you confirm, it installs the recommended version, not the newest. npm installs run with `--ignore-scripts`. See [Gated package add](https://ossiq.dev/getting-started.html#gated-package-add). - Critical warnings block the add unless you pass `--force`. They cover a package its registry has retired or quarantined, a deprecated release you request with `--version`, and a package with a single published version (a common typosquat pattern). - A release still inside the cooldown period (7 days by default) gets a warning, not a block. - `ossiq plan` and `ossiq apply`: What can I upgrade without breaking the tree? The solver simulates the full transitive cascade before it recommends a version. `plan` previews the change and writes nothing. `apply` shows the plan, writes it after you confirm, and rolls back if the install fails. See [Plan and apply updates](https://ossiq.dev/getting-started.html#plan-and-apply-updates). - `--update-strategy` sets how far to move: `security`, `deprecation`, `standard` (the default), `latest` or `cutting-edge`. - `--strategy-override =` moves one package differently. - `apply --yes` skips the prompt in CI. - Under pnpm, `apply` and `add` run pnpm with the cooldown period as its `minimumReleaseAge`, so new transitive dependencies are held to the cooldown. `--cooldown-period 0` turns that off. - `ossiq install skills`: Can my coding agent do all of this? It installs a skill for Claude Code, OpenAI Codex and GitHub Copilot, and registers a local MCP server for Claude Code and Codex. The agent asks OSS IQ before it adds or updates a dependency. The MCP tools (`ossiq_evaluate_dependency`, `ossiq_evaluate_updates`, `ossiq_update_context`) are read-only: nothing changes until you run `ossiq apply` and confirm. See [Coding agents](https://ossiq.dev/getting-started.html#coding-agents). ## Install and log in - Run without installing: `uvx ossiq status` (PyPI) or `npx @ossiq/cli status` (npm: a native binary for macOS, Linux glibc and Windows x64; no Python needed) - Install permanently from PyPI (`uv tool install ossiq` or `pipx install ossiq`), npm (`npm install -g @ossiq/cli`) or Docker (`docker pull ossiq/ossiq-cli`) - Log in to GitHub once with `ossiq auth login` (one-time code; the token stays in the OS secret store) to raise the API limit from 60 to 5,000 requests per hour. In CI and containers, set `OSSIQ_GITHUB_TOKEN` instead ## Agent benchmark These figures compare a coding agent that receives an OSS IQ static report with the same agent working unassisted, per dependency update: - Cost per verified update: $0.164 unassisted, $0.097 with OSS IQ (41% lower) - Median time: 96 seconds unassisted, 38 seconds with OSS IQ (60% lower) - Agent turns: 22 unassisted, 8 with OSS IQ - Registry lookups by the agent: 9 unassisted, 0 with OSS IQ - Consistency: ten unassisted runs of one upgrade produced two different dependency trees; all ten runs with OSS IQ produced the same one - Through the MCP server instead of a static report, the saving is 29% on cost and 33% on time Source: the Round 3 agent benchmark of 28 September 2026, with 60 sessions across two projects and three delivery modes, ten seeds each. Every arm reached 100% verified-correct results, including the unassisted one, so the benchmark makes no claim that OSS IQ improves correctness. Both fixtures have six dependencies and are not production repositories. ## Documentation - [Getting Started](https://ossiq.dev/getting-started.html): Installation, first scan, and basic usage - [Log in to GitHub](https://ossiq.dev/how-to/github-login.html): Device-flow login, CI tokens, and troubleshooting - [Resolve a blocked update or a peer problem](https://ossiq.dev/how-to/resolve-blocked-updates.html): Move past a transitive constraint, fix a peer violation, or repair an unresolved peer - [Set a supply-chain policy](https://ossiq.dev/how-to/set-a-supply-chain-policy.html): Refuse versions that are too new or lack the build or source evidence you require, with a committed `.ossiq.yaml` - [Verifying a release](https://ossiq.dev/how-to/verifying-a-release.html): Check the signed SLSA build provenance of an installed artifact with `gh attestation verify` - [Explanation](https://ossiq.dev/explanation/index.html): Map of the explanation pages, in the order of a run: what OSS IQ measures, how it picks an update, and what it writes - [The update pyramid](https://ossiq.dev/recommendations/update-pyramid.html): The five update strategy tiers, how far each one reaches, and what choosing a tier risks - [How a recommendation is decided](https://ossiq.dev/recommendations.html): The three questions OSS IQ answers before it recommends a version, and how to read the result - [Constraint provenance](https://ossiq.dev/explanation/constraint-provenance.html): Why OSS IQ reports where each version constraint comes from, and who can change the version it holds - [Cooldown](https://ossiq.dev/explanation/cooldown.html): Why a release must age 7 days before OSS IQ recommends it, and what skips the wait - [Reference](https://ossiq.dev/reference.html): Map of the reference pages, grouped by what you have in front of you: a command, a report, a rule, or code - [Commands](https://ossiq.dev/reference/commands.html): Every command with its arguments, options and exit codes - [Configuration](https://ossiq.dev/reference/configuration.html): Global flags, `OSSIQ_*` environment variables, the config file, GitHub token precedence, and the hosts a scan calls - [Console and HTML reports](https://ossiq.dev/reference/reports.html): Every column, marker and sub-row of `ossiq status`, `ossiq info` and the HTML report - [JSON export and agent format](https://ossiq.dev/reference/export-and-agent-format.html): Every field of the `ossiq export` file, the `--format agent` decision, and the MCP tools - [Update rules](https://ossiq.dev/reference/update-rules.html): The five update strategy tiers, the version ladder, and the solver's cooldown, CVE, peer and override rules - [Constraints, overrides and aliases](https://ossiq.dev/reference/constraints.html): The five constraint types, pip and uv constraint settings, npm and pnpm `overrides` and package aliases - [npm and pnpm projects](https://ossiq.dev/reference/npm-and-pnpm.html): How OSS IQ tells an npm project from a pnpm one, which files it reads, and what `apply` and `add` write and run - [Python API](https://ossiq.dev/reference/python-api.html): `scan()`, `ScanResult`, `ScanRecord`, `Settings` and the other types you can import - [Stability guarantees](https://ossiq.dev/reference/stability.html): What stays the same across releases: the export schema, the CLI interface and repeatable scans - [Tutorials](https://ossiq.dev/tutorials/): Step-by-step guides for common use cases ## Markdown sources Each documentation page is also published as plain Markdown. Replace `.html` with `_sources/.md.txt`: - [Getting Started](https://ossiq.dev/_sources/getting-started.md.txt) - [Reference](https://ossiq.dev/_sources/reference.md.txt) - [Commands](https://ossiq.dev/_sources/reference/commands.md.txt) - [Configuration](https://ossiq.dev/_sources/reference/configuration.md.txt) - [Console and HTML reports](https://ossiq.dev/_sources/reference/reports.md.txt) - [JSON export and agent format](https://ossiq.dev/_sources/reference/export-and-agent-format.md.txt) - [Update rules](https://ossiq.dev/_sources/reference/update-rules.md.txt) - [Constraints, overrides and aliases](https://ossiq.dev/_sources/reference/constraints.md.txt) - [Python API](https://ossiq.dev/_sources/reference/python-api.md.txt) - [Stability guarantees](https://ossiq.dev/_sources/reference/stability.md.txt) - [Explanation](https://ossiq.dev/_sources/explanation/index.md.txt) - [Repository stability](https://ossiq.dev/_sources/explanation/repository-stability.md.txt) - [Constraint provenance](https://ossiq.dev/_sources/explanation/constraint-provenance.md.txt) - [Partial data](https://ossiq.dev/_sources/recommendations/partial-data.md.txt) - [The update pyramid](https://ossiq.dev/_sources/recommendations/update-pyramid.md.txt) - [How a recommendation is decided](https://ossiq.dev/_sources/recommendations.md.txt) - [Motives](https://ossiq.dev/_sources/recommendations/motives.md.txt) - [How OSS IQ picks a target version](https://ossiq.dev/_sources/recommendations/target-selection.md.txt) - [Cooldown](https://ossiq.dev/_sources/explanation/cooldown.md.txt) - [Engine constraints](https://ossiq.dev/_sources/recommendations/engine-constraints.md.txt) - [Every recommendation OSS IQ can make](https://ossiq.dev/_sources/recommendations/catalogue.md.txt) - [The cycle: status → plan → apply](https://ossiq.dev/_sources/recommendations/the-cycle.md.txt) - [Log in to GitHub](https://ossiq.dev/_sources/how-to/github-login.md.txt) - [Resolve a blocked update or a peer problem](https://ossiq.dev/_sources/how-to/resolve-blocked-updates.md.txt) - [Set a supply-chain policy](https://ossiq.dev/_sources/how-to/set-a-supply-chain-policy.md.txt) - [Verifying a release](https://ossiq.dev/_sources/how-to/verifying-a-release.md.txt) - [Tutorial: first analysis](https://ossiq.dev/_sources/tutorials/tutorial-first-analysis.md.txt) - [Tutorial: GitHub Actions](https://ossiq.dev/_sources/tutorials/tutorial-github-actions.md.txt) ## Research & Analysis - [OSS IQ Journal](https://ossiq.dev/journal/): In-depth reports on software supply chain risk and AI-assisted development - [The Poisoned Well: How AI Amplifies Open Source Supply Chain Attacks](https://ossiq.dev/journal/the-poisoned-well-ai-supply-chain-attacks.html): Technical synthesis of supply-chain attack patterns, the AI amplification mechanisms (slopsquatting, agentic installs), and a defense-in-depth maturity model - [The Hidden Cost of AI-Generated Code](https://ossiq.dev/journal/the-hidden-cost-of-ai-generated-code.html): Why faster AI-assisted code writing is degrading code quality, security, and delivery stability ## Sample Reports - [npm scan example](https://ossiq.dev/_static/samples/scan_npm_2026-10-14.html): Example output for a JavaScript project - [PyPI scan example](https://ossiq.dev/_static/samples/scan_pypi_2026-10-14.html): Example output for a Python project ## Project - License: AGPL-3.0-only - Source: https://github.com/ossiq/ossiq - Issues: https://github.com/ossiq/ossiq/issues - Changelog: https://github.com/ossiq/ossiq/releases - Contact: hello@ossiq.pro - Publisher: OSS IQ DEV SL, Barcelona, Spain