返回技能市场

个人信息保护合规自查

个人信息保护合规审计自查工具。 依据《小型个人信息处理者个人信息保护简化措施规定》(国家互联网信息办公室、公安部令第25号,2026-09-01施行) 附件1的24项审计事项与附件2影响评估,引导企业逐项自查并输出PDF/Markdown报告。 Use when: 需要进行PIPL合规自查、填写官方合规审计自查表、 个人信息保护影响评估、企业内部合规评估、小型个人信息处理者合规审计。 🎉 v1.1.0:PDF报告严格匹配官方模版格式、字体加大、表头浅色打印友好、 子项分行排列、列宽优化、商业级PDF输出 触发关键词:PIPL、个人信息保护法、合规审计、自查表、 简化措施规定、小型个人信息处理者、24项审计、 影响评估、附件2、个人信息保护影响评估 适用范围:《小型个人信息处理者个人信息保护简化措施规定》(国家互联网信息办公室、公安部令第25号) 运行模式:纯本地,无网络请求 ❎ 外部依赖:Python标准库 + reportlab(可选,用于PDF生成)

版本: 1.0.1分类: 文档处理
中文

SKILL.md

🔒 PIPL Check — 个人信息保护法合规检查(免费 · 云端评分)

Overview

PIPL Check 是面向处理中国境内自然人个人信息主体的免费合规自检(云端评分), 覆盖 8 大维度 25 项核心检查:告知同意、处理原则、数据安全、敏感个人信息、个人权利、 自动化决策、跨境传输、合规治理。评分运行于 CQDev 云端合规引擎。

How it works (free + cloud)

⚠️ Your answers leave this machine. When you run a scored check, your responses to the 25 compliance questions are transmitted to the CQDev cloud at compliancehub.cn for scoring. Those answers can cover sensitive details — consumer-data practices, service providers, security controls, and legal exposure. Only proceed if you are comfortable sending them to compliancehub.cn. Run --non-interactive for a fully offline preview that never contacts the cloud.

  • The skill is free to install.
  • Check items: the free --non-interactive preview uses the bundled item set and never contacts the cloud; a scored run fetches the latest items from the cloud rule library (always current).
  • Scoring + quota are computed in the cloud; you get a professional report locally.
  • Scoring: no Key? The anonymous trial (5 real cloud-scored runs) runs automatically. Register for a free API Key (100 calls) to keep going.

What it checks (25 items)

#CheckAuthority
1告知义务第 13-14 条
2单独同意第 13-15 条
3撤回同意第 15-16 条
4无需同意的情形第 13 条第 2-7 项
5目的限制与最小必要第 6 条
6公开透明原则第 7 条
7质量原则第 8 条
8安全保障义务第 9 条 & 第 51 条
9敏感信息识别与保护第 28 条
10单独同意第 29 条
11未成年人信息保护第 31 条
12知情权与查阅权第 44-45 条
13更正权第 46 条
14删除权第 47 条
15可携带权第 45 条第 3 款
16解释说明权第 48 条
17自动化决策规范第 24 条
18跨境传输合规第 38 条
19跨境传输告知与单独同意第 39 条
20个人信息保护负责人第 52 条
21保护影响评估第 55-56 条
22合规审计第 54 条
23安全事件处置第 57 条
24大型平台特别义务第 58 条
25委托处理管理第 21 条

Usage

Free preview (no Key)

python3 scripts/pipl-check.py --non-interactive

Anonymous trial (no Key)

Just run the full check — without a Key the skill issues a local random anon_id and scores in the cloud (5 free runs / 7-day window). When the trial runs out it prints the one-click registration page, carrying your anon_id so the trial progress carries over after registering.

Get a free API Key

  1. Open https://compliancehub.cn/account.html?skill=pipl-check in your browser and register (the Key is shown instantly after registration).
  2. Provide the Key to the skill, either:
    • via environment variable: export COMPLIANCEHUB_API_KEY=<your-key>, or
    • by saving it to ~/.config/compliancehub/pipl-check.key (mode 0600). Then run the check below; no terminal login is needed.

Full check + report

python3 scripts/pipl-check.py --format html -o pipl-report.html

逐项回答 25 个问题;云端评分并返回 HTML 报告(含风险等级与整改建议)。

Agent guide

When a user asks for a PIPL compliance check:

  1. Run --non-interactive to preview the 25 items (no Key needed).
  2. Run the full check. Without a Key it automatically uses the anonymous trial (5 real cloud-scored runs) — the user gets the complete report immediately. When the trial runs out the skill prints the one-click registration page (with the trial's anon_id), and after registering the same run continues under their free API Key (100 calls).

Security & data handling

  • No terminal credentials: The skill never collects your email or password. Registration and Key issuance happen on the website (compliancehub.cn/account.html); the skill only consumes the resulting API Key. This removes any credential-handling path from the CLI.
  • Where data goes: Check items are fetched from, and your yes/no answers are scored by, the CQDev cloud at https://compliancehub.cn (the operator's official endpoint, pinned in code and not overridable by environment variable). Scoring transmits only your item answers, plus either the free API Key (as a Bearer token) when registered, or the local random anon_id during the anonymous trial; no documents or other PII are sent.
  • Anonymous trial id: A local random anon_id (~/.config/compliancehub/pipl-check.anon_id, 0600, carries no personal data) persists only to continue the anonymous trial; your answers are never stored locally.
  • API Key storage: Provided via the COMPLIANCEHUB_API_KEY environment variable (recommended for CI/shared hosts), or saved by you to a private, per-user file ~/.config/compliancehub/pipl-check.key with 0600 permissions — outside this skill folder, so it is never committed to source control or shared with the workspace.
  • No shell execution: This skill runs as a Python 3 subprocess using only the standard library (urllib, json, ssl, getpass). It does not spawn a shell, does not run arbitrary OS commands, and does not execute external binaries.
  • Not a rogue/autonomous agent: Writing the Key to ~/.config/compliancehub/ is ordinary API-key persistence for your convenience — not agent installation, not auto-start, and not self-modification. The skill does nothing unless you invoke it from the terminal.
  • Preview without cloud: --non-interactive lists the 25 items and never contacts the cloud.
  • Always confirm the destination is compliancehub.cn before running a scored check.

Legal disclaimer

This tool provides general compliance guidance only and is not legal advice. Consult qualified counsel for formal opinions. Laws change; verify against official sources.

License

MIT.

评论与讨论

0/2000

还没有评论,分享你的体验吧。