averecion-lite 1.4.2 → 1.4.3

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/dashboard/dash.js CHANGED
@@ -224,7 +224,10 @@
224
224
  if (legendAttack) legendAttack.textContent = metrics.kpis.promptInjectionDetected || 0;
225
225
 
226
226
  const globalStatus = document.getElementById("global-status");
227
- if (metrics.kpis.blocked > 5 || metrics.kpis.promptInjectionDetected > 0) {
227
+ if (metrics.kpis.promptInjectionDetected > 0) {
228
+ globalStatus.textContent = "🛡️ Attack Detected";
229
+ globalStatus.className = "status-badge warning";
230
+ } else if (metrics.kpis.dangerDetected > 0) {
228
231
  globalStatus.textContent = "⚠️ Needs Attention";
229
232
  globalStatus.className = "status-badge warning";
230
233
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "averecion-lite",
3
- "version": "1.4.2",
3
+ "version": "1.4.3",
4
4
  "description": "Real-time AI agent monitoring - watches logs, detects dangerous commands and prompt injection attempts",
5
5
  "author": "Averecion <hello@averecion.com>",
6
6
  "homepage": "https://github.com/averecion/clawguard#readme",