dsh-dependency-firewall
安全与治理 活跃维护

dsh-dependency-firewall

MkaliezZ/dsh-dependency-firewall

在包管理器命令执行前将其归类为允许、询问、阻止三级,自动放行可信安装,拦截高危依赖命令,需要时请求用户确认,为自动化依赖管理提供安全防线。

0
Stars 标星
0
Forks 分支
0
Watchers 关注
0
Open Issues
TypeScript
主要语言
None
开源协议
11 KB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:MkaliezZ/dsh-dependency-firewall
git clone https://github.com/MkaliezZ/dsh-dependency-firewall.git
git clone git@github.com:MkaliezZ/dsh-dependency-firewall.git
README.md main

dsh-dependency-firewall

Domain-specific dependency-installation guard for DeepSeek Harness.

v0.1 classifies package-manager commands before execution and returns ALLOW, ASK, or BLOCK for common npm/pnpm/yarn/pip/uv/cargo install flows.

High-risk sources such as arbitrary URLs, git dependencies, alternate registries, unpinned VCS references, native/install-script flags, or unparseable install shapes can be escalated without running the underlying command.

Non-claims

  • no package is installed by this plugin;
  • no online reputation or CVE lookup in v0.1;
  • classification is bounded and deterministic, not complete supply-chain security.

Development

npm install
npm test

MIT