DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Least Privilege — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins
L

@deepwhale-cn/dsh-least-privilege

Least Privilege

Check for excessive permissions: containers running as root, wildcard IAM, fully open CORS, tokens requesting admin — excessive permissions amplify intrusions

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:feely0208/dsh-least-privilege#20cca59b74ee730fe217f27930464ed3823efb5f
READMECompatibilityVersions

Compatibility and provenance

Least Privilege is published as @deepwhale-cn/dsh-least-privilege and currently resolves to version 0.1.1. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
any
Release source
github
Registry updated
10/15/2026

Versions

0.1.1stable
10/15/2026
0.1.0stable
10/13/2026

Related plugins

Loading related plugins…

Latest
0.1.1
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
any
License
MIT
Source
github
GitHub
★ 0
Weekly downloads
0
Last push
10/16/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in security-access.

Experimental Auto Review@deepseek-ai/dsh-experimental-auto-reviewPer-tool LLM authorization review for the DeepSeek Harness Auto permission presetCc Safety Netcc-safety-netA coding agent CLI hook - block destructive commands and secret file accessDoctor@linxin666/dsh-doctorTransactional rescue mode for DSH profiles with a supervised launcher, isolated recovery capsule, deterministic repairs, health monitoring, and a local Web recovery consolePocketdsh-pocketPut DeepSeek Harness in your pocket: one package, one settings page, and scan a QR code on your phone to access DSH on your computer in sync (LAN + public network, real-time screen mirroring).

README

@deepwhale-cn/dsh-least-privilege

关键词:最小权限 · 权限过宽 · 权限管理 · 容器 root · IAM · CORS · 访问控制 · 权限最小化 · 特权容器 Keywords: least privilege · over-permission · container root · IAM wildcard · CORS · access control 最小权限检查 —— 容器跑 root、IAM 通配、CORS 全开、令牌申请 admin。

不装它会怎样

你的部署里有这么一段:

services:
  app:
    privileged: true

当时是为了让容器能访问某个设备,后来那个需求没了,但这行留下了。

哪天应用出了个漏洞,攻击者进到容器里 —— 而因为 privileged, 他拿到的几乎是宿主机。

权限过宽是入侵的放大器,而且它没有任何症状 —— 系统照常跑, 直到出事那天你才发现那把钥匙能开所有的门。

它查什么

级别内容
🔴 高容器跑 root / --privileged · IAM Action: *
🟡 中CORS 允许所有来源 · 令牌申请 admin/全量 scope

安装

dsh plugin --profile web add @deepwhale-cn/dsh-least-privilege
# 或纯 CLI
npx @deepwhale-cn/dsh-least-privilege

用法

dsh-least-privilege --demo
dsh-least-privilege --list-rules
dsh-least-privilege --html r.html

dsh-least-privilege 检查报告示例

dsh-least-privilege 演示模式输出

dsh-least-privilege 规则与依据

边界

  • 只查「明显过宽」的写法 —— 权限偏大但没用通配符的,需要人工评审。
  • 不解析云厂商实际生效策略 —— IAM 有继承/条件/边界,只看仓库里字面写的。
  • Dockerfile 可能多阶段 —— builder 阶段的 USER root 通常无害,需你判断。
  • 与 dsh-data-scan 分工:那个查数据,这个查访问数据的权限。

本插件是一个工具。使用者必须遵守所在地区法律法规,对使用本项目造成的任何后果自行承担责任。


深鲸网安守护系列(共 22 个)

一个插件做一件事。安全问题是链式的 —— 配套用才完整。

国内合规 | 等保对照 · 日志留存 · 备案公示 · 用户同意 · 个人信息权利 · 未成年人保护 · 影响评估 · 数据分类分级 · 算法备案 · 数据出境

AI 与 Agent 治理 | AI 输出信任 · 外部内容信任 · MCP 安全 · Agent 权限

数据与凭据 | 敏感数据 · 密钥轮换

供应链与构建 | 开源许可 · 依赖投毒 · CI 安全

权限与应急 | 最小权限 · 告警外发 · 应急证据包

都在 DSH 插件市场(dsh-plugin.org)和 npm 上,dsh plugin --profile web add <包名> 即可安装。

License

MIT © 深鲸 DeepWhale