Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Local-first defensive scanner for vulnerable dependencies, leaked secrets, and risky agent configs
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"husk": {
"command": "npx",
"args": [
"-y",
"husk-sec",
"mcp"
]
}
}
}在终端中运行这条命令
claude mcp add husk -- npx -y husk-sec mcp粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"husk": {
"command": "npx",
"args": [
"-y",
"husk-sec",
"mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"husk": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"husk-sec",
"mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 husk-security 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.1.2)于2个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js, Rust。
同一分类中有:Spec Driven Development, Remote Desktop Commander, EmbeddedCI BenchPod
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Drive a BenchPod hardware-in-the-loop bench: power, flash, UART, I2C, CAN, analog and logic.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
A local-first security scanner for developers. One binary, no account.
Install · Quickstart · Usage · Commands · How it works
husk scans your machine for compromised packages, leaked secrets, risky install scripts, and unsafe AI/MCP configuration, then shows you what to fix. It runs locally: no login, no account, no file ever leaves your machine. An online scan sends only package names, versions, and CVE ids to public advisory databases (OSV.dev, npm, PyPI, GitHub, CISA KEV / FIRST EPSS); --offline makes zero network calls.
Pre-1.0 software without an independent audit. Interfaces can change
between releases. Bug reports and questions are welcome in
husk runs on Linux and macOS. On Windows, run it inside WSL, where it installs and behaves exactly as it does on Linux. There is no native Windows build.
Download the latest signed release, verify its checksum, and install it:
curl -fsSL https://husk-security.dev/install.sh | sh
It installs to ~/.local/bin, overridable with HUSK_INSTALL_DIR or --install-dir. If that directory is not already on your PATH, it asks before adding it to your shell's startup file and names the exact file it would change. Decline, or run it without a terminal, and it prints the one command that adds it instead. --no-modify-path never writes to a startup file at all.
Prefer not to pipe into a shell? Download install.sh, read it, then run it. Every release is cosign-signed and SLSA-attested; the installer verifies the SHA-256 checksum (and the signature too, when cosign is on your PATH). See verifying a release.
Other install sources
| Source | Command |
| --- | --- |
| cargo |
cargo install husk-sec|
| cargo-binstall |
cargo binstall husk-sec|
| npm |
npm install -g husk-sec|
Nix
Run it without installing anything:
`sh
nix run github:husk-security/husk -- scan
`
The flake exposes two packages:
husk(the default, with the localhost web
UI) and
husk-tui(the same binary without it, so it needs no Node
toolchain).
For persistent use, add the flake as an input and put the package in your
configuration. NixOS:
`nix
{
inputs.husk.url = "github:husk-security/husk";
inputs.husk.inputs.nixpkgs.follows = "nixpkgs";
outputs = { nixpkgs, husk, ... }: {
nixosConfigurations.myhost = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
{ environment.systemPackages = [ husk.packages.x86_64-linux.husk ]; }
];
};
};
}
`
Home Manager, with the same input:
`nix
home.packages = [ husk.packages.x86_64-linux.husk ];
`
If you would rather put it on
PATHimperatively than declare it,
nix profile install github:husk-security/huskalso works.
husk # print help (no subcommand does nothing else)
husk scan # one-shot scan of the current directory, plain terminal summary husk web # serve the local web UI and open it in your browser husk tui # browse the latest scan in the terminal UI
husk with no subcommand prints help and exits, like git or cargo. The entry points are husk scan (scan and print the report), husk web (the local web UI, opened in your browser), and husk tui (the terminal UI).
A few of the commands you'll actually run day to day. The full list (every subcommand and flag) is in the command reference.
Scan a directory and print the findings report:
$ husk scan --offline .
packages: 286 findings: 36 critical: 5 high: 16 medium: 15 low: 0 info: 0
critical risky-agent-config AI agent is allowed unrestricted shell access .claude/settings.local.json:4 high lifecycle-script Dangerous npm postinstall script package.json:6 high risky-agent-config MCP config contains hardcoded secret .mcp.json:7 ...
Vet one package before you install it (a live OSV.dev lookup):
$ husk check lodash@4.17.20
!! vulnerable npm lodash@4.17.20 advisory GHSA-35jh-r3h4-6jhm via OSV.dev Command Injection in lodash Install a fixed version instead, or avoid the dependency until one is available.
The version can be an @version suffix (split on the last @, so @scope/pkg@1.2.3 works) or separate arguments: husk check npm lodash 4.17.20. A bare name (husk check lodash) assumes npm and checks malware advisories only.
Protect normal and lockfile installs with the tracked Safe Chain task in the Guide. Husk recommends the free, MIT-licensed third-party tool instead of shipping a weaker package-manager wrapper:
Commit a project policy (block/allow packages, suppress triaged findings, set the CI threshold); the .husk/ directory is meant to be committed:
$ husk init
Created ./.husk/policy.toml husk scan and husk ci in this project now read this policy.
$ husk approve npm:lodash # allow a package; recorded in policy + ledger
Plan safe fixes (dry-run by default; --apply writes them, with backups):
husk fix # show the plan, change nothing
husk fix --apply # write the auto-safe fixes
Gate a build in CI, JSON on stdout, non-zero exit at or above the threshold:
husk ci # exit 1 on high+ findings (see JSON output below)
husk reads a few environment variables:
| Variable | Effect |
|---|---|
HUSK_HOME | State directory (ledger, daemon state, credentials); default ~/.husk. |
HUSK_CACHE_DIR | Cache directory (reports, scan index); default ~/.cache/husk. |
HUSK_PAGER, PAGER | Pager for long reports (default less); an empty value or cat disables paging. |
NO_COLOR | Disable ANSI colors in CLI output. |
HUSK_TOKEN | Bearer-token override for cloud commands (CI or one-off use). |
One binary, many subcommands. Run husk --help for the full flags of any of them.
Several commands emit the full scan report as JSON: husk scan --json, husk status --json, husk tui --json, and husk ci (always JSON). The shape is identical everywhere; it is the report the local cache stores and every UI renders. It is plain JSON on stdout: never paged, never colored, safe to pipe straight into jq.
| Field | Type | Meaning |
|---|---|---|
api_version | number | Report-shape version (currently 4). Bumped when the shape changes; check it before parsing deeply. |
generated_at | string (RFC 3339) | When the scan finished. Reports older than 24 hours are considered stale by the UIs. |
roots | string[] | The directories that were scanned. |
context | object | System context: user, OS/arch, distro, kernel, git identity, detected package managers and dev configs. |
packages | object[] | The package inventory: {ecosystem, name, version, manifest_path, line} per discovered coordinate. |
projects | object[] | Discovered projects (the unit of attention); findings join to these via Finding.project_id. |
summary | object | The security headline (counts and framing used by the UIs). |
findings | object[] | Open findings. Each has id, title, severity (critical/high/medium/low/info), category, source, path, line, summary, evidence (pre-redacted), recommendation, references, cves, plus optional package, project_id, rule_id, confidence, priority, exploit (CISA KEV / EPSS), and fixed_version. |
ignored | object[] | Findings silenced by project policy or ledger decisions, kept out of findings, stats, and scoring. |
controls | object[] | Results from registered guide controls: status, local evidence, and related finding ids. |
remediations | object[] | Typed remediation proposals owned by controls; includes execution class, severity, operation, and related finding ids. |
guidance | object | The assessed Markdown guide: baseline/recommendation items, scan priority, review decisions, and handled percentage. |
providers | object[] | Per intel source: {name, ok, checked_packages, findings, message}. ok: false means coverage was incomplete. |
benchmarks | object[] | Per-stage timing: {stage, elapsed_ms, files_checked, bytes_scanned, packages_checked, findings, workers, detail}. |
stats | object | Totals: {packages, findings, critical, high, medium, low, info}. |
delta | object? | What changed since the previous cached scan of the same roots: {previous_at, previous_score, score, new_count, unchanged_count, resolved_count, resolved}. Absent on a first scan. |
husk scan --json | jq -r '.findings[].id' # every finding id, worst first
test "$(husk status --json | jq .stats.critical)" -eq 0 # fail a script on any critical husk ci | jq '.providers[] | select(.ok | not)' # which intel sources had problems
src/scan/targets/.只显示了开头部分;其余内容请在仓库中阅读