npm & PyPI Vulnerability Scanner – Dependency Risk Audit avatar

npm & PyPI Vulnerability Scanner – Dependency Risk Audit

Pricing

$2.00 / 1,000 package analyzeds

Go to Apify Store
npm & PyPI Vulnerability Scanner – Dependency Risk Audit

npm & PyPI Vulnerability Scanner – Dependency Risk Audit

For developers, security & compliance teams: paste a package.json, requirements.txt or Cargo.toml and get known CVEs (OSV) at your exact pinned versions with CVSS scores, malware advisories, licenses, maintainer & abandonment risk for every npm, PyPI and crates.io dependency.

Pricing

$2.00 / 1,000 package analyzeds

Rating

0.0

(0)

Developer

maraa k

maraa k

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Features

Limited permissions

Share

Package Intel: npm, PyPI & crates.io metadata, vulnerabilities and supply-chain risk

Check any open-source package, or paste a whole package.json, requirements.txt or Cargo.toml, and get a risk report for every dependency: known vulnerabilities at your exact pinned version, malware advisories, maintenance health, license and adoption.

For developers and DevSecOps teams checking dependencies before adoption, security reviews, M&A or vendor due diligence, and open-source researchers.

What you get per package

  • Vulnerabilities from OSV.dev (GitHub Advisories, PyPA, RustSec…) for the exact version you use, with severity, CVSS score, CVE aliases, the versions that fix them, and links.
  • Known malware: versions flagged by OSV MAL- advisories (e.g. the flatmap-stream backdoor) are rated critical.
  • Supply-chain flags: install scripts (preinstall/postinstall), brand-new packages (typosquat risk), single maintainer, deprecated, yanked versions, no license or a copyleft license, no source repo, unmaintained (no release in 2+ years), low adoption.
  • Metadata: latest version, weekly/monthly downloads, maintainers, license, release dates, repository, homepage.
  • A risk score (0–100) and a risk level (low / medium / high / critical).

Accurate counts and severities

  • Duplicates merged. OSV often lists the same issue as both GHSA-… and PYSEC-…. Advisories sharing a CVE or alias are merged, so 5 vulnerabilities really means 5.
  • Severity always filled in. When an advisory has only a CVSS vector, the actor computes the score with the official CVSS 3.1 formula (validated against reference scores).
  • No false malware alarms. Ordinary advisories that say "a malicious user can…" are not flagged as malware.

Input

{ "packages": ["npm:lodash@4.17.15", "pypi:requests==2.19.0", "crates:serde", "react"] }

or

{ "dependencyFile": "{ \"dependencies\": { \"express\": \"4.17.1\", \"axios\": \"0.21.0\" } }" }

Exact pins are checked at that version. Ranges like ^1.2.0 or >=2 are checked at the latest version (requestedVersion: null).

Output (abridged)

{
"ecosystem": "npm", "name": "axios", "checkedVersion": "0.21.0", "latestVersion": "1.13.2",
"riskLevel": "high", "riskScore": 100, "vulnerabilityCount": 25, "suggestedUpgrade": "1.13.2",
"vulnerabilities": [{ "id": "GHSA-…", "severity": "HIGH", "cvssScore": 7.5, "aliases": ["CVE-…"], "fixedIn": ["0.21.1"], "url": "https://osv.dev/vulnerability/GHSA-…" }],
"flags": [{ "flag": "high-vulnerability", "severity": "high", "detail": "…" }],
"weeklyDownloads": 147349771, "license": "MIT", "maintainers": ["…"], "daysSinceLastRelease": 12
}

Use the "One row per vulnerability" view for a flat CVE list. Add onlyRisky: true to fail CI or alert only when something matters.

How to use it

  1. Either list packages (npm:lodash@4.17.15, pypi:requests==2.19.0, crates:serde) or paste a whole package.json, requirements.txt or Cargo.toml into Dependency file.
  2. Turn on Only risky if you just want what needs action.
  3. Click Start.
  4. Open Overview for a risk level per package, or Vulnerabilities for one row per CVE with the fixed version.

How much does it cost?

You pay $2 per 1,000 packages returned, with no subscription and no separate compute charges. Filters that drop rows mean you don't pay for those rows.

You processTypical useCost
100 packagesone project's dependencies$0.20
1,000 packagesa monorepo or a security review$2
10,000 packagesa portfolio-wide audit$20

Apify's free plan includes monthly credit, which is enough to try this actor on a real list before you pay anything.

Use it from code or your tools

Run it from Make, Zapier, n8n, Google Sheets, Slack, webhooks or any language through the Apify API.

Python

from apify_client import ApifyClient
client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("lokieee0/package-intel").call(run_input={
"dependencyFile": "{\"dependencies\":{\"express\":\"4.17.1\",\"axios\":\"0.21.0\"}}",
"onlyRisky": True
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)

Node.js

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('lokieee0/package-intel').call({"dependencyFile": "{\"dependencies\":{\"express\":\"4.17.1\",\"axios\":\"0.21.0\"}}", "onlyRisky": true});
const { items } = await client.dataset(run.defaultDatasetId).listItems();

cURL (run and get results in one request)

curl -X POST "https://api.apify.com/v2/acts/lokieee0~package-intel/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>" \
-H "Content-Type: application/json" \
-d '{"dependencyFile": "{\"dependencies\":{\"express\":\"4.17.1\",\"axios\":\"0.21.0\"}}", "onlyRisky": true}'

FAQ

Where does the vulnerability data come from? OSV.dev, which combines GitHub Security Advisories, PyPA, RustSec and more. Duplicate advisories are merged, and missing CVSS scores are calculated from the vector.

Can I use it in CI? Yes. Call it from GitHub Actions or any CI through the API with onlyRisky: true, and fail the build if the dataset isn't empty.

Does it detect malicious packages? Yes. Versions flagged by OSV malware (MAL-) advisories are rated critical, along with install scripts, typosquat-age packages and single-maintainer risk.

Can I schedule it or connect it to other apps? Yes. Use Apify Schedules for recurring runs, and Integrations to send results to Google Sheets, Slack, email, Zapier, Make, n8n or a webhook.

Something didn't work or a field is missing? Open an issue on the Issues tab. Reports are usually fixed within a few days, and feature requests are welcome.

More tools from the same developer