# Audit Core npm, PyPI, Go & Cargo SBOM Risk

**Use case:** 

Audits flagship open-source dependencies across npm, PyPI, Go, and Cargo against OSV.dev, deps.dev, and OpenSSF Scorecard, returning SPDX licenses, active CVE counts, repository stars, and supply-chain risk scores.

## Input

```json
{
  "packages": [
    "npm:express",
    "npm:lodash",
    "npm:axios",
    "pypi:requests",
    "pypi:jinja2",
    "pypi:urllib3",
    "go:github.com/gin-gonic/gin",
    "cargo:serde"
  ],
  "npmSearchQuery": "",
  "includeScorecard": true,
  "onlyVulnerable": false,
  "maxResults": 25
}
```

## Output

```json
{
  "ecosystem": {
    "label": "Ecosystem",
    "format": "string"
  },
  "packageName": {
    "label": "Package Name",
    "format": "string"
  },
  "version": {
    "label": "Version",
    "format": "string"
  },
  "licenses": {
    "label": "SPDX Licenses",
    "format": "array"
  },
  "vulnerabilityCount": {
    "label": "OSV / CVE Count",
    "format": "integer"
  },
  "vulnerabilityIds": {
    "label": "Advisory IDs",
    "format": "array"
  },
  "openssfScorecard": {
    "label": "OpenSSF Scorecard",
    "format": "number"
  },
  "starsCount": {
    "label": "Repo Stars",
    "format": "integer"
  },
  "supplyChainRiskScore": {
    "label": "Risk Score (0-100)",
    "format": "integer"
  },
  "sourceRepoUrl": {
    "label": "Source Repo",
    "format": "string"
  },
  "depsDevUrl": {
    "label": "deps.dev URL",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Open-Source Package Security, Licenses & SBOM API Intel Actor is ready to run with the inputs already set for "Audit Core npm, PyPI, Go & Cargo SBOM Risk". [Sign up or log in](https://console.apify.com/create-task-from-example/gDboNEn0yw8121SOu) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Audit Core npm, PyPI, Go & Cargo SBOM Risk" task

The Open-Source Package Security, Licenses & SBOM API Intel Actor will start running based on the input automatically. You can also change all the input fields, like packages to audit (ecosystem:name or ecosystem:name@version), enrich openssf scorecard & source repo health, and more, to match your specific use case.

### 3. Receive the "Audit Core npm, PyPI, Go & Cargo SBOM Risk" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as ecosystem, package name, version, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Audit Core npm, PyPI, Go & Cargo SBOM Risk" task via API](https://apify.com/grimbles/oss-supply-chain-security-sbom-intel.md).

## FAQ

### Which package ecosystems does this SBOM Security task support?

The OSS Supply-Chain Security task supports npm, pypi, go, cargo, maven, and nuget packages with optional @version pinning.

### What security and license fields are returned per package?

Each record includes version, licenses, vulnerabilityCount, vulnerabilityIds, cveAliases, openssfScorecard, starsCount, sourceRepoUrl, and supplyChainRiskScore.

### Can I pass my own package.json or requirements.txt dependencies?

Replace the packages array with your own list of 'ecosystem:name' or 'ecosystem:name@version' entries in the duplicated task or API call.

### Where does the vulnerability and Scorecard telemetry come from?

All data comes from the open Google/OpenSSF OSV.dev API v1 and Google Open Source Insights deps.dev API v3 without requiring API keys.

## About this Actor

This example demonstrates how to use [Open-Source Package Security, Licenses & SBOM API Intel](https://apify.com/grimbles/oss-supply-chain-security-sbom-intel.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/grimbles/oss-supply-chain-security-sbom-intel.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/grimbles/oss-supply-chain-security-sbom-intel.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
