# OSV Package Advisory Monitor — workflow

## Choose this tool

Give this Actor the package versions your workflow tracks. It queries the official OSV API and exports source advisory IDs, affected ranges, published fix events and saved corrections. Repeated comparisons also check previously saved IDs for explicit withdrawal evidence.

Useful output columns: `observationId`, `ecosystem`, `packageName`, `requestedVersion`, `advisoryId`, `watchStatus`.

## Practical workflow

Paste this exact input into Console's JSON editor. No source API key is required. These historical examples demonstrate the fields; they are not recommendations to install these versions.

```json
{
  "packages": [
    {
      "ecosystem": "npm",
      "name": "lodash",
      "version": "4.17.20"
    }
  ],
  "maxResults": 5,
  "maxAdvisoriesPerPackage": 20
}
```

Open **Dataset** for saved observations and **Run report** for coverage. **SUMMARY** is the machine-readable record. Empty API input and the Console prefill use the documented sample inventory; the maximum is a cap, not a promised result count.

## Check the fit

- **Exact inventory:** up to 20 package/version entries from npm, PyPI, Maven, Go, crates.io or RubyGems. PyPI names use normalized lowercase hyphen spelling. No repository cloning, transitive dependency resolution, lockfile parsing or installed-code inspection.
- **Publisher matching:** OSV performs version matching, documented as fuzzy upstream matching. Returned records must have matching package evidence. A successful no-match query saves zero rows and does not certify safety.
- **Bounded results:** default 20 current advisories and three query pages per package; maximum 100 and ten. Per-package source truncation is marked incomplete. The separate `maxResults` output cap is an intentional sample and can leave selected output or packages unreached.
- **Withdrawal checks:** OSV excludes withdrawn records from query results but retains individual records by ID. Comparison runs check up to 100 absent, previously saved IDs per package after current rows. Incomplete pagination, output limits, unavailable IDs or deadlines leave explicit coverage gaps. No missing ID becomes a removal/resolution event.
- **Evidence only:** no exploit instructions, security certification, installation, remediation action or automatic upgrade. The official free OSV-Scanner is a strong option for repository and SBOM scanning.
- **Access and budgets:** public documented APIs only, sequential requests, pinned public DNS and no cross-host redirect following. Responses are capped at 2 MiB. One bounded retry is allowed for 502/503/504; rate/access refusals are reported without bypass.
- **Run bounds:** `maxRunSeconds` defaults to 240 and also respects the platform deadline minus 25 seconds. Configure Apify's maximum total charge as well as `maxResults`.

SUMMARY includes saved/observed counts, per-source coverage, unreached entries, history outcome and time/spending limits. Intentional output caps are bounded samples. Source, source-window, time and history failures are partial or failed. All-source or all-output failures fail the run. Errors and no-match diagnostics are never paid data rows.

## Real output sample

One selected row from a 2026-10-15 run. One saved row, selected scalar columns only. Contact details, patient demographics and long text are omitted. Original values and nulls are preserved.

Run: JBn2b0851pjrgg2fL. Summary status: ok. Incomplete: false.

Historical output from this run; the current example input is a separate starting configuration and may produce different records.

```json
{
  "observationId": "e9a38323a69c7b4c28e80e5329fb4a24:GHSA-29mw-wpgm-hmr9",
  "ecosystem": "npm",
  "packageName": "lodash",
  "requestedVersion": "4.17.20",
  "advisoryId": "GHSA-29mw-wpgm-hmr9",
  "watchStatus": "query_match",
  "modifiedAt": "2025-09-29T21:12:31.102523Z",
  "withdrawnAt": null,
  "comparisonStatus": "unchanged",
  "sourceUrl": "https://api.osv.dev/v1/vulns/GHSA-29mw-wpgm-hmr9",
  "observedAt": "2026-10-15T22:31:32.153Z"
}
```

## Combine with companion tools

Each Actor runs separately with its own inputs, authorization and pricing. These instructions do not configure automatic execution.

### [CISA KEV Watchlist Monitor - Catalog Changes and EPSS](https://mayd-it.com/data-tools/actors/cisa-kev-watchlist-monitor/)

Monitor CISA known exploited vulnerability watchlists by vendor, product or CVE. Track saved catalog revisions, exact match evidence and optional FIRST EPSS scores. No API key. Keep this CISA KEV Watchlist Monitor evidence alongside the original source in a reviewed dependency maintenance workflow.

1. Choose the corresponding source target in this second Actor’s own input form; no automatic field transfer is configured.
2. Keep both original source URLs and observation dates in your review sheet; reconcile identities manually.

Package registries, container tags, support lifecycles and vulnerability advisories have different identifiers. Verify ecosystem, package, exact version and source scope before matching records.

### [npm Package Release Monitor - Versions & Dependency Changes](https://mayd-it.com/data-tools/actors/npm-package-release-monitor/)

Watch npm releases, dependencies, engine requirements and declared metadata. Optional saved comparisons and changes-only output. Public registry; no API key or package installation. Keep this npm Package Release Monitor evidence alongside the original source in a reviewed dependency maintenance workflow.

1. Choose the corresponding source target in this second Actor’s own input form; no automatic field transfer is configured.
2. Keep both original source URLs and observation dates in your review sheet; reconcile identities manually.

Package registries, container tags, support lifecycles and vulnerability advisories have different identifiers. Verify ecosystem, package, exact version and source scope before matching records.
