Skip to content

solosofi/riskgraph

Repository files navigation

RiskGraph

Credit score for open-source packages.
Know what you're installing before you install it.

RiskGraph analyzes npm and PyPI packages for risk signals: maintainer churn, version anomalies, missing licenses, abandoned dependencies, and typosquatting.

Quick Start

pip install riskgraph

Scan a package:

os-risk scan lodash --ecosystem npm

API

curl https://api.riskgraph.io/api/v1/package-risk/npm/lodash

Response:

{"package": "lodash", "score": 1.1, "level": "LOW", "signals": [...]}

Dashboard

riskgraph.io — input a package name, get a risk score.

Why RiskGraph?

  • Proactive risk — not just CVEs, but maintainer health, version anomalies, typosquatting signals
  • Ecosystem-agnostic — npm, PyPI, GitHub
  • Developer-first — CLI, API, dashboard, all free tier
  • Open-source — MIT License

Roadmap

  • Core scoring engine (npm, PyPI)
  • REST API (FastAPI)
  • CLI tool
  • Dashboard
  • CI/CD integrations (GitHub Actions, GitLab)
  • Enterprise SBOM generation
  • Real-time package monitoring
  • Data moat: 10M+ packages indexed

License

MIT

Public Deployment for RapidAPI

RapidAPI cannot call localhost; deploy RiskGraph first and use the public URL as the RapidAPI base URL.

Fastest options:

Render

  1. Connect this repository to Render.
  2. Render auto-detects render.yaml.
  3. Public base URL target: https://riskgraph.onrender.com.

Railway

  1. Connect this repository to Railway.
  2. Railway uses railway.toml.
  3. Set start command if needed: uvicorn riskgraph.api.main:app --host 0.0.0.0 --port $PORT

About

RiskGraph: credit score API for npm/PyPI packages — CVEs, maintainer health, version anomalies, downloads, license risk. Built for AI agents and CI/CD.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors