@upx-us/shield 0.6.1 → 0.6.2
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
CHANGED
|
@@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
+
## [0.6.2] — 2026-03-09
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
- **ANSI field prefix bug** — `ansi_content_detected` and `ansi_sequences` were emitted without the `openclaw.` namespace prefix in `tool-result/enrich.ts`. YARAL rules reference them as `additional.fields["openclaw.ansi_content_detected"]` and `additional.fields["openclaw.ansi_sequences"]`. Fields now correctly namespaced. Unblocks `openclaw_ansi_injection` detection rule.
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
7
14
|
## [0.6.1] — 2026-03-09
|
|
8
15
|
|
|
9
16
|
### Fixed
|
|
@@ -17,8 +17,8 @@ function buildToolResult(raw, ctx) {
|
|
|
17
17
|
};
|
|
18
18
|
const ansiMatches = resultText.match(/\x1b\[[0-9;]*[a-zA-Z]|\x1b\]|\x07|\x1b\(B/g);
|
|
19
19
|
if (ansiMatches && ansiMatches.length > 0) {
|
|
20
|
-
meta['ansi_content_detected'] = 'true';
|
|
21
|
-
meta['ansi_sequences'] = ansiMatches.slice(0, 10).map((s) => s.replace(/\x1b/g, 'ESC')).join(', ');
|
|
20
|
+
meta['openclaw.ansi_content_detected'] = 'true';
|
|
21
|
+
meta['openclaw.ansi_sequences'] = ansiMatches.slice(0, 10).map((s) => s.replace(/\x1b/g, 'ESC')).join(', ');
|
|
22
22
|
}
|
|
23
23
|
const event = {
|
|
24
24
|
timestamp: ctx.timestamp,
|
package/openclaw.plugin.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "shield",
|
|
3
3
|
"name": "OpenClaw Shield",
|
|
4
|
-
"description": "Real-time security monitoring
|
|
5
|
-
"version": "0.6.
|
|
4
|
+
"description": "Real-time security monitoring \u2014 streams enriched, redacted security events to the Shield detection platform.",
|
|
5
|
+
"version": "0.6.2",
|
|
6
6
|
"skills": [
|
|
7
7
|
"./skills"
|
|
8
8
|
],
|
|
@@ -81,4 +81,4 @@
|
|
|
81
81
|
"skillVersion": "1.0.2",
|
|
82
82
|
"note": "ClawHub auto-increments on publish. Update this after each clawhub submission."
|
|
83
83
|
}
|
|
84
|
-
}
|
|
84
|
+
}
|
package/package.json
CHANGED