Skip to content

Add security dependency check to CI#21

Open
Kartalops wants to merge 2 commits into
agno-agi:mainfrom
Kartalops:ci/add-dependency-check
Open

Add security dependency check to CI#21
Kartalops wants to merge 2 commits into
agno-agi:mainfrom
Kartalops:ci/add-dependency-check

Conversation

@Kartalops

Copy link
Copy Markdown

Summary

Adds security hardening to CI by introducing a dedicated workflow that scans dependencies for vulnerabilities.

Changes

  • New workflow: .github/workflows/security-dependencies.yml
  • pip-audit: Scans Python dependencies for known vulnerabilities with strict hash checking
  • safety: Additional security check for dependency vulnerabilities
  • Dependency review: Detects changes to pyproject.toml and requirements.txt in PRs

Why this matters

  • Prevents introducing vulnerable dependencies into the project
  • Scans all dependencies (including transitive) for CVEs
  • Enforces strict mode with hash requirements for reproducible builds
  • Provides early warning of security issues in CI rather than production

Notes

  • Uses continue-on-error: true to prevent blocking merges while still reporting issues
  • Can be extended with Dependabot for automated dependency updates

Kartalops and others added 2 commits May 23, 2026 10:32
- Add pip-audit for vulnerability scanning
- Add safety check for dependency vulnerabilities
- Add dependency review on PRs to catch new issues
- Runs on Python 3.12 with uv package manager
- Uses --strict and --require-hashes for strict security enforcement
- Can be extended with GitHub Dependabot for automated updates
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants