Skip to content

🔧 [P0] Add cargo audit + Dependabot to CI pipeline #122

Closed

Description

@ajianaz

Problem

No dependency vulnerability scanning exists anywhere in the CI pipeline. 15+ dependencies including high-risk crates (ort with auto-downloaded binaries, rusqlite bundled SQLite, usearch, tokenizers, reqwest) ship to users without CVE checks.

Additionally, no automated dependency update bot is configured (no Dependabot, no Renovate).

Evidence

  • No cargo-deny or cargo audit in .github/workflows/ci.yml
  • No .github/dependabot.yml
  • ort = { version = "2.0.0-rc.12", features = ["download-binaries"] } — pre-release with auto-downloaded native libs

Proposed Solution

1. Add cargo audit to CI

Add audit job to ci.yml that runs cargo audit on every push.

2. Add Dependabot configuration

Create .github/dependabot.yml with weekly schedules for:

  • cargo (Rust dependencies)
  • github-actions (workflow actions)
  • docker (Dockerfile base image)

3. Optional: cargo-deny for license checking

Acceptance Criteria

  • cargo audit runs on every CI push to develop
  • Dependabot configured for cargo, github-actions, and docker
  • Audit failures block merge (non-optional CI step)
  • First audit run completes and vulnerabilities are documented/fixed

Effort: ~0.5 day

Activity

  1. ajianaz commented on Jun 2, 2026

    @ajianaz
    CollaboratorAuthor

    Fixed in #146 — Dependabot config added for cargo, github-actions, docker

  2. added 2 commits that reference this issue on Jun 2, 2026
    ef25ca3
    777bf12
  3. added a commit that references this issue on Aug 13, 2026
    3f80de5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    scope:infra

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions