Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
vet — Protect against malicious open source packages 🤖 | Kitploit
Tools/GitHubGitHub/safedep/vet
Static AnalysisVulnerability ScannersContainer SecurityCode AnalysisDevSecOpsSupply Chain Security
GitHubsafedep/vet

vet

Protect against malicious open source packages 🤖

View Repository
1.1k107791 day agoReviewed by Kitploit
Website
Share
<p align="center">
  <a href="https://safedep.io">
    <picture>
      <source srcset="docs/assets/vet-banner-dark.svg" media="(prefers-color-scheme: dark)">
      <source srcset="docs/assets/vet-banner-light.svg" media="(prefers-color-scheme: light)">
      <img src="https://raw.githubusercontent.com/safedep/vet/HEAD/docs/assets/vet-banner-light.svg" alt="SafeDep vet" width="100%">
    </picture>
  </a>
</p>

<p align="center">
  <strong>Find malicious packages, vulnerabilities and risky CI workflows before they reach production.</strong>
</p>

<div align="center">

[![Release](https://img.shields.io/github/v/release/safedep/vet?include_prereleases&filter=v2.*&label=v2)](https://github.com/safedep/vet/releases)
[![Build](https://img.shields.io/github/actions/workflow/status/safedep/vet/release-edge.yml?branch=v2&label=build)](https://github.com/safedep/vet/actions/workflows/release-edge.yml)
[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/safedep/vet/badge)](https://scorecard.dev/viewer/?uri=github.com/safedep/vet)
[![License](https://img.shields.io/github/license/safedep/vet)](LICENSE)
[![Discord](https://img.shields.io/discord/1090352019379851304?label=Discord&logo=discord&logoColor=white)](https://discord.gg/kAGEj25dCn)

[Install](https://github.com/safedep/vet/blob/v2/docs/install.md) • [Docs](https://github.com/safedep/vet/blob/v2/docs/README.md) • [Commands](https://github.com/safedep/vet/blob/v2/docs/cmd/README.md) • [Policy](https://github.com/safedep/vet/blob/v2/docs/policy.md) • [Discord](https://discord.gg/kAGEj25dCn)

</div>

> [!NOTE]
> This branch is vet v2, in alpha. vet v1 is on [`main`](https://github.com/safedep/vet/tree/main)
> and stays the latest release. The [v2.0.0 release notes](https://github.com/safedep/vet/blob/v2/docs/release-notes/v2.0.0.md) map each
> v1 command and flag to v2.

## Why vet

Your dependencies, your GitHub Actions workflows and your AI agent configs run code that you did
not write. vet finds the risk in them.

- **Malicious packages.** vet checks each package against SafeDep Threat Intel. Threat Intel
  analyzes new package versions when the registries publish them.
- **Known vulnerabilities**, with the fixed version to upgrade to.
- **Risky workflows.** Dangerous triggers, template injection, exposed secrets and actions with no
  pinned commit SHA.
- **Lockfile tampering and fresh versions.** Entries from an untrusted registry, and versions
  inside the cooldown window.
- **Policy as code.** Rules in CEL decide when a scan fails. You can test a rule on a saved scan.
- **AI and crypto inventory.** vet lists the AI libraries and the crypto algorithms that your code
  calls, and writes a CycloneDX xBOM and CBOM.

vet needs no account and sends no source code.

## Quick start

```bash
brew install --cask safedep/tap/vet@edge
vet scan
```

<p align="center">
  <img src="https://assets.kitploit.com/production/public/readmes/9305/e78ce751ceea5661932de2ddd8ed52dd2b1d1b0f1f79441b15800ea643294aef/f126560b445a95d013a838cb90493b21597a57d917fef6c3b1fb82f8c60f4e9d-display-v1.webp" alt="vet scan finds a malicious package, vulnerabilities and workflow injection" width="100%">
</p>

```bash
vet scan --fail-on high                         # exit 1 on a high or critical finding
vet scan --base-ref origin/main --fail-on high  # report only what a pull request changes
vet report show --report sarif=vet.sarif        # write SARIF from the saved scan, with no new scan
```

## Install

| Channel | Command |
| --- | --- |
| Homebrew | `brew install --cask safedep/tap/vet@edge` |
| mise | `mise use -g 'github:safedep/vet[prerelease=true]@2'` |
| Go | `go install github.com/safedep/vet/v2/cmd/vet@latest` |
| Container | `docker run --rm -v "$PWD:/src" -w /src ghcr.io/safedep/vet:v2-latest scan` |

mise installs a release one day after its publication. [install.md](https://github.com/safedep/vet/blob/v2/docs/install.md) has the
command for the newest build, the release binaries and the build attestations.

## What vet scans

| Target | Example |
| --- | --- |
| A directory (the default) | `vet scan`, `vet scan ./service` |
| A git repository | `vet scan https://github.com/safedep/vet` |
| A container image | `vet scan oci://alpine:3.20`, `vet scan image.tar` |
| An SBOM (CycloneDX or SPDX) | `vet scan sbom.cdx.json` |
| One package | `vet scan pkg:npm/[email protected]` |
| The tools on this machine | `vet endpoint audit` |

vet reads the lockfiles and manifests of npm, PyPI, Go, Maven, Gradle, Cargo, RubyGems, NuGet,
Packagist, Pub and more. It also reads the GitHub Actions workflows and the AI agent configs of the
target. It does not install or run any of them. Controls turn this data into findings. See
[controls.md](https://github.com/safedep/vet/blob/v2/docs/controls.md).

## Policy

A policy decides when a scan fails. Save this file as `vet-policy.yml`:

```yaml
version: 2
rules:
  - id: no-malware
    description: A malicious or suspicious package fails the build.
    when: finding.family == "malware"
    action: fail
  - id: no-workflow-injection
    when: finding.control_id in ["dangerous-trigger", "template-injection"]
    action: fail
  - id: no-critical-vulnerability
    when: finding.control_id == "vulnerability" && finding.severity == "critical"
    action: fail
  - id: new-dependency-age
    description: A pull request cannot add a version that is less than 14 days old.
    when: package.change == "ADDED" && has(package.days_since_publish) && package.days_since_publish < 14
    action: fail
suppressions:
  - purl: pkg:npm/[email protected]
    reason: The upgrade to 4.18.1 is in pull request 42.
    expires: 2026-12-31
```

Test it on the last scan, with no new scan. Then apply it to a pull request:

```bash
vet report show last --policy vet-policy.yml
vet scan --base-ref origin/main --policy vet-policy.yml
```

After its expiry date, the suppression no longer hides the finding. Read
[policy.md](https://github.com/safedep/vet/blob/v2/docs/policy.md) for the rule fields, more rules and the
[Agent Skill](https://github.com/safedep/vet/blob/v2/.claude/skills/vet-policy-authoring/SKILL.md) that writes a policy for you.

## Use cases

- **Pull request check.** The [vet GitHub Action](https://github.com/safedep/vet/blob/v2/docs/github-action.md) comments on a pull
  request that adds a package, a workflow or a finding, and fails the check on an attack. `vet ci init` adds it to a repository.
- **CI gate.** Exit codes, SARIF for GitHub code scanning, GitLab and Bitbucket reports. See
  [ci.md](https://github.com/safedep/vet/blob/v2/docs/ci.md).
- **Pull request review.** `--base-ref` reports only the packages and workflows that a change adds.
- **xBOM and CBOM.** A CycloneDX 1.7 inventory of the AI libraries and the crypto that your code
  uses. See [inventory.md](https://github.com/safedep/vet/blob/v2/docs/inventory.md).
- **AI agents.** vet finds Claude Code and other agents, and then writes JSON and never prompts.
- **Endpoint audit.** `vet endpoint audit` lists the AI tools, MCP servers, editor extensions and
  global npm packages on a developer machine, and checks them for malware.

## Documentation

| Page | Read it for |
| --- | --- |
| [Install](https://github.com/safedep/vet/blob/v2/docs/install.md) | All channels and how to verify a release |
| [Commands](https://github.com/safedep/vet/blob/v2/docs/cmd/README.md) | Every command, its flags and its exit codes |
| [Controls](https://github.com/safedep/vet/blob/v2/docs/controls.md) | The controls and their options |
| [Policy](https://github.com/safedep/vet/blob/v2/docs/policy.md) | Rules, suppressions and the gate |
| [Output](https://github.com/safedep/vet/blob/v2/docs/output.md) | Report formats, saved scans and configuration |
| [CI and AI agents](https://github.com/safedep/vet/blob/v2/docs/ci.md) | GitHub Actions, GitLab, Bitbucket and agent mode |
| [Inventory](https://github.com/safedep/vet/blob/v2/docs/inventory.md) | Code usage, AI and crypto, xBOM and CBOM |

## Privacy

vet sends the identity of each package (its ecosystem, name and version) to SafeDep to get the data
about it. vet sends no source code and no file content.

With credentials, `vet endpoint audit` also sends the inventory of the machine to SafeDep Cloud: the
AI tools, MCP servers, skills and extensions, their config paths, and the user name of each home
directory. On macOS and Linux, vet also sends the uid of each home directory. An MCP server record
holds its command, its arguments and its URL with known secrets redacted, and the names of its
variables and headers, never their values.
`plugins.cloud-inventory.enabled: false` turns this off.

## Community

- Ask questions and share ideas on [Discord](https://discord.gg/kAGEj25dCn) or in
  [GitHub Discussions](https://github.com/safedep/vet/discussions).
- Report a bug in the [issue tracker](https://github.com/safedep/vet/issues).
- Read the [contributing guide](https://github.com/safedep/vet/blob/v2/CONTRIBUTING.md) before you open a pull request.

vet also runs in the cloud. [SafeDep Cloud](https://safedep.io/) runs vet on your repositories, with
no infrastructure to manage. With credentials, `vet endpoint audit` sends the AI tools, MCP servers
and extensions of each machine to SafeDep Cloud.

<a href="https://github.com/safedep/vet/graphs/contributors">
  <img src="https://contrib.rocks/image?repo=safedep/vet" alt="Contributors to vet" />
</a>
Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    938
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    556
  • 3

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    352
  • 4

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    343
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    336
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    291

Explore all tools

Browse our collection of tools

View all tools →