cc-safety-net 2.6.15 → 2.6.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -2
- package/dist/amp/cc-safety-net/index.ts +42 -42
- package/dist/api.js +1 -1
- package/dist/bin/hook.js +42 -42
- package/dist/chunks/index-7w6trghf.js +2 -0
- package/dist/chunks/{index-e3xkx678.js → index-823nnrjs.js} +4 -4
- package/dist/chunks/index-cxqk4wed.js +49 -0
- package/dist/chunks/{index-wkjncmhg.js → index-fpxp8rvc.js} +2 -2
- package/dist/chunks/index-p0tjjrnj.js +2 -0
- package/dist/chunks/index-qr496znd.js +2 -0
- package/dist/chunks/index-x65f5t9p.js +2 -0
- package/dist/cli.js +1979 -635
- package/dist/deepseek-harness/index.js +1 -1
- package/dist/index.js +5 -5
- package/dist/openclaw/cc-safety-net/index.js +41 -41
- package/dist/openclaw/cc-safety-net/openclaw.plugin.json +1 -1
- package/dist/openclaw/cc-safety-net/package.json +1 -1
- package/dist/pi/index.js +2 -2
- package/package.json +2 -2
- package/dist/chunks/index-7s7deste.js +0 -2
- package/dist/chunks/index-c58ybc95.js +0 -2
- package/dist/chunks/index-n7t37q7p.js +0 -2
- package/dist/chunks/index-qzcqzqbd.js +0 -49
- package/dist/chunks/index-sxp3v148.js +0 -2
package/README.md
CHANGED
|
@@ -9,13 +9,16 @@
|
|
|
9
9
|
[](https://github.com/kenryu42/cc-safety-net/actions/workflows/ci.yml)
|
|
10
10
|
[](https://codecov.io/github/kenryu42/cc-safety-net)
|
|
11
11
|
[](https://github.com/kenryu42/cc-safety-net)
|
|
12
|
+

|
|
13
|
+

|
|
14
|
+

|
|
12
15
|
[](https://opensource.org/licenses/MIT)
|
|
13
16
|
|
|
14
17
|
<div align="center">
|
|
15
18
|
|
|
16
19
|
**English** · [简体中文](https://ccsafetynet.com/docs/zh-Hans) · [日本語](https://ccsafetynet.com/docs/ja)
|
|
17
20
|
|
|
18
|
-
https://github.com/user-attachments/assets/
|
|
21
|
+
https://github.com/user-attachments/assets/353c1441-9156-483c-b8e5-32fce7905a83
|
|
19
22
|
|
|
20
23
|
</div>
|
|
21
24
|
|
|
@@ -68,7 +71,7 @@ CC Safety Net supports these coding agent CLIs on Windows, macOS, and Linux.
|
|
|
68
71
|
|
|
69
72
|
## Features
|
|
70
73
|
|
|
71
|
-
- **Blocks destructive commands** such as `git reset --hard`, `git push --force`, and `rm -rf` on dangerous targets, even inside `bash -c` or `python -c`. See [Blocked Commands](https://ccsafetynet.com/docs/reference/blocked-commands).
|
|
74
|
+
- **Blocks destructive commands** such as `git reset --hard`, `git push --force`, and `rm -rf` on dangerous targets, and install scripts piped from the internet (`curl … | bash`), even inside `bash -c` or `python -c`. See [Blocked Commands](https://ccsafetynet.com/docs/reference/blocked-commands).
|
|
72
75
|
- **Blocks secret access** to SSH keys, `.env` files, `~/.aws`, and coding-CLI credentials, from the shell and from the agent's file tools. See [Secret Protection](https://ccsafetynet.com/docs/reference/secret-protection).
|
|
73
76
|
- **Tunes the policy in a GUI.** Run `npx cc-safety-net gui` to pick the Standard, Strict, or Paranoid preset and turn rules on or off. See [Modes](https://ccsafetynet.com/docs/configuration/modes).
|
|
74
77
|
- **Adds blocks through rulebooks**: official packs for Terraform, AWS, gcloud, and Azure, or your own JSON. See [Official Rulebooks](https://ccsafetynet.com/docs/configuration/rulebooks).
|