@stylusnexus/agentarmor-ml 0.1.1 → 0.1.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.
Files changed (2) hide show
  1. package/README.md +7 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -3,7 +3,13 @@
3
3
  [![npm version](https://img.shields.io/npm/v/@stylusnexus/agentarmor-ml.svg)](https://www.npmjs.com/package/@stylusnexus/agentarmor-ml)
4
4
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
5
5
 
6
- ML classifier add-on for [Agent Armor](https://github.com/stylusnexus/agent-armor). Runs a DeBERTa-v3-small ONNX model locally for deeper agent trap detection that catches threats regex patterns might miss.
6
+ ML classifier add-on for [Agent Armor](https://github.com/stylusnexus/agent-armor). Runs a DeBERTa-v3-small ONNX model locally for deeper agent trap detection that catches threats regex patterns miss.
7
+
8
+ ## Why Use the ML Classifier?
9
+
10
+ Regex-based detection handles the obvious attacks: hidden HTML instructions, known jailbreak patterns, blatant exfiltration triggers. But sophisticated attacks use natural language to manipulate agent behavior through biased framing, subtle persona shifts, or contextual learning traps. These don't have a regex signature.
11
+
12
+ The ML classifier catches what patterns can't. It's trained on the full [AI Agent Traps](https://arxiv.org/abs/2506.01559) taxonomy, runs locally (no API calls, no data leaves your machine), and adds meaningful detection coverage on the semantic manipulation categories where regex falls short.
7
13
 
8
14
  ## Install
9
15
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stylusnexus/agentarmor-ml",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "ML classifier add-on for Agent Armor. Downloads and runs a DeBERTa-v3-small ONNX model for agent trap detection.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",