
Product
Socket Threat Intel Now Shows Which Malware Campaigns Were Blocked or Detected
Socket Threat Intel now shows which malware campaigns were blocked or detected in your organization, with links to scans and Firewall events.
@stardustlc/dsh-docker
Advanced tools
DSH 容器管理插件:七工具覆盖容器与镜像管理,走官方 subprocess 服务、argv 无 shell 注入,exec 与破坏性 manage 默认审批。
你的 agent 会管容器了:七个工具覆盖容器/镜像列表、日志、详情、容器内执行、生命周期管理与健康检查。
DSH(DeepSeek Harness)容器管理插件:走官方 subprocess 服务跑 docker CLI,argv 数组无 shell 注入,docker_exec 与破坏性生命周期操作默认审批门,零运行时依赖。
已在官方 @deepseek-ai/dsh@0.1.5-rc.1、Node 24.16.0 上验证(2026-09-11):18 个组件与 Modlens 同载,工具 schema、技能注册及离线只读调用检查通过。采用 cordis.patch.yml + dsh.bundle.patch 组合包模型。Node 要求与该版本 Harness 一致:22.19 及以上的 22.x,或 24 及以上。外部服务的实际业务操作需按各组件配置单独验证。
2026-09-13 修复:保留宿主 subprocess.spawn 的服务对象,避免方法独立传递后因 this 丢失而报错。已在官方 0.1.5-rc.1 和 0.1.5-rc.2、Node 24.16.0 上验证。docker_ps 已通过真实宿主进程服务验证;Docker 输出由 Node 子进程生成的固定测试数据提供,未连接真实 Docker daemon。
dsh plugin --profile web add @stardustlc/dsh-docker
需要本机装有 Docker(docker version 能出结果即可);不在 PATH 上时用 dockerPath 指定。
dsh plugin --profile web remove @stardustlc/dsh-docker
卸载后重启 Web 服务。如需彻底清理,可再手动删除自己 profile cordis.patch.yml 中覆盖的插件行。
- id: docker
name: '@stardustlc/dsh-docker'
config:
# dockerPath: C:\Program Files\Docker\Docker\resources\bin\docker.exe
dockerPath: docker # 可选;也可用环境变量 DSH_DOCKER_PATH
timeoutMs: 60000 # 单次操作超时(默认 60 秒,5 秒 - 10 分钟)
# execApproval: false # 关闭 docker_exec 审批门(默认 true)
# manageApproval: false # 关闭 stop/restart/rm 审批门(默认 true,不推荐)
| 工具 | 作用 | 安全 |
|---|---|---|
docker_ps | 列出容器(状态/镜像/运行态,可过滤) | — |
docker_images | 列出本地镜像(仓库/标签/大小/创建时间,可只看悬空镜像) | — |
docker_logs | 查看日志尾部(行数钳制,可短时 follow) | — |
docker_inspect | 容器详情(镜像/状态/端口) | — |
docker_exec | 容器内执行命令 | 审批门 + 容器名白名单校验 |
docker_manage | start / stop / restart / rm | stop/restart/rm 审批门 |
docker_health | Docker daemon 与安全配置自检 | — |
docker_ps {}
docker_ps { all: true, name: web }
docker_images { dangling: true }
docker_logs { container: web, tail: 200 }
docker_inspect { container: web }
docker_exec { container: web, command: 'df -h' }
docker_manage { container: web, action: restart }
[A-Za-z0-9][A-Za-z0-9_.:-]*,杜绝参数注入pnpm install
pnpm test # 构建 + 35 个测试
MIT
FAQs
在 DSH 中查看和管理本机 Docker 容器与镜像。
The npm package @stardustlc/dsh-docker receives a total of 546 weekly downloads. As such, @stardustlc/dsh-docker popularity was classified as not popular.
We found that @stardustlc/dsh-docker demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Product
Socket Threat Intel now shows which malware campaigns were blocked or detected in your organization, with links to scans and Firewall events.

Security News
Fixes for eMudhra and Brotli are out. Getting them everywhere they’re needed means tracking down bundled libraries, runtimes, and certificate stores.

Threat Research
/Security News
Socket uncovered secret-stealing workflows that ran in LiteLLM’s GitHub repository 11 days before the supply chain attack on PyPI and Docker.