🔍

reviewdog

آمن ⚙️ الأوامر الخارجية🔑 متغيرات البيئة

Add automated security code review to CI/CD pipelines

Security scanning results are scattered across CI logs and missed by reviewers. Reviewdog aggregates findings from multiple security tools into inline pull request comments, making vulnerabilities visible where developers work.

يدعم: Claude Codex Code(CC)
🥉 76 برونزي
1

تنزيل ZIP المهارة

2

رفع في Claude

اذهب إلى Settings → Capabilities → Skills → Upload skill

3

فعّل وابدأ الاستخدام

اختبرها

استخدام "reviewdog". Add reviewdog security scanning with Semgrep and Bandit to my CI pipeline

النتيجة المتوقعة:

  • Created GitHub Actions workflow with multi-tool security scanning
  • Configured Semgrep to run with ERROR severity and fail on critical findings
  • Added Bandit Python security scanner as secondary check
  • Set up filter-mode=added to show only new issues in PR diff
  • Configured reviewdog to post comments as github-pr-review
  • Files generated: .github/workflows/security-review.yml, .reviewdog.yml

استخدام "reviewdog". Set up pre-commit hooks for security scanning with gitleaks and hadolint

النتيجة المتوقعة:

  • Created pre-commit configuration with reviewdog integration
  • Added gitleaks secret detection hook running with local reporter
  • Added hadolint Dockerfile scanning hook
  • Configured error-level findings to fail the commit check
  • Installed pre-commit hooks to local repository

استخدام "reviewdog". Configure reviewdog for GitLab CI with Checkov and ShellCheck

النتيجة المتوقعة:

  • Generated GitLab CI configuration with reviewdog integration
  • Added Checkov Terraform security scanning stage
  • Added ShellCheck for shell script validation
  • Configured mr-discussion reporter for merge request comments
  • Set up filter-mode=diff_context to show only changed files

التدقيق الأمني

آمن
v5 • 1/16/2026

Documentation-only skill containing CI/CD templates and reference materials for reviewdog security integration. All static findings are false positives from legitimate DevSecOps documentation. The skill describes running security scanners (Semgrep, Bandit, Gitleaks) and posting results to PRs - this is standard, documented CI/CD behavior using properly secured token management via GitHub/GitLab secrets.

8
الملفات التي تم فحصها
2,348
الأسطر التي تم تحليلها
2
النتائج
5
إجمالي عمليات التدقيق
تم تدقيقه بواسطة: claude عرض سجل التدقيق →

درجة الجودة

59
الهندسة المعمارية
100
قابلية الصيانة
87
المحتوى
21
المجتمع
100
الأمان
100
الامتثال للمواصفات

ماذا يمكنك بناءه

Enforce security standards in PRs

Configure reviewdog to block merges when critical vulnerabilities are detected, ensuring security gates are never bypassed.

Automate security feedback loops

Add security scanning to CI pipelines that posts findings directly to pull requests, reducing time to remediation.

Catch issues before merge

Get inline security annotations on vulnerable code patterns during code review, with links to CWE references.

جرّب هذه الموجهات

Basic reviewdog setup
Set up reviewdog in my GitHub Actions workflow to run Semgrep with error-level findings posted as PR review comments
Multi-tool scanning
Create a reviewdog configuration that runs Bandit for Python, Gitleaks for secrets, and Checkov for IaC security in parallel
Severity filtering
Configure reviewdog to only show new security issues introduced in the PR and fail the build for critical findings
Custom security rules
Add a custom grep-based security check to my reviewdog configuration that detects dangerous function usage like eval() and exec()

أفضل الممارسات

  • Use fail-on-error=true for critical severity findings to block vulnerable code from merging
  • Configure filter-mode=added or diff_context to reduce noise from existing issues
  • Store API tokens in CI secrets (GITHUB_TOKEN, GITLAB_TOKEN) rather than hardcoding

تجنب

  • Running reviewdog without filter-mode on large repositories creates overwhelming comment volume
  • Using personal access tokens instead of CI service tokens with excessive permissions
  • Skipping baseline files for existing vulnerabilities creates noise when starting adoption

الأسئلة المتكررة

What CI platforms does reviewdog support?
GitHub Actions, GitLab CI, CircleCI, Jenkins, Azure Pipelines, Bitbucket Pipelines, and Gerrit. Each has specific reporter formats.
Which security tools integrate with reviewdog?
Semgrep, Bandit, Gitleaks, Checkov, Hadolint, Trivy, ShellCheck, ESLint, tfsec, and 30+ additional linters and scanners.
Does reviewdog require network access?
Only when posting comments to PRs via github-pr-review or similar reporters. Local reporter works offline.
How is sensitive data handled?
Security tool output (including potential secrets) is piped to reviewdog and posted as PR comments. Use --no-git flag for gitleaks to avoid scanning git history.
Why are no comments appearing on my PR?
Common causes: missing API token permissions, running on main branch instead of PR, filter-mode too restrictive, or reviewdog not in PR context.
How is this different from running security tools directly?
Reviewdog aggregates results from multiple tools into unified inline comments, provides diff-aware filtering, and integrates with PR workflows natively.

تفاصيل المطور

المؤلف

AgentSecOps

الترخيص

MIT

مرجع

main