software engineering5 min read

How GitHub expanded Dependabot malware advisories beyond npm to eight ecosystems

4 similar posts
  • Dependabot
  • GitHub Advisory Database

AI Summary

This article details how GitHub's supply chain engineering team expanded Dependabot malware advisories from npm alone to eight major package ecosystems by integrating OpenSSF's malicious-packages repository. The author explains the design of a single unified importer handling OSV records, normalizing data discrepancies, filtering out internal duplicate data, and managing retractions. To mitigate the risk of bad upstream data automatically triggering Dependabot alerts, the pipeline incorporates three layers of protection: configurable batch caps, upstream provenance tracking, and batch-level rollback mechanisms.

Key Takeaways

  • Integrates OpenSSF malicious packages data in OSV format into the GitHub Advisory Database.
  • Solves ingestion challenges including version normalization, empty details, and retracted advisories.
  • Implements safety controls like batch caps, commit provenance, and rollbacks for auto-published alerts.

Why it matters

Expanding malware detection across eight package ecosystems significantly improves supply chain security by automating alerts for malicious dependencies before they can steal credentials or compromise systems.

Conversation0

What would you add from your experience?

Checking your session…

Every good conversation starts with one perspective.