
securstack/securstack-dsh-plugin
30最近提交 2026年8月13日
securstack-dsh-plugin DSH 插件
该插件注册了非破坏性的 Harness 工具,调用官方 `securstack` CLI 扫描仓库、返回结构化 JSON 结果、运行环境诊断,并根据仓库策略门评估扫描输出。它是一个薄适配器,不实现扫描引擎或加密。需要 Node.js 20+、DSH 开发者预览版和 SecurStack 凭据。
如何安装 securstack-dsh-plugin DSH 插件
dsh plugin --profile securstack add @securstack/dsh-plugin复制不会执行命令。安装 securstack-dsh-plugin DSH 插件前请核对仓库和版本。
securstack-dsh-plugin DSH 插件数据来源
securstack-dsh-plugin DSH 插件快照日期:2026年8月16日
discovered
securstack-dsh-plugin DSH 插件能做什么
- 使用 `securstack scan --format json` 在仓库上运行安全扫描(SAST、SCA、密钥、IaC)
- 使用 `securstack policy check` 执行策略门以获取通过/失败决策
- 通过 `securstack doctor` 诊断本地设置和凭据
securstack-dsh-plugin DSH 插件适合哪些场景
- 扫描仓库以发现安全漏洞并获取结构化结果
- 检查代码库是否通过 SecurStack 策略门
- 使用 SecurStack doctor 诊断凭据或配置问题
- 通过 DeepSeek Harness 将安全检查嵌入 AI 代理工作流
securstack-dsh-plugin DSH 插件适合谁
- 使用 DeepSeek Harness 并希望将安全扫描添加到其 AI 代理工作流的开发人员
- 需要在类似 CI 的环境中自动化安全检查与策略执行的安全工程师
securstack-dsh-plugin DSH 插件的限制
- 需要 Node.js 20 或更新版本
- 需要 DeepSeek Harness 开发者预览版
- 需要配置 SecurStack 凭据(API 密钥或登录)
securstack-dsh-plugin DSH 插件的仓库 README 摘录
以下文字摘自 securstack-dsh-plugin DSH 插件的上游仓库 securstack/securstack-dsh-plugin 的 README,版权归原作者,仅作引用。
DeepSeek Harness plugin for running SecurStack security checks directly from an AI-agent workflow. The plugin registers safe, non-destructive Harness tools that call the official `securstack` CLI to scan repositories, return structured JSON results, run environment diagnostics, and evaluate scan output against repository policy gates. It lets DeepSeek Harness ask SecurStack what is risky, what is misconfigured, and whether a codebase passes policy without reimplementing SecurStack product logic inside the plugin. This package is intentionally a thin adapter. It does not implement scan engines, encryption, upload logic, API contracts, or Shielding operations. Those responsibilities stay in `@securstack/cli` and the SecurStack SaaS. ## Capabilities - Repository security scans via `securstack scan --format json`. - Policy gates for CI-like pass/fail decisions with `securstack policy check`. - Local setup and credential diagnostics through `securstack doctor`. - Harness-friendly tool responses with parsed JSON where the CLI promises JSON output. - Existing SecurStack authentication through `securstack login`, `SECURSTACK_API_KEY`, and `SECURSTACK_API_URL`. - Adapter-only design tha
阅读完整 README仓库许可: MIT
securstack-dsh-plugin DSH 插件常见问题
如何安装 SecurStack DSH 插件?
在终端中运行命令 `dsh plugin --profile securstack add @securstack/dsh-plugin`,然后使用 `dsh --profile securstack` 启动 DeepSeek Harness 以激活插件。请确保已安装 Node.js 20+ 和 DSH 开发者预览版。
使用该插件需要哪些前提条件?
需要 Node.js 20 或更新版本以及 DeepSeek Harness 开发者预览版。此外,必须配置 SecurStack 凭据,可以通过运行 `securstack login --api-key <key>` 或设置 `SECURSTACK_API_KEY` 环境变量。可选地,可以设置 `SECURSTACK_API_URL` 以使用自定义 API 端点。
如何配置我的 SecurStack API 密钥?
可以通过环境变量 `SECURSTACK_API_KEY` 设置 API 密钥,或者运行 `securstack login --api-key <your-api-key>`。插件会自动使用 `securstack` CLI 找到的凭据。
该插件支持哪些类型的安全扫描?
插件支持 SAST(静态代码分析)、SCA(依赖项检查)、密钥检测、IaC 安全配置审查以及策略即代码门禁。如果您的 SecurStack 项目支持,DAST(动态测试)也可以通过扫描输出呈现。所有扫描通过 `securstack scan` 命令执行。
如何在 DeepSeek Harness 中使用该插件?
安装并激活插件后,您可以向 DeepSeek Harness 发出安全任务指令。例如,说“对此仓库运行 SecurStack 扫描并总结关键发现”或“检查上次 SecurStack 扫描是否通过仓库策略。”AI 代理将调用插件的工具(`securstack_scan`、`securstack_policy_check`、`securstack_doctor`)来执行请求的操作。