MkaliezZ/dsh-dependency-firewall ↗★ 0
@mkaliezz/dsh-dependency-firewall
DeepSeek Harness 的依赖安装防护网关:在执行前将包管理器命令分类为允许、询问或阻止。
AI 分析
核心用途是拦截并审查 npm/pip/cargo 等包安装命令。适合需要防止智能体自主安装高风险、未固定版本或恶意第三方依赖的安全敏感任务。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:MkaliezZ/dsh-dependency-firewall說明文件
閱讀完整 README ↗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