Introduction¶
During app store submission or compliance self-audits, the common bottleneck isn’t how well the privacy policy copy is written, but rather the discrepancy between what is promised in the policy and what is actually implemented in the engineering: the policy states “no location collection,” yet the manifest contains location permissions; it promises “account cancellation at any time,” yet the entry point is missing from the client. Manually checking permissions, dependencies, and page entry points across files is costly and prone to omissions.
DeepSeek Harness (DSH) integrates capabilities into agent workflows via plugins. @deepwhale-cn/dsh-cn-pipl-check (repository feely0208/dsh-cn-pipl-check, maintained by feely0208, categorized as a workflow in the community) addresses the aforementioned problem: it performs local forensics and comparison of Declaration ↔ Implementation for application projects, outputting verifiable factual materials rather than making the final compliance determination for you.
What is This¶
In short: it is a skill plugin for DSH that answers the question, “Are the promises in the privacy policy and what the code actually does the same thing?”
The description in package.json summarizes it as: verifying whether privacy-related implementations—such as permissions, third-party SDKs, user rights entry points, separate consent for sensitive information, cross-border data transfer, and data retention—are consistent with the policy statements. It is licensed under MIT; the version requirement for DSH is >=0.1.0-rc.6.
What It Checks¶
The README summarizes the mandatory check scope into six categories. The table below aligns with the official description.
| Item | Specifics |
|---|---|
| Permission Minimization | Whether each permission has an irreplaceable function, whether the timing of the request is appropriate, and whether the purpose is explained |
| Third-Party SDK List | Whether the SDKs actually present in the build (analytics/push/map/payment/ads, etc.) are consistent with the policy list |
| User Rights Entry Points | Whether there are actionable entry points for lookup, copying, correction, deletion, account cancellation, and withdrawal of consent |
| Separate Consent for Sensitive Information | Whether facial recognition, fingerprints, location tracking, medical data, financial data, and data from users under the age of 14 trigger separate pop-ups, rather than just being mixed into the general agreement |
| Cross-Border Data Transfer | Whether outbound domains and service providers are domestic or overseas, and whether the policy specifies this |
| Implementation of Promises | Whether specific promises in the policy can be found in the implementation |
The plugin emphasizes that the output is facts and locations (including files and line numbers). Compliance determination still relies on business scenarios, the method of obtaining consent, and regulatory standards, requiring manual confirmation item by item. The skill text repeatedly reminds: Not found ≠ Non-existent; a mismatch only indicates that the rule was not hit and cannot be equated with “non-existent.”
Why It Is Not Just “Listing a Bunch of Checklist Items”¶
Comparison-based checklists tend to give direct “pass/fail” conclusions. The design of this plugin is: forensics scripts like scan.sh first scan permission declarations, SDKs in dependencies, rights-related code, outbound domains, and privacy policy file locations, writing the results as fragments with paths and line numbers. For example:
── 2. Permissions Actually Declared in Code ──
· ACCESS_FINE_LOCATION (AndroidManifest.xml)
· NSCameraUsageDescription (Info.plist)
── 3. Third-Party SDKs Potentially Collecting Personal Information ──
· build.gradle: com.umeng.analytics:analytics:9.3.8
· package.json: react-native-amap-geolocation
── 4. User Rights Entry Points ──
· SettingsActivity.java: Account Cancellation
The agent then organizes a comparison table and a list requiring manual judgment based on the six scope items (format refers to Section 4 of the skill text). This avoids authoritative-looking reports that make blind qualitative judgments—in compliance scenarios, such reports are often more dangerous than having no report at all.
Boundaries with Adjacent Skills¶
In the same series, the responsibilities of several packages are intentionally split and cannot replace one another:
| Package | What it Manages |
|---|---|
dsh-cn-compliance |
External copy red lines (what can be said) |
dsh-cn-ai-labeling |
Explicit/implicit labeling of AI-generated content |
dsh-cn-pipl-check |
Privacy-related: Whether words and actions match |
dsh-release-selfcheck |
Whether the release artifacts and process are correct |
When performing pre-launch compliance checks, multiple plugins can be combined as needed; personal information protection comparison should use this package, rather than being substituted by copywriting or release self-check plugins.
Installation and Activation¶
Install under the target profile (the command given in the README is as follows, do not construct the github:owner/repo format yourself):
dsh plugin --profile web add @deepwhale-cn/dsh-cn-pipl-check
If using a different profile, replace web with your profile name:
dsh plugin --profile <profile> add @deepwhale-cn/dsh-cn-pipl-check
After installation is complete, restart DSH. The skill will be mounted by the framework when needed.
Note: The plugin runs with the permissions of the current DSH process, and the forensics scripts will read the application directory and privacy policy files you specify. Before installation, please review the source code and MIT license of the GitHub repository to ensure it meets your security and compliance processes.
Typical Usage¶
Perform a Comparison via Agent¶
Once the plugin is installed, you can directly ask the agent to “perform a personal information protection comparison.” The process aligns with the README:
- Run forensics scripts (scanning permissions, SDKs, rights entry points, outbound domains, and privacy policy location)
- Compare item by item according to the six mandatory check items
- Produce a comparison table and a list requiring manual judgment
Run Forensics Scripts Manually¶
If you do not want to go through the conversation, you can find skill/scan.sh in the installation directory or at the path given in the skill text. For example:
scan.sh --dir /path/to/app --policy /path/to/privacy.md
Replace /path/to/app with the root directory of the application project to be inspected, and /path/to/privacy.md with the path to the privacy policy document. Refer to the skill text and the scripts in the repository for specific parameters.
Applicable Scenarios and Precautions¶
Who it is for: Developers performing compliance pre-checks for mobile or cross-platform applications within the DSH workflow, students responsible for store submission materials and privacy policy iteration, and teams that need to quickly align “policy text” with “Manifest / dependencies / settings page code” before release.
What it is not suitable for: It cannot replace legal advice or regulatory determination; one cannot conclude illegality or non-compliance solely based on script output. Server-side implementations (such as account cancellation and consent withdrawal) may not be matched by client-side scans and must be verified manually.
Ecosystem Note: The DSH community plugin directory (such as feely0208/dsh-cn-pipl-check on SkillHub) is maintained by the community and has no official affiliation with DeepSeek / High-Flyer; installation and usage are subject to the repository README and the npm package @deepwhale-cn/dsh-cn-pipl-check (version 0.1.0 in current materials).
Conclusion¶
@deepwhale-cn/dsh-cn-pipl-check tackles the hardest part to automate in personal information protection—whether promises and implementation are consistent—breaking it down into reproducible forensics and comparison steps, and leaving the qualitative determination to humans and auditors. If you are already using DSH to orchestrate release or compliance processes, you can install it using the command above and start with a “Policy + Code” comparison.
- Directory Page: https://www.skillhub.cn/plugins/feely0208/dsh-cn-pipl-check
- Source Code and Documentation: https://github.com/feely0208/dsh-cn-pipl-check