Tủ GitHub repo xịn
Avatar openyard-cloud

GitHub repo xịn · Cộng đồng đề cử

openyard-cloud/vetcode

vetcode The security check your AI coding agent runs before it acts. Before it installs a package, after it clones a repository, before your code ships.

Đang hoạt động Repo Analyzer3 xu
2GitHub stars
0Forks
3Open issues
0Lượt nhấp GitHub
JavaScriptNgôn ngữ chính

Tóm tắt nhanh

Repo này làm được gì?

vetcode The security check your AI coding agent runs before it acts. Before it installs a package, after it clones a repository, before your code ships.

Mô tả từ GitHub

Security check an AI coding agent runs before it acts: packages before install, repositories after clone, code before it ships. Agent Skill, Claude Code plugin, MCP server, CLI and GitHub Action. Zero dependencies.

Bắt đầu với repo

Cài đặt và sử dụng

Hướng dẫn cài đặt

claude plugin marketplace add openyard-cloud/vetcode && claude plugin install vetcode@openyard npx skills add openyard-cloud/vetcode # any other agent, as a skill npx github:openyard-cloud/vetcode#v0.8.7 . # no agent: scan a project, a package or a cloned repo

An agent installs a package in a second and runs a cloned project without reading it. vetcode is the check in between. It is three things:

| | What it does | Where it runs |
|---|---|---|
| **The guard** | Answers allow, ask or deny before a package is installed or an MCP server is added, and reads a repository right after it is cloned | Claude Code, on its own; other agents call it as a tool |
| **The scanner** | Reads a folder for malware, supply-chain attacks, attacks on agents, leaked secrets, and server and CI problems, and lists the places in web code worth reading | Skill, MCP server, command line, GitHub Action |
| **The review procedure** | Tells your agent how to confirm each finding by reading the code, and what to report | Skill, MCP server |

Nothing from the code it looks at is installed, built or run. It needs Node.js 18 or newer and nothing else. Free and open source (MIT), from the [OpenYard](https://openyard.cloud) community.

**Contents:** [How good is it](#how-good-is-it) · [Install](#install) · [The guard](#the-guard) · [Use it](#use-it) · [What it checks](#what-it-checks) · [How it works, and its limits](#how-it-works-and-its-limits)


Every number here is measured, on samples the rules were not tuned on unless it says so. The scripts, the runs and the full history are in [`bench/`](bench/README.md).

| Question | vetcode | For comparison |
|---|---|---|
| Malicious **npm** packages caught, of 1,000 (false alarms on 1,000 clean ones) | **947** (26); verdicts 907 (**5**) | [GuardDog](https://github.com/DataDog/guarddog): 903 (43) |
| Malicious **PyPI** packages caught, of 300 (false alarms on 210 clean ones) | **262** (16); verdicts 234 (**1**) | GuardDog: 241 (48) |
| The same malware after 8 kinds of disguise | still catches 99–100% of what it caught | GuardDog: 90–92% on several |
| Malicious **agent skills** it had never seen, of 157 (false alarms on 1,029 clean ones) | 91 (**1**) | [Cisco skill-scanner](https://github.com/cisco-ai-defense/skill-scanner): 101 (56) |
| The guard, shown malware as if nobody had reported it yet | blocks or questions 95% of npm, 88% of PyPI, and 3% of clean npm packages | |
| A package whose newest release is hours old, asked for 3 times | the agent installs the previous, settled version 3 times | the agent alone installs the new release 3 times |
| Wrong "this is malicious" verdicts on 72 real applications (228,000 files) | **1** | |
| Findings an agent has to read on those applications | about 4 per 1,000 files, plus 8 places to read | |
| Real injection bugs the scanner points at, of 480 advisories | 55 (11%); 6% on the half no rule was tuned on | |
| Real authorization bugs found by Claude Code with vetcode, of 49 advisories | 41% | Claude Code alone does as well |

**A sign and a verdict are different things.** A scanner of several hundred rules that lets any one of them call code malicious is wrong somewhere on almost every large project. vetcode reports every sign, which is what your agent is told to read, and gives a verdict, which is what stops an install without asking, only when a rule with a measured record fires, when two rules agree on one file, or when the sign sits in code an install script starts.

**What it is good at.** Malware and supply-chain attacks in packages and repositories, attacks aimed at coding agents (poisoned `CLAUDE.md` and skills, hooks and auto-approved MCP servers in project settings, tool descriptions that give orders), leaked secrets, and stepping in before the install, not after.

**What it is not.** It does not find web bugs by itself: it lists the dangerous calls as places to read, and those stand at about one real injection bug in ten, so they are wher

Hướng dẫn sử dụng

README chưa có hướng dẫn sử dụng rõ ràng. Hãy mở README để xem tài liệu đầy đủ của tác giả.

Đối chiếu README gốc

Chủ đề liên quan

#agent-skills#claude#cli#gemini-cli-extension#github-actions#malware-detection#mcp#npm-security#pypi#sast#secret-scanning#security
Mở trên GitHub

Cùng hệ sinh thái

Repo liên quan