Skip to main content

Endpoints

Check a package

Malware, install-time code, typosquatting and known vulnerabilities for one npm or PyPI package.

Check multiple packages

Up to 10 packages in one request.

Analyze a workflow

Secret theft, script injection, risky actions and permission issues in a GitHub Actions workflow.

Scan recent runs

The workflows that actually ran, including ones later reverted or force-pushed away.

Base URL

All responses are JSON. Requests with a body accept JSON, and the workflow endpoint also accepts raw YAML.

Data sources

  • Package metadata and published artifacts from the npm registry and PyPI
  • Vulnerability and malware advisories from OSV, which includes the GitHub Advisory Database and the OpenSSF Malicious Packages dataset
  • Download counts from the npm downloads API and pypistats.org
  • Workflow runs and repository metadata from the GitHub API
  • Indicators and techniques from published campaign research. See Threat intelligence
Workflows and package contents are analyzed in memory and not stored.

Quickstart

Rate limits

OpenAPI spec