GitHub Repository Security & Maintenance Scorer avatar

GitHub Repository Security & Maintenance Scorer

Pricing

$50.00 / 1,000 github repository analyses

Go to Apify Store
GitHub Repository Security & Maintenance Scorer

GitHub Repository Security & Maintenance Scorer

Rate open source projects on security quality, maintenance status, and vulnerability risk before using them.

Pricing

$50.00 / 1,000 github repository analyses

Rating

0.0

(0)

Developer

daehwan kim

daehwan kim

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Categories

Share

GitHub Repository Intelligence

Analyze any GitHub repository for security vulnerabilities, outdated dependencies, and maintenance health in seconds. Get a comprehensive 0-100 intelligence score combining security metrics, vulnerability detection, and maintenance indicators.

What It Does

This Apify Actor performs deep analysis on GitHub repositories using three complementary APIs:

  1. GitHub REST API — Extracts repository metadata (stars, forks, last commit, open issues, license)
  2. OSV (Open Source Vulnerabilities) API — Identifies known CVEs in project dependencies with severity levels
  3. npm Registry API — Detects outdated packages in project dependencies

The actor then synthesizes these data points into three actionable scores:

  • Security Score (0-100) — Vulnerability assessment + dependency freshness
  • Maintenance Score (0-100) — Last commit age + open issue backlog + dependency updates
  • Overall Score (0-100) — Combined health indicator for quick evaluation

Scoring Algorithm

Overall Score = 100 baseline
- (days_since_commit / 30) × 5 (max -30 points)
- outdated_packages × 3 (max -30 points)
- critical_vulns × 15 (per CVE)
- high_vulns × 8 (per CVE)
- (open_issues > 50 ? -10 : 0)
Final: Math.max(0, Math.min(100, score))

Security and Maintenance scores use similar weighted deductions on domain-specific metrics.

Input Schema

ParameterTypeRequiredNotes
repoUrlstringYesFull GitHub URL, e.g. https://github.com/facebook/react
githubTokenstringNoGitHub PAT for 5000 req/hr (vs 60 unauthenticated)

Example Input:

{
"repoUrl": "https://github.com/nodejs/node",
"githubToken": "ghp_xxxxxxxxxxxx"
}

Output Fields

FieldTypeDescription
repo_urlstringGitHub URL analyzed
repo_namestringowner/repo format
starsintegerGitHub star count
last_commit_daysintegerDays since last push
open_issues_countintegerActive issue count
licensestringRepository license (MIT, Apache, etc.)
outdated_packages_countintegernpm packages with newer versions
total_vulnsintegerTotal CVEs found across dependencies
critical_vulnsintegerCVEs with CRITICAL severity
high_vulnsintegerCVEs with HIGH severity
security_scorenumber0-100 vulnerability assessment
maintenance_scorenumber0-100 activity & health indicator
overall_scorenumber0-100 combined intelligence score
disclaimerstringLegal disclaimer (see below)
timestampstringISO 8601 analysis timestamp

Example Output:

{
"repo_url": "https://github.com/nodejs/node",
"repo_name": "nodejs/node",
"stars": 112850,
"last_commit_days": 0,
"open_issues_count": 2847,
"license": "MIT",
"outdated_packages_count": 3,
"total_vulns": 5,
"critical_vulns": 0,
"high_vulns": 2,
"security_score": 88,
"maintenance_score": 92,
"overall_score": 90,
"disclaimer": "This Actor aggregates publicly available data...",
"timestamp": "2026-04-13T22:45:00.000Z"
}

Use Cases

  • Dependency Vetting — Before adding a package, check its security and maintenance posture
  • Portfolio Auditing — Scan your organization's repositories for vulnerability trends
  • Third-Party Risk — Evaluate contractor/vendor code quality before integration
  • OSS Monitoring — Watch libraries your code depends on for security regressions
  • Competitive Analysis — Benchmark competitors' repo health metrics

Rate Limits & Performance

  • Without GitHub Token: 60 requests/hour (rate-limited after ~1 min of heavy scanning)
  • With GitHub Token: 5,000 requests/hour (recommended for production)
  • Typical Run: 15–30 seconds per repository
  • Package Analysis: Limited to 20 dependencies to avoid timeout; larger projects may show partial results

This Actor aggregates publicly available data from GitHub API (MIT/Apache licensed projects), OSV vulnerability database (CC0), and npm Registry (public data).

NOT SECURITY ADVICE. Results are informational only. Always perform professional security audits before production deployment. Data retrieved in real-time; accuracy depends on upstream sources.

The scores are heuristic estimates. A high score does not guarantee security; a low score does not indicate danger. Use as a decision-support tool, not as your sole risk assessment.

Data Privacy

All input repositories are public GitHub URLs. This actor does not store user data; results are returned in the Apify dataset and comply with GitHub, OSV, and npm data licensing.

Pricing

  • Cost: $0.05 per repository analyzed
  • Billing: Pay-per-event; charged only on successful analysis
  • Free Tier: First 50 runs free as part of Apify platform credits

See Also


Built by NtriqPRO | Version 1.0 | MIT License