DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-consent-guard

d

dsh-consent-guard

Manifest valid

User Consent and Authorization Confirmation: default-checked boxes, bundled consent, and no withdrawal option — the Personal Information Protection Law (PIPL) sets explicit requirements.

hasBundlePatch

@deepwhale-cn/dsh-consent-guard

Listed on dsh-plugin.org

关键词:用户同意 · 个人信息保护法 · 个保法 · 隐私政策 · 默认勾选 · 撤回同意 · 授权同意 · 隐私合规 · 单独同意 Keywords: user consent · PIPL · privacy policy · pre-checked box · consent withdrawal · personal information protection law 用户同意与授权确认 —— 查默认勾选、捆绑同意、没有撤回入口。

不装它会怎样

你的注册页有这么一个勾选框:

<input type="checkbox" name="agreePrivacy" defaultChecked />
同意隐私政策和营销推广

看起来是标准做法,实际上踩了三项:

  1. 默认勾选 —— 用户什么都没做就算同意了。《个保法》第 14 条要求「自愿、明确作出」
  2. 捆绑 —— 隐私政策(必要)和营销推广(非必要)合成一个勾选框
  3. 没有撤回入口

监管认定「默认勾选」时通常直接判违规。而改成默认不勾选,是成本很低的合规修复之一。

它查什么

级别内容依据
🔴 高默认勾选个保法 14 条 · GDPR Recital 32
🔴 高采集但无同意机制个保法 13/17 条
🟡 中捆绑同意个保法 16/17 条
🟡 中无撤回入口个保法 15 条

安装

dsh plugin --profile web add @deepwhale-cn/dsh-consent-guard
# 或纯 CLI
npx @deepwhale-cn/dsh-consent-guard

用法

dsh-consent-guard --demo
dsh-consent-guard --list-rules
dsh-consent-guard --html r.html

dsh-consent-guard 检查报告示例

dsh-consent-guard 演示模式输出

dsh-consent-guard 规则与依据

边界

  • 只看代码,不看实际界面 —— 弹窗有没有真弹出来、用户能不能看懂,需人工验证。
  • 「找不到就报」的两条是弱信号 —— 撤回入口可能在服务端或另一个仓库。报出来是提示确认。
  • 不判断「必要性」 —— 某项采集是否属「提供服务所必需」是法律判断。
  • 与 dsh-cn-pipl-check 分工: 那个做个保法逐条对照(更全),这个专做同意机制(更深)。

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


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

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

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

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

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

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

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

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

License

MIT © 深鲸 DeepWhale

Comments

Loading…