@gendigital/sage 0.4.0 → 0.4.1
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 +40 -0
- package/dist/index.cjs +1 -1
- package/openclaw.plugin.json +1 -1
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# @gendigital/sage
|
|
2
|
+
|
|
3
|
+
**Safety for Agents** - Agent Detection & Response (ADR) plugin for [OpenClaw](https://openclaw.dev).
|
|
4
|
+
|
|
5
|
+
Sage intercepts tool calls (shell commands, URL fetches, file writes) and checks them against URL reputation services, local heuristic threat rules, and package supply-chain checks before they execute.
|
|
6
|
+
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
openclaw plugins install @gendigital/sage
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## What It Does
|
|
14
|
+
|
|
15
|
+
- Intercepts `exec`, `web_fetch`, `write`, `edit`, `read`, and `apply_patch` tool calls
|
|
16
|
+
- Checks URLs against cloud-based malware/phishing detection
|
|
17
|
+
- Matches commands and file paths against YAML-based threat definitions
|
|
18
|
+
- Validates npm/PyPI packages against supply-chain risks
|
|
19
|
+
- Scans installed plugins for threats at session start
|
|
20
|
+
- Provides a `sage_approve` gate tool for interactive approval of flagged actions
|
|
21
|
+
|
|
22
|
+
## Configuration
|
|
23
|
+
|
|
24
|
+
Sage works out of the box with no configuration. Optional config file at `~/.sage/config.yaml`:
|
|
25
|
+
|
|
26
|
+
```yaml
|
|
27
|
+
sensitivity: balanced # paranoid | balanced | relaxed
|
|
28
|
+
url_check: true
|
|
29
|
+
file_check: true
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Links
|
|
33
|
+
|
|
34
|
+
- [Source & documentation](https://github.com/avast/sage)
|
|
35
|
+
- [OpenClaw platform guide](https://github.com/avast/sage/blob/main/docs/platform-guides/openclaw.md)
|
|
36
|
+
- [Privacy policy](https://github.com/avast/sage/blob/main/docs/privacy.md)
|
|
37
|
+
|
|
38
|
+
## License
|
|
39
|
+
|
|
40
|
+
Apache License 2.0 - Copyright 2026 Gen Digital Inc.
|
package/dist/index.cjs
CHANGED
|
@@ -11808,7 +11808,7 @@ var VerdictCache = class {
|
|
|
11808
11808
|
};
|
|
11809
11809
|
|
|
11810
11810
|
// ../core/dist/version.js
|
|
11811
|
-
var VERSION = true ? "0.4.
|
|
11811
|
+
var VERSION = true ? "0.4.1" : "dev";
|
|
11812
11812
|
|
|
11813
11813
|
// ../core/dist/clients/file-check.js
|
|
11814
11814
|
var DEFAULT_TIMEOUT = 5;
|
package/openclaw.plugin.json
CHANGED