@gendigital/sage-openclaw 0.6.0 → 0.7.0
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/openclaw.plugin.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gendigital/sage-openclaw",
|
|
3
3
|
"license": "Apache-2.0",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.7.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Safety for Agents — ADR layer for OpenClaw",
|
|
7
7
|
"main": "./dist/index.cjs",
|
|
@@ -21,12 +21,15 @@
|
|
|
21
21
|
"esbuild": "^0.25.0",
|
|
22
22
|
"typescript": "^5.9.0",
|
|
23
23
|
"vitest": "^4.0.0",
|
|
24
|
-
"@gendigital/sage-core": "0.
|
|
24
|
+
"@gendigital/sage-core": "0.7.0"
|
|
25
25
|
},
|
|
26
26
|
"openclaw": {
|
|
27
27
|
"extensions": [
|
|
28
28
|
"./dist/index.cjs"
|
|
29
|
-
]
|
|
29
|
+
],
|
|
30
|
+
"compat": {
|
|
31
|
+
"pluginApi": ">=2026.3.22"
|
|
32
|
+
}
|
|
30
33
|
},
|
|
31
34
|
"engines": {
|
|
32
35
|
"node": ">=18"
|
|
@@ -57,3 +57,12 @@ You are working in an environment protected by Sage, a security plugin. Be mindf
|
|
|
57
57
|
## Sage Flagged Actions
|
|
58
58
|
|
|
59
59
|
When Sage flags a tool call (as opposed to blocking it outright), you **must** present the details to the user and wait for their explicit approval before calling `sage_approve`. Never auto-approve a flagged action on your own — the user must decide.
|
|
60
|
+
|
|
61
|
+
## False Positive Reporting
|
|
62
|
+
|
|
63
|
+
If the user believes a Sage detection is incorrect (a wrong block, mistaken flag, or false alarm), you can report it using the MCP tools provided by Sage:
|
|
64
|
+
|
|
65
|
+
1. **`sage_list_audit_entries`** — Lists recent Sage audit log entries for the current conversation. Use this to find the `entry_id`s of the detections the user considers incorrect.
|
|
66
|
+
2. **`sage_report_false_positive`** — Submits a false positive report to the Sage backend. Requires a `description` (what was wrongly detected) and `reasoning` (why it is a false positive). Optionally accepts `entry_ids` to scope the report to specific entries.
|
|
67
|
+
|
|
68
|
+
When the user says a detection was wrong, a false positive, or asks to report/dispute a Sage verdict, use these tools to help them.
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
severity: critical
|
|
112
112
|
confidence: 0.90
|
|
113
113
|
action: block
|
|
114
|
-
pattern: "(curl|wget)\\s[
|
|
114
|
+
pattern: "(curl|wget)\\s[\\s\\S]*?(&&|;)\\s*chmod\\s+\\+x"
|
|
115
115
|
match_on: command
|
|
116
116
|
title: "Download and execute chain"
|
|
117
117
|
expires_at: null
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
severity: high
|
|
24
24
|
confidence: 0.85
|
|
25
25
|
action: require_approval
|
|
26
|
-
pattern: "\\.sage[\\\\/](allowlist|config)\\.json"
|
|
26
|
+
pattern: "\\.sage[\\\\/](allowlist|config|exceptions|pending-exceptions)\\.json"
|
|
27
27
|
match_on: file_path
|
|
28
28
|
title: "Access Sage configuration files"
|
|
29
29
|
expires_at: null
|