@upx-us/shield 0.4.36 → 0.6.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/CHANGELOG.md +43 -561
- package/README.md +19 -24
- package/dist/index.js +153 -15
- package/dist/src/case-monitor.d.ts +46 -1
- package/dist/src/case-monitor.js +167 -19
- package/dist/src/cli-cases.js +46 -0
- package/dist/src/events/browser/enrich.js +1 -0
- package/dist/src/events/exec/enrich.d.ts +1 -0
- package/dist/src/events/exec/enrich.js +23 -0
- package/dist/src/events/file/enrich.js +7 -0
- package/dist/src/events/message/enrich.js +26 -0
- package/dist/src/exclusions.d.ts +16 -0
- package/dist/src/exclusions.js +122 -0
- package/dist/src/rpc/exclusion-handlers.d.ts +8 -0
- package/dist/src/rpc/exclusion-handlers.js +36 -0
- package/dist/src/rpc/handlers.d.ts +7 -7
- package/dist/src/rpc/handlers.js +138 -9
- package/dist/src/rpc/index.js +4 -0
- package/openclaw.plugin.json +3 -3
- package/package.json +2 -2
- package/skills/shield/README.md +10 -10
- package/skills/shield/SKILL.md +29 -8
package/CHANGELOG.md
CHANGED
|
@@ -4,209 +4,47 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
## [0.
|
|
7
|
+
## [0.5.18] — 2026-03-06
|
|
8
8
|
|
|
9
9
|
### Added
|
|
10
|
-
-
|
|
11
|
-
-
|
|
12
|
-
- `openclaw shield
|
|
13
|
-
- `
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
- README updated with features table and complete RPC reference (9 RPCs).
|
|
17
|
-
- SKILL.md updated with case CLI commands.
|
|
18
|
-
|
|
19
|
-
---
|
|
20
|
-
|
|
21
|
-
## [0.4.11] — 2026-03-04
|
|
22
|
-
|
|
23
|
-
### Added
|
|
24
|
-
- Case notification system — agent polls platform for new cases and notifies users.
|
|
25
|
-
- Case resolution — close cases with categorization (resolution + root cause) via RPC.
|
|
26
|
-
- 4 new RPCs: `shield.cases_list`, `shield.case_detail`, `shield.case_resolve`, `shield.cases_ack`.
|
|
27
|
-
- Case monitor with pending notification queue and acknowledgment.
|
|
28
|
-
- Platform attribution in case detail responses.
|
|
29
|
-
|
|
30
|
-
### Fixed
|
|
31
|
-
- HMAC signing in RPC client aligned with sender format (`fingerprint:nonce`).
|
|
32
|
-
|
|
33
|
-
### Changed
|
|
34
|
-
- SKILL.md updated with case handling section.
|
|
35
|
-
- README updated with features table and RPC documentation.
|
|
36
|
-
|
|
37
|
-
---
|
|
38
|
-
|
|
39
|
-
## [0.4.7] — 2026-03-04
|
|
40
|
-
|
|
41
|
-
### Added
|
|
42
|
-
- Local event buffer — rolling store of recently sent events for offline inspection and debugging.
|
|
43
|
-
- `openclaw shield logs` CLI command with `--last`, `--type`, `--since`, and `--format` options.
|
|
44
|
-
- `shield.events_recent` and `shield.events_summary` RPCs now return local data (previously required platform API).
|
|
45
|
-
- Configurable via `SHIELD_LOCAL_EVENT_BUFFER` (default: enabled) and `SHIELD_LOCAL_EVENT_LIMIT` (default: 123 events).
|
|
46
|
-
|
|
47
|
-
### Changed
|
|
48
|
-
- SKILL.md updated for ClawHub review — removed internal references, added event logs documentation.
|
|
49
|
-
- README.md updated with Local Event Buffer section and configuration reference.
|
|
50
|
-
|
|
51
|
-
---
|
|
52
|
-
|
|
53
|
-
## [0.4.6] — 2026-03-04
|
|
10
|
+
- **User-friendly case notifications** — notifications now use plain language summaries when available, with technical details (rule title, MITRE technique) as a `📎` footnote.
|
|
11
|
+
- **False positive exclusions** — mark a case as false positive and Shield auto-suppresses identical future alerts for your instance.
|
|
12
|
+
- `openclaw shield exclusions` — list active exclusions.
|
|
13
|
+
- `openclaw shield exclusions remove <ID>` — re-enable alerts by removing an exclusion.
|
|
14
|
+
- RPCs: `shield.exclusions_list`, `shield.exclusion_add`, `shield.exclusion_remove`.
|
|
15
|
+
- Pattern normalization: IPs, UUIDs, timestamps, and hashes are generalized so the same type of event matches regardless of specific values.
|
|
54
16
|
|
|
55
17
|
### Fixed
|
|
56
|
-
-
|
|
57
|
-
- Stale PID detection in `shield status` — warns when daemon PID is no longer running.
|
|
58
|
-
|
|
59
|
-
### Added
|
|
60
|
-
- Atomic file writes (`writeJsonSafe`) for status, stats, vault, updater state, and IP cache — prevents corruption on crash or disk-full.
|
|
61
|
-
- Corrupt JSON recovery (`readJsonSafe`) — auto-recovers from corrupted state files instead of crash-looping. Corrupt files preserved as `.corrupt.<timestamp>` for forensics.
|
|
62
|
-
|
|
63
|
-
---
|
|
64
|
-
|
|
65
|
-
## [0.4.7] — 2026-03-04
|
|
66
|
-
|
|
67
|
-
### Added
|
|
68
|
-
- Local event buffer — rolling store of recently sent events for offline inspection and debugging.
|
|
69
|
-
- `openclaw shield logs` CLI command with `--last`, `--type`, `--since`, and `--format` options.
|
|
70
|
-
- `shield.events_recent` and `shield.events_summary` RPCs now return local data (previously required platform API).
|
|
71
|
-
- Configurable via `SHIELD_LOCAL_EVENT_BUFFER` (default: enabled) and `SHIELD_LOCAL_EVENT_LIMIT` (default: 123 events).
|
|
72
|
-
|
|
73
|
-
### Changed
|
|
74
|
-
- SKILL.md updated for ClawHub review — removed internal references, added event logs documentation.
|
|
75
|
-
- README.md updated with Local Event Buffer section and configuration reference.
|
|
18
|
+
- Campaign URLs updated to English (`/en/` instead of `/pt/`).
|
|
76
19
|
|
|
77
20
|
---
|
|
78
21
|
|
|
79
|
-
## [0.4.
|
|
80
|
-
|
|
81
|
-
### Fixed
|
|
82
|
-
- OpenClaw version detection: replaced hardcoded macOS paths with platform-independent require.resolve + execSync fallback. Fixes incorrect version in telemetry on Windows and non-standard installs.
|
|
83
|
-
|
|
84
|
-
---
|
|
22
|
+
## [0.4.36] — 2026-03-05
|
|
85
23
|
|
|
86
|
-
|
|
24
|
+
Consolidated from 0.4.0–0.4.12.
|
|
87
25
|
|
|
88
26
|
### Added
|
|
89
|
-
-
|
|
90
|
-
-
|
|
91
|
-
- `shield.
|
|
92
|
-
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
-
|
|
96
|
-
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
-
|
|
104
|
-
- Multi-machine warning in README for shared config setups.
|
|
105
|
-
|
|
106
|
-
---
|
|
107
|
-
|
|
108
|
-
## [0.4.7] — 2026-03-04
|
|
109
|
-
|
|
110
|
-
### Added
|
|
111
|
-
- Local event buffer — rolling store of recently sent events for offline inspection and debugging.
|
|
112
|
-
- `openclaw shield logs` CLI command with `--last`, `--type`, `--since`, and `--format` options.
|
|
113
|
-
- `shield.events_recent` and `shield.events_summary` RPCs now return local data (previously required platform API).
|
|
114
|
-
- Configurable via `SHIELD_LOCAL_EVENT_BUFFER` (default: enabled) and `SHIELD_LOCAL_EVENT_LIMIT` (default: 123 events).
|
|
115
|
-
|
|
116
|
-
### Changed
|
|
117
|
-
- SKILL.md updated for ClawHub review — removed internal references, added event logs documentation.
|
|
118
|
-
- README.md updated with Local Event Buffer section and configuration reference.
|
|
119
|
-
|
|
120
|
-
---
|
|
121
|
-
|
|
122
|
-
## [0.4.3] — 2026-03-04
|
|
123
|
-
|
|
124
|
-
### Changed
|
|
125
|
-
- SKILL.md: added YAML frontmatter with ClawHub metadata, gating via requires.config, full status output example, vault show documentation, redaction token table.
|
|
126
|
-
- Cross-references between npm, ClawHub, and dashboard in SKILL.md and skill README.
|
|
127
|
-
- openclaw.plugin.json: added clawhub.slug and skillVersion tracking.
|
|
128
|
-
|
|
129
|
-
### Added
|
|
130
|
-
- Skill validation tests (26 tests): prevent infrastructure leaks in ClaWHub-published content.
|
|
131
|
-
|
|
132
|
-
---
|
|
133
|
-
|
|
134
|
-
## [0.4.7] — 2026-03-04
|
|
135
|
-
|
|
136
|
-
### Added
|
|
137
|
-
- Local event buffer — rolling store of recently sent events for offline inspection and debugging.
|
|
138
|
-
- `openclaw shield logs` CLI command with `--last`, `--type`, `--since`, and `--format` options.
|
|
139
|
-
- `shield.events_recent` and `shield.events_summary` RPCs now return local data (previously required platform API).
|
|
140
|
-
- Configurable via `SHIELD_LOCAL_EVENT_BUFFER` (default: enabled) and `SHIELD_LOCAL_EVENT_LIMIT` (default: 123 events).
|
|
141
|
-
|
|
142
|
-
### Changed
|
|
143
|
-
- SKILL.md updated for ClawHub review — removed internal references, added event logs documentation.
|
|
144
|
-
- README.md updated with Local Event Buffer section and configuration reference.
|
|
145
|
-
|
|
146
|
-
---
|
|
147
|
-
|
|
148
|
-
## [0.4.2] — 2026-03-04
|
|
149
|
-
|
|
150
|
-
### Changed
|
|
151
|
-
- **SKILL.md**: added `vault show` command docs, redaction token type reference, vault output interpretation guide.
|
|
152
|
-
- **Skill README**: added links to npm package and ClawHub listing.
|
|
153
|
-
- **package.json**: added `homepage` → ClawHub, `clawhub.slug` metadata, expanded keywords for discoverability.
|
|
27
|
+
- **Case management** — `openclaw shield cases` CLI command to list open security cases, `cases show <ID>` for full detail with events, rule info, and playbook, `cases resolve <ID>` with `--resolution`, `--root-cause`, and `--comment` flags.
|
|
28
|
+
- **Case notification system** — agent polls platform for new cases and notifies users. Case monitor with pending notification queue and acknowledgment.
|
|
29
|
+
- 4 case RPCs: `shield.cases_list`, `shield.case_detail`, `shield.case_resolve`, `shield.cases_ack`.
|
|
30
|
+
- **Local event buffer** — rolling store of recently sent events for offline inspection and debugging. `openclaw shield logs` command with `--last`, `--type`, `--since`, and `--format` options. `shield.events_recent` and `shield.events_summary` RPCs now return local data. Configurable via `SHIELD_LOCAL_EVENT_BUFFER` and `SHIELD_LOCAL_EVENT_LIMIT`.
|
|
31
|
+
- **Host agent/workspace inventory** — scans agents on startup, persists to local vault. Cross-workspace access detection enriches events. New token categories: `agent:HASH`, `workspace:HASH`. `openclaw shield vault show` displays inventory with hashed IDs and redaction token summary.
|
|
32
|
+
- **Auto-update** — plugin checks for updates on gateway restart and every 6 hours. Patch and minor versions install automatically with backup and rollback safety. Major versions notify only.
|
|
33
|
+
- **Chained command detection** — exec events parse shell chains (`&&`, `||`, `;`) to detect destructive commands regardless of position.
|
|
34
|
+
- **Atomic file writes** (`writeJsonSafe`) for status, stats, vault, updater state, and IP cache — prevents corruption on crash or disk-full.
|
|
35
|
+
- **Corrupt JSON recovery** (`readJsonSafe`) — auto-recovers from corrupted state files instead of crash-looping.
|
|
36
|
+
- Skill validation tests (26 tests) to prevent infrastructure leaks in ClawHub-published content.
|
|
37
|
+
- ClawHub frontmatter metadata, gating via `requires.config`, cross-references between npm/ClawHub/dashboard.
|
|
38
|
+
- `callPlatformApi` now supports GET and POST methods.
|
|
39
|
+
- Platform attribution in case detail responses.
|
|
40
|
+
- Tarball shasum preserved in `openclaw.json` after self-update.
|
|
41
|
+
- Plugin metadata sync prevents OpenClaw core updates from removing the plugin.
|
|
154
42
|
|
|
155
43
|
### Fixed
|
|
156
|
-
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
## [0.4.7] — 2026-03-04
|
|
161
|
-
|
|
162
|
-
### Added
|
|
163
|
-
- Local event buffer — rolling store of recently sent events for offline inspection and debugging.
|
|
164
|
-
- `openclaw shield logs` CLI command with `--last`, `--type`, `--since`, and `--format` options.
|
|
165
|
-
- `shield.events_recent` and `shield.events_summary` RPCs now return local data (previously required platform API).
|
|
166
|
-
- Configurable via `SHIELD_LOCAL_EVENT_BUFFER` (default: enabled) and `SHIELD_LOCAL_EVENT_LIMIT` (default: 123 events).
|
|
167
|
-
|
|
168
|
-
### Changed
|
|
169
|
-
- SKILL.md updated for ClawHub review — removed internal references, added event logs documentation.
|
|
170
|
-
- README.md updated with Local Event Buffer section and configuration reference.
|
|
171
|
-
|
|
172
|
-
---
|
|
173
|
-
|
|
174
|
-
## [0.4.1] — 2026-03-04
|
|
175
|
-
|
|
176
|
-
### Added
|
|
177
|
-
- Host agent/workspace inventory: scans agents on startup, persists to local vault.
|
|
178
|
-
- Cross-workspace access detection: enriches events when an agent accesses another agent's workspace.
|
|
179
|
-
- New token categories for redaction: `agent:HASH`, `workspace:HASH`.
|
|
180
|
-
- New CLI command: `openclaw shield vault show` — displays host agent inventory with hashed IDs.
|
|
181
|
-
|
|
182
|
-
### Changed
|
|
183
|
-
- README: updated redaction explanation with full token category list.
|
|
184
|
-
- PUBLISHING.md: added audience rule and token dictionary rule for public docs.
|
|
185
|
-
|
|
186
|
-
---
|
|
187
|
-
|
|
188
|
-
## [0.4.7] — 2026-03-04
|
|
189
|
-
|
|
190
|
-
### Added
|
|
191
|
-
- Local event buffer — rolling store of recently sent events for offline inspection and debugging.
|
|
192
|
-
- `openclaw shield logs` CLI command with `--last`, `--type`, `--since`, and `--format` options.
|
|
193
|
-
- `shield.events_recent` and `shield.events_summary` RPCs now return local data (previously required platform API).
|
|
194
|
-
- Configurable via `SHIELD_LOCAL_EVENT_BUFFER` (default: enabled) and `SHIELD_LOCAL_EVENT_LIMIT` (default: 123 events).
|
|
195
|
-
|
|
196
|
-
### Changed
|
|
197
|
-
- SKILL.md updated for ClawHub review — removed internal references, added event logs documentation.
|
|
198
|
-
- README.md updated with Local Event Buffer section and configuration reference.
|
|
199
|
-
|
|
200
|
-
---
|
|
201
|
-
|
|
202
|
-
## [0.4.0] — 2026-03-03
|
|
203
|
-
|
|
204
|
-
### Added
|
|
205
|
-
- **Auto-update**: plugin checks for updates on gateway restart and every 6 hours. Patch and minor versions install automatically with backup and rollback safety. Major versions notify only. Default: enabled.
|
|
206
|
-
- **Chained command detection**: exec events parse shell chains (`&&`, `||`, `;`) to detect destructive commands regardless of position.
|
|
207
|
-
- Startup update check with explicit logging.
|
|
208
|
-
- Tarball shasum preserved in openclaw.json after self-update.
|
|
209
|
-
- Plugin metadata sync prevents OpenClaw core updates from removing the plugin.
|
|
44
|
+
- Auto-update no longer kills bridge when gateway restart fails — continues running with old version in memory.
|
|
45
|
+
- Stale PID detection in `shield status` — warns when daemon PID is no longer running.
|
|
46
|
+
- OpenClaw version detection: replaced hardcoded macOS paths with platform-independent `require.resolve` + `execSync` fallback.
|
|
47
|
+
- HMAC signing in RPC client aligned with sender format (`fingerprint:nonce`).
|
|
210
48
|
|
|
211
49
|
### Changed
|
|
212
50
|
- Installation instructions rewritten: three options (Quick Install, Agent Configure, Agent Full) with command reference table and agent refusal guidance.
|
|
@@ -214,386 +52,30 @@ All notable changes to this project will be documented in this file.
|
|
|
214
52
|
|
|
215
53
|
---
|
|
216
54
|
|
|
217
|
-
## [0.4.7] — 2026-03-04
|
|
218
|
-
|
|
219
|
-
### Added
|
|
220
|
-
- Local event buffer — rolling store of recently sent events for offline inspection and debugging.
|
|
221
|
-
- `openclaw shield logs` CLI command with `--last`, `--type`, `--since`, and `--format` options.
|
|
222
|
-
- `shield.events_recent` and `shield.events_summary` RPCs now return local data (previously required platform API).
|
|
223
|
-
- Configurable via `SHIELD_LOCAL_EVENT_BUFFER` (default: enabled) and `SHIELD_LOCAL_EVENT_LIMIT` (default: 123 events).
|
|
224
|
-
|
|
225
|
-
### Changed
|
|
226
|
-
- SKILL.md updated for ClawHub review — removed internal references, added event logs documentation.
|
|
227
|
-
- README.md updated with Local Event Buffer section and configuration reference.
|
|
228
|
-
|
|
229
|
-
---
|
|
230
|
-
|
|
231
55
|
## [0.3.29] — 2026-03-03
|
|
232
56
|
|
|
233
|
-
|
|
234
|
-
- README installation section fully rewritten: three clear options (Quick Install, Agent Configure, Agent Full), command reference table, concern table, manual steps. Progressive disclosure — simplest path first.
|
|
235
|
-
|
|
236
|
-
---
|
|
237
|
-
|
|
238
|
-
## [0.4.7] — 2026-03-04
|
|
239
|
-
|
|
240
|
-
### Added
|
|
241
|
-
- Local event buffer — rolling store of recently sent events for offline inspection and debugging.
|
|
242
|
-
- `openclaw shield logs` CLI command with `--last`, `--type`, `--since`, and `--format` options.
|
|
243
|
-
- `shield.events_recent` and `shield.events_summary` RPCs now return local data (previously required platform API).
|
|
244
|
-
- Configurable via `SHIELD_LOCAL_EVENT_BUFFER` (default: enabled) and `SHIELD_LOCAL_EVENT_LIMIT` (default: 123 events).
|
|
245
|
-
|
|
246
|
-
### Changed
|
|
247
|
-
- SKILL.md updated for ClawHub review — removed internal references, added event logs documentation.
|
|
248
|
-
- README.md updated with Local Event Buffer section and configuration reference.
|
|
249
|
-
|
|
250
|
-
---
|
|
251
|
-
|
|
252
|
-
## [0.3.28] — 2026-03-03
|
|
253
|
-
|
|
254
|
-
### Added
|
|
255
|
-
- Commands reference table in README (install, activate, status, flush, update).
|
|
256
|
-
- Quick Install section for terminal-based setup (no agent needed).
|
|
257
|
-
|
|
258
|
-
---
|
|
259
|
-
|
|
260
|
-
## [0.4.7] — 2026-03-04
|
|
261
|
-
|
|
262
|
-
### Added
|
|
263
|
-
- Local event buffer — rolling store of recently sent events for offline inspection and debugging.
|
|
264
|
-
- `openclaw shield logs` CLI command with `--last`, `--type`, `--since`, and `--format` options.
|
|
265
|
-
- `shield.events_recent` and `shield.events_summary` RPCs now return local data (previously required platform API).
|
|
266
|
-
- Configurable via `SHIELD_LOCAL_EVENT_BUFFER` (default: enabled) and `SHIELD_LOCAL_EVENT_LIMIT` (default: 123 events).
|
|
267
|
-
|
|
268
|
-
### Changed
|
|
269
|
-
- SKILL.md updated for ClawHub review — removed internal references, added event logs documentation.
|
|
270
|
-
- README.md updated with Local Event Buffer section and configuration reference.
|
|
271
|
-
|
|
272
|
-
---
|
|
273
|
-
|
|
274
|
-
## [0.3.27] — 2026-03-03
|
|
275
|
-
|
|
276
|
-
### Changed
|
|
277
|
-
- Install prompt now directs agents to read the npm README before installing, so they find the security guidance table themselves.
|
|
278
|
-
|
|
279
|
-
---
|
|
280
|
-
|
|
281
|
-
## [0.4.7] — 2026-03-04
|
|
282
|
-
|
|
283
|
-
### Added
|
|
284
|
-
- Local event buffer — rolling store of recently sent events for offline inspection and debugging.
|
|
285
|
-
- `openclaw shield logs` CLI command with `--last`, `--type`, `--since`, and `--format` options.
|
|
286
|
-
- `shield.events_recent` and `shield.events_summary` RPCs now return local data (previously required platform API).
|
|
287
|
-
- Configurable via `SHIELD_LOCAL_EVENT_BUFFER` (default: enabled) and `SHIELD_LOCAL_EVENT_LIMIT` (default: 123 events).
|
|
288
|
-
|
|
289
|
-
### Changed
|
|
290
|
-
- SKILL.md updated for ClawHub review — removed internal references, added event logs documentation.
|
|
291
|
-
- README.md updated with Local Event Buffer section and configuration reference.
|
|
292
|
-
|
|
293
|
-
---
|
|
294
|
-
|
|
295
|
-
## [0.3.26] — 2026-03-03
|
|
296
|
-
|
|
297
|
-
### Changed
|
|
298
|
-
- README: added agent refusal guidance with explicit trust confirmation prompt and concern-by-concern explanation table.
|
|
299
|
-
|
|
300
|
-
---
|
|
301
|
-
|
|
302
|
-
## [0.4.7] — 2026-03-04
|
|
303
|
-
|
|
304
|
-
### Added
|
|
305
|
-
- Local event buffer — rolling store of recently sent events for offline inspection and debugging.
|
|
306
|
-
- `openclaw shield logs` CLI command with `--last`, `--type`, `--since`, and `--format` options.
|
|
307
|
-
- `shield.events_recent` and `shield.events_summary` RPCs now return local data (previously required platform API).
|
|
308
|
-
- Configurable via `SHIELD_LOCAL_EVENT_BUFFER` (default: enabled) and `SHIELD_LOCAL_EVENT_LIMIT` (default: 123 events).
|
|
309
|
-
|
|
310
|
-
### Changed
|
|
311
|
-
- SKILL.md updated for ClawHub review — removed internal references, added event logs documentation.
|
|
312
|
-
- README.md updated with Local Event Buffer section and configuration reference.
|
|
313
|
-
|
|
314
|
-
---
|
|
315
|
-
|
|
316
|
-
## [0.3.25] — 2026-03-03
|
|
317
|
-
|
|
318
|
-
### Changed
|
|
319
|
-
- Quick Start prompt rewritten: clarifies user registered at uss.upx.com, uses openclaw plugins install command, explains redaction model, addresses common agent security refusals.
|
|
320
|
-
|
|
321
|
-
---
|
|
322
|
-
|
|
323
|
-
## [0.4.7] — 2026-03-04
|
|
324
|
-
|
|
325
|
-
### Added
|
|
326
|
-
- Local event buffer — rolling store of recently sent events for offline inspection and debugging.
|
|
327
|
-
- `openclaw shield logs` CLI command with `--last`, `--type`, `--since`, and `--format` options.
|
|
328
|
-
- `shield.events_recent` and `shield.events_summary` RPCs now return local data (previously required platform API).
|
|
329
|
-
- Configurable via `SHIELD_LOCAL_EVENT_BUFFER` (default: enabled) and `SHIELD_LOCAL_EVENT_LIMIT` (default: 123 events).
|
|
330
|
-
|
|
331
|
-
### Changed
|
|
332
|
-
- SKILL.md updated for ClawHub review — removed internal references, added event logs documentation.
|
|
333
|
-
- README.md updated with Local Event Buffer section and configuration reference.
|
|
334
|
-
|
|
335
|
-
---
|
|
336
|
-
|
|
337
|
-
## [0.3.24] — 2026-03-03
|
|
338
|
-
|
|
339
|
-
### Fixed
|
|
340
|
-
- Auto-update now computes and preserves tarball shasum in openclaw.json metadata after self-update.
|
|
341
|
-
|
|
342
|
-
### Changed
|
|
343
|
-
- Quick Start prompt expanded to address agent security concerns (external data sending, installation key purpose, npm scope trust).
|
|
344
|
-
|
|
345
|
-
---
|
|
346
|
-
|
|
347
|
-
## [0.4.7] — 2026-03-04
|
|
348
|
-
|
|
349
|
-
### Added
|
|
350
|
-
- Local event buffer — rolling store of recently sent events for offline inspection and debugging.
|
|
351
|
-
- `openclaw shield logs` CLI command with `--last`, `--type`, `--since`, and `--format` options.
|
|
352
|
-
- `shield.events_recent` and `shield.events_summary` RPCs now return local data (previously required platform API).
|
|
353
|
-
- Configurable via `SHIELD_LOCAL_EVENT_BUFFER` (default: enabled) and `SHIELD_LOCAL_EVENT_LIMIT` (default: 123 events).
|
|
354
|
-
|
|
355
|
-
### Changed
|
|
356
|
-
- SKILL.md updated for ClawHub review — removed internal references, added event logs documentation.
|
|
357
|
-
- README.md updated with Local Event Buffer section and configuration reference.
|
|
358
|
-
|
|
359
|
-
---
|
|
360
|
-
|
|
361
|
-
## [0.3.23] — 2026-03-03
|
|
362
|
-
|
|
363
|
-
### Changed
|
|
364
|
-
- Quick Start prompt simplified.
|
|
365
|
-
|
|
366
|
-
---
|
|
367
|
-
|
|
368
|
-
## [0.4.7] — 2026-03-04
|
|
369
|
-
|
|
370
|
-
### Added
|
|
371
|
-
- Local event buffer — rolling store of recently sent events for offline inspection and debugging.
|
|
372
|
-
- `openclaw shield logs` CLI command with `--last`, `--type`, `--since`, and `--format` options.
|
|
373
|
-
- `shield.events_recent` and `shield.events_summary` RPCs now return local data (previously required platform API).
|
|
374
|
-
- Configurable via `SHIELD_LOCAL_EVENT_BUFFER` (default: enabled) and `SHIELD_LOCAL_EVENT_LIMIT` (default: 123 events).
|
|
375
|
-
|
|
376
|
-
### Changed
|
|
377
|
-
- SKILL.md updated for ClawHub review — removed internal references, added event logs documentation.
|
|
378
|
-
- README.md updated with Local Event Buffer section and configuration reference.
|
|
379
|
-
|
|
380
|
-
---
|
|
381
|
-
|
|
382
|
-
## [0.3.22] — 2026-03-03
|
|
383
|
-
|
|
384
|
-
### Fixed
|
|
385
|
-
- Auto-update now syncs `plugins.installs.shield` metadata in `openclaw.json` after self-updating. Prevents OpenClaw core updates from removing the plugin due to version/integrity mismatch.
|
|
386
|
-
|
|
387
|
-
---
|
|
388
|
-
|
|
389
|
-
## [0.4.7] — 2026-03-04
|
|
390
|
-
|
|
391
|
-
### Added
|
|
392
|
-
- Local event buffer — rolling store of recently sent events for offline inspection and debugging.
|
|
393
|
-
- `openclaw shield logs` CLI command with `--last`, `--type`, `--since`, and `--format` options.
|
|
394
|
-
- `shield.events_recent` and `shield.events_summary` RPCs now return local data (previously required platform API).
|
|
395
|
-
- Configurable via `SHIELD_LOCAL_EVENT_BUFFER` (default: enabled) and `SHIELD_LOCAL_EVENT_LIMIT` (default: 123 events).
|
|
396
|
-
|
|
397
|
-
### Changed
|
|
398
|
-
- SKILL.md updated for ClawHub review — removed internal references, added event logs documentation.
|
|
399
|
-
- README.md updated with Local Event Buffer section and configuration reference.
|
|
400
|
-
|
|
401
|
-
---
|
|
402
|
-
|
|
403
|
-
## [0.3.21] — 2026-03-03
|
|
404
|
-
|
|
405
|
-
### Fixed
|
|
406
|
-
- Auto-update now wired into the plugin entry point (the file OpenClaw actually loads). Previously only connected to the standalone bridge CLI.
|
|
407
|
-
|
|
408
|
-
---
|
|
409
|
-
|
|
410
|
-
## [0.4.7] — 2026-03-04
|
|
411
|
-
|
|
412
|
-
### Added
|
|
413
|
-
- Local event buffer — rolling store of recently sent events for offline inspection and debugging.
|
|
414
|
-
- `openclaw shield logs` CLI command with `--last`, `--type`, `--since`, and `--format` options.
|
|
415
|
-
- `shield.events_recent` and `shield.events_summary` RPCs now return local data (previously required platform API).
|
|
416
|
-
- Configurable via `SHIELD_LOCAL_EVENT_BUFFER` (default: enabled) and `SHIELD_LOCAL_EVENT_LIMIT` (default: 123 events).
|
|
417
|
-
|
|
418
|
-
### Changed
|
|
419
|
-
- SKILL.md updated for ClawHub review — removed internal references, added event logs documentation.
|
|
420
|
-
- README.md updated with Local Event Buffer section and configuration reference.
|
|
421
|
-
|
|
422
|
-
---
|
|
423
|
-
|
|
424
|
-
## [0.3.20] — 2026-03-03
|
|
425
|
-
|
|
426
|
-
### Added
|
|
427
|
-
- Update check on gateway startup — no longer need to wait for the 6-hour cycle.
|
|
428
|
-
- Explicit startup log: `Startup update check (autoUpdate=..., current=...)` and `Up to date` confirmation.
|
|
429
|
-
|
|
430
|
-
### Changed
|
|
431
|
-
- CHANGELOG.md now bundled with the npm package.
|
|
432
|
-
- No GitHub links in public docs.
|
|
433
|
-
|
|
434
|
-
---
|
|
435
|
-
|
|
436
|
-
## [0.4.7] — 2026-03-04
|
|
437
|
-
|
|
438
|
-
### Added
|
|
439
|
-
- Local event buffer — rolling store of recently sent events for offline inspection and debugging.
|
|
440
|
-
- `openclaw shield logs` CLI command with `--last`, `--type`, `--since`, and `--format` options.
|
|
441
|
-
- `shield.events_recent` and `shield.events_summary` RPCs now return local data (previously required platform API).
|
|
442
|
-
- Configurable via `SHIELD_LOCAL_EVENT_BUFFER` (default: enabled) and `SHIELD_LOCAL_EVENT_LIMIT` (default: 123 events).
|
|
443
|
-
|
|
444
|
-
### Changed
|
|
445
|
-
- SKILL.md updated for ClawHub review — removed internal references, added event logs documentation.
|
|
446
|
-
- README.md updated with Local Event Buffer section and configuration reference.
|
|
447
|
-
|
|
448
|
-
---
|
|
449
|
-
|
|
450
|
-
## [0.3.19] — 2026-03-03
|
|
451
|
-
|
|
452
|
-
### Changed
|
|
453
|
-
- Changelog FAQ now links to public GitHub CHANGELOG.
|
|
454
|
-
|
|
455
|
-
---
|
|
456
|
-
|
|
457
|
-
## [0.4.7] — 2026-03-04
|
|
458
|
-
|
|
459
|
-
### Added
|
|
460
|
-
- Local event buffer — rolling store of recently sent events for offline inspection and debugging.
|
|
461
|
-
- `openclaw shield logs` CLI command with `--last`, `--type`, `--since`, and `--format` options.
|
|
462
|
-
- `shield.events_recent` and `shield.events_summary` RPCs now return local data (previously required platform API).
|
|
463
|
-
- Configurable via `SHIELD_LOCAL_EVENT_BUFFER` (default: enabled) and `SHIELD_LOCAL_EVENT_LIMIT` (default: 123 events).
|
|
464
|
-
|
|
465
|
-
### Changed
|
|
466
|
-
- SKILL.md updated for ClawHub review — removed internal references, added event logs documentation.
|
|
467
|
-
- README.md updated with Local Event Buffer section and configuration reference.
|
|
468
|
-
|
|
469
|
-
---
|
|
470
|
-
|
|
471
|
-
## [0.3.18] — 2026-03-03
|
|
472
|
-
|
|
473
|
-
### Added
|
|
474
|
-
- **Auto-update**: Shield checks for newer versions and installs them automatically. Patch and minor versions are installed with backup and rollback safety. Major versions notify only. Configure via `autoUpdate` in plugin config (`true` | `false` | `"notify-only"`). Default: `true`.
|
|
475
|
-
|
|
476
|
-
---
|
|
477
|
-
|
|
478
|
-
## [0.4.7] — 2026-03-04
|
|
479
|
-
|
|
480
|
-
### Added
|
|
481
|
-
- Local event buffer — rolling store of recently sent events for offline inspection and debugging.
|
|
482
|
-
- `openclaw shield logs` CLI command with `--last`, `--type`, `--since`, and `--format` options.
|
|
483
|
-
- `shield.events_recent` and `shield.events_summary` RPCs now return local data (previously required platform API).
|
|
484
|
-
- Configurable via `SHIELD_LOCAL_EVENT_BUFFER` (default: enabled) and `SHIELD_LOCAL_EVENT_LIMIT` (default: 123 events).
|
|
485
|
-
|
|
486
|
-
### Changed
|
|
487
|
-
- SKILL.md updated for ClawHub review — removed internal references, added event logs documentation.
|
|
488
|
-
- README.md updated with Local Event Buffer section and configuration reference.
|
|
489
|
-
|
|
490
|
-
---
|
|
491
|
-
|
|
492
|
-
## [0.3.17] — 2026-03-02
|
|
493
|
-
|
|
494
|
-
### Added
|
|
495
|
-
- **Chained command detection**: exec events now parse chained commands (`&&`, `||`, `;`) to extract all commands in a chain. New metadata fields: `cmd_all_root_commands`, `cmd_is_chained`, `cmd_chain_count`.
|
|
496
|
-
|
|
497
|
-
### Fixed
|
|
498
|
-
- Detection rules can now match destructive commands embedded after chain operators (e.g. `mkdir /tmp && rm -rf /path`).
|
|
499
|
-
|
|
500
|
-
---
|
|
501
|
-
|
|
502
|
-
## [0.4.7] — 2026-03-04
|
|
503
|
-
|
|
504
|
-
### Added
|
|
505
|
-
- Local event buffer — rolling store of recently sent events for offline inspection and debugging.
|
|
506
|
-
- `openclaw shield logs` CLI command with `--last`, `--type`, `--since`, and `--format` options.
|
|
507
|
-
- `shield.events_recent` and `shield.events_summary` RPCs now return local data (previously required platform API).
|
|
508
|
-
- Configurable via `SHIELD_LOCAL_EVENT_BUFFER` (default: enabled) and `SHIELD_LOCAL_EVENT_LIMIT` (default: 123 events).
|
|
509
|
-
|
|
510
|
-
### Changed
|
|
511
|
-
- SKILL.md updated for ClawHub review — removed internal references, added event logs documentation.
|
|
512
|
-
- README.md updated with Local Event Buffer section and configuration reference.
|
|
513
|
-
|
|
514
|
-
---
|
|
515
|
-
|
|
516
|
-
## [0.3.16] — 2026-02-27
|
|
517
|
-
|
|
518
|
-
### Changed
|
|
519
|
-
- Quick Start: single intent-based prompt for installation.
|
|
520
|
-
|
|
521
|
-
---
|
|
522
|
-
|
|
523
|
-
## [0.4.7] — 2026-03-04
|
|
524
|
-
|
|
525
|
-
### Added
|
|
526
|
-
- Local event buffer — rolling store of recently sent events for offline inspection and debugging.
|
|
527
|
-
- `openclaw shield logs` CLI command with `--last`, `--type`, `--since`, and `--format` options.
|
|
528
|
-
- `shield.events_recent` and `shield.events_summary` RPCs now return local data (previously required platform API).
|
|
529
|
-
- Configurable via `SHIELD_LOCAL_EVENT_BUFFER` (default: enabled) and `SHIELD_LOCAL_EVENT_LIMIT` (default: 123 events).
|
|
530
|
-
|
|
531
|
-
### Changed
|
|
532
|
-
- SKILL.md updated for ClawHub review — removed internal references, added event logs documentation.
|
|
533
|
-
- README.md updated with Local Event Buffer section and configuration reference.
|
|
534
|
-
|
|
535
|
-
---
|
|
536
|
-
|
|
537
|
-
## [0.3.6] — 2026-02-26
|
|
57
|
+
Consolidated from 0.3.0–0.3.28.
|
|
538
58
|
|
|
539
59
|
### Added
|
|
60
|
+
- **Auto-update** — Shield checks for newer versions and installs them automatically. Patch and minor versions install with backup and rollback safety. Major versions notify only. Configure via `autoUpdate` in plugin config.
|
|
61
|
+
- **Chained command detection** — exec events parse chained commands (`&&`, `||`, `;`) to extract all commands in a chain.
|
|
540
62
|
- Public IP and instance name included in telemetry for geo-enrichment and display.
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
## [0.4.7] — 2026-03-04
|
|
545
|
-
|
|
546
|
-
### Added
|
|
547
|
-
- Local event buffer — rolling store of recently sent events for offline inspection and debugging.
|
|
548
|
-
- `openclaw shield logs` CLI command with `--last`, `--type`, `--since`, and `--format` options.
|
|
549
|
-
- `shield.events_recent` and `shield.events_summary` RPCs now return local data (previously required platform API).
|
|
550
|
-
- Configurable via `SHIELD_LOCAL_EVENT_BUFFER` (default: enabled) and `SHIELD_LOCAL_EVENT_LIMIT` (default: 123 events).
|
|
551
|
-
|
|
552
|
-
### Changed
|
|
553
|
-
- SKILL.md updated for ClawHub review — removed internal references, added event logs documentation.
|
|
554
|
-
- README.md updated with Local Event Buffer section and configuration reference.
|
|
555
|
-
|
|
556
|
-
---
|
|
557
|
-
|
|
558
|
-
## [0.3.5] — 2026-02-26
|
|
63
|
+
- Update check on gateway startup — no longer need to wait for the 6-hour cycle.
|
|
64
|
+
- Commands reference table in README.
|
|
65
|
+
- Quick Install section for terminal-based setup (no agent needed).
|
|
559
66
|
|
|
560
67
|
### Fixed
|
|
561
68
|
- Plugin no longer deactivates on transient registration failures at startup. Retries up to 10 times before exiting.
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
### Added
|
|
568
|
-
- Local event buffer — rolling store of recently sent events for offline inspection and debugging.
|
|
569
|
-
- `openclaw shield logs` CLI command with `--last`, `--type`, `--since`, and `--format` options.
|
|
570
|
-
- `shield.events_recent` and `shield.events_summary` RPCs now return local data (previously required platform API).
|
|
571
|
-
- Configurable via `SHIELD_LOCAL_EVENT_BUFFER` (default: enabled) and `SHIELD_LOCAL_EVENT_LIMIT` (default: 123 events).
|
|
69
|
+
- Auto-update now wired into the plugin entry point (the file OpenClaw actually loads).
|
|
70
|
+
- Auto-update now syncs `plugins.installs.shield` metadata in `openclaw.json` after self-updating — prevents OpenClaw core updates from removing the plugin.
|
|
71
|
+
- Auto-update now computes and preserves tarball shasum in `openclaw.json` metadata after self-update.
|
|
72
|
+
- Detection rules can now match destructive commands embedded after chain operators.
|
|
572
73
|
|
|
573
74
|
### Changed
|
|
574
|
-
-
|
|
575
|
-
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
## [0.3.4] — 2026-02-26
|
|
580
|
-
|
|
581
|
-
### Changed
|
|
582
|
-
- Documentation improvements.
|
|
583
|
-
|
|
584
|
-
---
|
|
585
|
-
|
|
586
|
-
## [0.4.7] — 2026-03-04
|
|
587
|
-
|
|
588
|
-
### Added
|
|
589
|
-
- Local event buffer — rolling store of recently sent events for offline inspection and debugging.
|
|
590
|
-
- `openclaw shield logs` CLI command with `--last`, `--type`, `--since`, and `--format` options.
|
|
591
|
-
- `shield.events_recent` and `shield.events_summary` RPCs now return local data (previously required platform API).
|
|
592
|
-
- Configurable via `SHIELD_LOCAL_EVENT_BUFFER` (default: enabled) and `SHIELD_LOCAL_EVENT_LIMIT` (default: 123 events).
|
|
593
|
-
|
|
594
|
-
### Changed
|
|
595
|
-
- SKILL.md updated for ClawHub review — removed internal references, added event logs documentation.
|
|
596
|
-
- README.md updated with Local Event Buffer section and configuration reference.
|
|
75
|
+
- README installation section fully rewritten: three clear options (Quick Install, Agent Configure, Agent Full), command reference table, concern table, manual steps.
|
|
76
|
+
- Agent refusal guidance added with explicit trust confirmation prompt and concern-by-concern explanation table.
|
|
77
|
+
- Quick Start prompt rewritten to address agent security concerns (redaction model, npm scope trust, installation key purpose).
|
|
78
|
+
- CHANGELOG.md now bundled with the npm package.
|
|
597
79
|
|
|
598
80
|
---
|
|
599
81
|
|