mirror of
https://github.com/YuJunZhiXue/dsh-purge.git
synced 2026-11-30 16:50:22 +08:00
- 门禁收敛:仅拦截中国大陆、香港、澳门,银行与金融站点,政府与军事站点 - #220 dshTarget 适配 0.2.1-rc.5 - #213 POSIX 原子写保留文件权限位 - #211 回退按钮遮挡与层级 - #209 pnpm 12 允许构建配置键名 - 提示词只由本地 lib/default-prompt-inject.md 嵌入,移除 zh/en 变体并加入忽略 - README 中英日同步,边界说明统一为禁止项
This commit is contained in:
1 parent
aa80d2e809
commit
2d428b11ff
12 files changed
+345
-312
No files matched your search
@@ -35,8 +35,7 @@ dsh-purge was originally developed by its author as an independent project. It i
|
||||
|
||||
The project's boundaries remain unchanged:
|
||||
|
||||
- **The open-source build is local-lab only.** Attack tasks are limited to loopback and RFC1918 private addresses. Domains are resolved first (including hosts); every resolved address must be private or loopback. Entries that point a lab name at a public address, failed lookups, or answers that include public addresses are rejected.
|
||||
- **Game cheats are prohibited**, including aimbots, wallhacks, memory modification, and anti-cheat bypass; both the prompt layer and the session gate enforce this.
|
||||
- **The open-source build is local-lab only.** Local drills are limited to loopback and RFC1918 private addresses. Penetration, attack, or scanning against mainland China, Hong Kong and Macau, banks and financial sites, government and military sites is prohibited.
|
||||
- The open-source build does not include the skill library or knowledge base.
|
||||
|
||||
**Resale of the original build is prohibited.** Paid resale, re-skinning for store listings, and distribution as a commercial product are not permitted. Forks and derivative work are allowed provided they credit the source repository: [HunYiSage/dsh-purge](https://github.com/HunYiSage/dsh-purge). Removing the attribution, concealing the source, or presenting the project as one's own will be pursued by the maintainers. Third-party builds are not affiliated with the original author or this team; their maintainers are solely responsible for them.
|
||||
@@ -127,8 +126,7 @@ This repo is [Apache License 2.0](./LICENSE). Forks and redistributions must kee
|
||||
2. **Local official Harness only.** Security-eval patches and prompt injection run only on the **official DeepSeek Harness already installed on the user's machine** (`@deepseek-ai` packages, local profile / `$DSH_HOME`). The target is the user's own official local software, **not** someone else's website, server, account, or information system.
|
||||
3. **Eval patches do not attack the public internet.** Apply, inject, revert, and uninstall stay in local files and local processes. They **do not scan, probe, intrude, or send attack traffic to any public host or unauthorized system**. Do not use this project as a jump host against the public internet. If "check for updates" is on, the plugin may only contact this plugin's own GitHub repository to compare versions. That is **not** an attack on third-party systems and is **not** authorization to penetrate anything.
|
||||
4. **Lawful, controlled scope.** This project is an aid for red-team research and robustness evaluation on an **official Harness the user is entitled to administer**. **Do not run it against targets without the owner's lawful written authorization, public online systems, or production workloads.** Testing must stay on the **authorized local official Harness, offline local synthetic fixtures, authorized cybersecurity ranges, and compliant lab environments**.
|
||||
5. **The open-source build is local-lab only.** Attack tasks only allow loopback and RFC1918 addresses. Domains are resolved, then judged by IP; suffixes are not an allow list. A public IP, a name that resolves public, a failed lookup, or a hosts entry that points a lab name at the public internet is not an exception. A key, a password, a network range, a wildcard, or a claim made in the conversation does not add an exception. Game cheats are forbidden. This build does not ship the skill library or the knowledge base.
|
||||
6. **Forbidden uses.** Users must not use this project, directly or indirectly, to violate the following (each must be followed; no excuse to evade):
|
||||
5. **Forbidden uses.** Users must not use this project, directly or indirectly, to violate the following (each must be followed; no excuse to evade):
|
||||
- <font color="red"><strong>Criminal Law of the People's Republic of China</strong></font>
|
||||
- <font color="red"><strong>Cybersecurity Law of the People's Republic of China</strong></font>
|
||||
- <font color="red"><strong>Data Security Law of the People's Republic of China</strong></font>
|
||||
@@ -138,10 +136,10 @@ This repo is [Apache License 2.0](./LICENSE). Forks and redistributions must kee
|
||||
- Unauthorized intrusion or attacks on public or private computer information systems; extortion, sabotage, credential stuffing, or spreading malicious payloads;
|
||||
- Inducing, generating, or spreading any content the law forbids, including threats to national security, terrorism, violence, pornography, gambling, fraud, and privacy or intellectual-property infringement;
|
||||
- Violating the model provider's terms of service and acceptable-use policy.
|
||||
7. **The user bears all responsibility.** The project is provided under Apache-2.0 as-is. The maintainers make no warranty of completeness, security, or fitness. **Users independently bear all civil, administrative, and criminal liability** for download, deploy, run, modify, distribute, and all resulting inputs and outputs. The maintainers and contributors bear no direct, indirect, or joint liability for abuse.
|
||||
8. **The license ends on breach.** Anyone who uses this project for illegal attacks, malicious activity, or other violations has their open-source license **automatically and irrevocably terminated** from the moment of the violation. They must stop using the project, permanently destroy all copies and derivatives, and accept legal sanctions.
|
||||
9. **No affiliation.** This is an independent open-source security-eval research project. It has no employment, commercial, authorization, or endorsement relationship with DeepSeek or its affiliates. "Official" here only means the eval target is the official DeepSeek Harness package on the user's machine. It does **not** mean DeepSeek developed, approved, or warrants this plugin.
|
||||
10. **Attribution is required.** If you borrow this project's name, ideas, code, or prompts, you must credit the maintainers and name this repository. Failure to attribute will be pursued. See [Attribution required](#attribution-required).
|
||||
6. **The user bears all responsibility.** The project is provided under Apache-2.0 as-is. The maintainers make no warranty of completeness, security, or fitness. **Users independently bear all civil, administrative, and criminal liability** for download, deploy, run, modify, distribute, and all resulting inputs and outputs. The maintainers and contributors bear no direct, indirect, or joint liability for abuse.
|
||||
7. **The license ends on breach.** Anyone who uses this project for illegal attacks, malicious activity, or other violations has their open-source license **automatically and irrevocably terminated** from the moment of the violation. They must stop using the project, permanently destroy all copies and derivatives, and accept legal sanctions.
|
||||
8. **No affiliation.** This is an independent open-source security-eval research project. It has no employment, commercial, authorization, or endorsement relationship with DeepSeek or its affiliates. "Official" here only means the eval target is the official DeepSeek Harness package on the user's machine. It does **not** mean DeepSeek developed, approved, or warrants this plugin.
|
||||
9. **Attribution is required.** If you borrow this project's name, ideas, code, or prompts, you must credit the maintainers and name this repository. Failure to attribute will be pursued. See [Attribution required](#attribution-required).
|
||||
|
||||
</font>
|
||||
|
||||
@@ -419,7 +417,7 @@ The first time you open Drill you read the notice, wait out the countdown, scrol
|
||||
|
||||
**Local lab**
|
||||
|
||||
The open-source build only allows localhost/private nets. The Clean page says so. You cannot register a public host.
|
||||
Penetration, attack, or scanning against mainland China, Hong Kong and Macau, banks and financial sites, government and military sites is prohibited. Local drills are limited to loopback and RFC1918 private addresses.
|
||||
|
||||
| Area | What it shows |
|
||||
|---|---|
|
||||
@@ -428,7 +426,7 @@ The open-source build only allows localhost/private nets. The Clean page says so
|
||||
| Drill | assets and environment after authorization. This build does not ship skills or the knowledge base. The tab says Unauthorized until then |
|
||||
| Patches | grouped status, Apply, Restore, or Uninstall |
|
||||
| Prompt | edit `prompt-inject.md` as the session override |
|
||||
| Local lab | loopback / RFC1918 only; names are resolved, and every address must be private |
|
||||
| Local lab | penetration of mainland China / Hong Kong / Macau, banks, government and military sites is prohibited |
|
||||
| Rule sets | multiple `AGENTS.md` / `CLAUDE.md`; Enable writes under `$DSH_HOME`, Delete removes the row |
|
||||
|
||||
---
|
||||
@@ -495,7 +493,7 @@ Restart `dsh web` to load the profile. The model and reasoning defaults apply to
|
||||
|
||||
### Local lab
|
||||
|
||||
Attack tasks are denied by default. The open-source build only allows loopback and RFC1918 IPs. Names are resolved first; a `.lab` / `.htb` suffix is not enough. A hosts entry that points a lab name at a public IP is blocked. Saying “this is my server” in chat does not allow it.
|
||||
Penetration, attack, or scanning against mainland China, Hong Kong and Macau, banks and financial sites, government and military sites is prohibited. Local drills are limited to loopback and RFC1918 private addresses.
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in new issue
Block a user