Compare
Up to three tools. The table shows the data as-is, without picking a “best”.
| Field | Trivy | Ruff | D2 |
|---|---|---|---|
| Platforms | Universal, GitHub | Universal, GitHub | Universal |
| Local support | Yes | Yes | Yes |
| Paid API | No | No | No |
| License | Apache-2.0 | MIT | MPL-2.0 |
| Stars | 40032 | 51809 | 26027 |
| Last activity | — | November 5, 2026 | October 11, 2026 |
| Install complexity | سهل / Easy | EASY | Easy with a supported package manager; Homebrew must already be installed for this command. Official binaries, Windows, Linux, and source options are documented. |
| Category | Security, DevOps | Code Review, Testing | Workflow, UI |
| Best use | Best for a developer or small team that wants to scan a project and its container image before merge or release, then enforce the same policy in CI. It creates one checkpoint for vulnerabilities, secrets, and configuration instead of separate scripts. It does not test application logic or prove exploitability, and it needs current security databases. | Best for an individual Python developer or small team that wants consistent linting, import organization, and formatting locally, in editors, and in CI. It adds reviewable rules, safe-by-default fixes, and a pinnable version. It does not replace tests, type checking, or business-logic review, and migration from Black or Flake8 should be tested on a branch. | For developers and small teams that want architecture and data-flow diagrams close to the repository and reviewable as text. Use it when relationships matter more than pixel-perfect placement; not for free-form marketing design or exact manual positioning. |