> ## Documentation Index
> Fetch the complete documentation index at: https://opm.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# opm check

> Full dependency security scan with AI agents.

# opm check

Scans all dependencies for typosquats, CVEs, on-chain risk, and AI-detected threats. Optionally uploads a report to Fileverse.

## What It Scans

* **Typosquats** — Levenshtein distance against top npm packages
* **CVEs** — OSV API lookup for known vulnerabilities per package/version
* **On-chain scores** — Aggregate risk from OPMRegistry for registered packages
* **AI analysis** — 3 agents analyze the full dependency list in parallel, producing severity ratings and suggested replacements

## Output

* Per-dependency results: typosquats, CVE counts, on-chain scores, fix versions
* AI agent findings with severity and suggested replacements
* Summary: total typosquats, CVEs, high-risk, AI flags
* Fileverse report link when upload succeeds

<Note>
  Requires `OPENROUTER_API_KEY` or `OPENAI_API_KEY` for AI analysis. Without them, typosquat and CVE checks still run.
</Note>

<Tip>
  Run `opm fix` to auto-apply the fixes identified by `opm check`.
</Tip>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.