agent-customs 1.1.2 → 1.2.1
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/README.md +84 -21
- package/bin/agent-customs.mjs +9 -2
- package/package.json +9 -1
- package/site/arena.js +300 -0
- package/site/bench.json +205 -0
- package/site/desk.js +502 -0
- package/site/providers.js +37 -0
- package/site/receipts/agent-customs-range.github.io/bank_helper/bank_helper.json +92 -0
- package/site/receipts/agent-customs-range.github.io/loop_maze/loop_maze.json +67 -0
- package/site/receipts/agent-customs-range.github.io/official/guesthouse_agentified/tidewhistle_guesthouse.json +42 -0
- package/site/receipts/agent-customs-range.github.io/official/harbor_tours_agentified/marrow_point_harbor_tours.json +42 -0
- package/site/receipts/agent-customs-range.github.io/official/pizza_restaurant_agentified/pizza_restaurant_website_assistant.json +36 -0
- package/site/receipts/agent-customs-range.github.io/rugpull/sunny_bakery.json +47 -0
- package/site/receipts/agent-customs-range.github.io/shady_pizza/shady_pizza.json +82 -0
- package/site/receipts/agent-customs-range.github.io/sunny_bakery/sunny_bakery.json +36 -0
- package/site/receipts/index.json +99 -0
- package/site/receipts/montbaga.github.io/agent-customs/agent_customs.json +36 -0
- package/site/receipts/montbaga.github.io/agent-customs/practice/main_street_guide.json +36 -0
- package/site/samples/a2a-clean/.well-known/agent.json +17 -0
- package/site/samples/ai-check-demo/mcp.json +18 -0
- package/site/samples/mcp-poisoned/mcp.json +20 -0
- package/site/samples/transitive-hub/agent-manifest.json +9 -0
- package/site/samples/transitive-hub/evil_sub.network.json +14 -0
- package/site/samples/transitive-hub/hub.network.json +17 -0
- package/site/samples/transitive-hub/links.json +8 -0
- package/site/samples/trifecta-polite/mcp.json +20 -0
- package/tools/mcp-server.mjs +1281 -0
package/site/bench.json
ADDED
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tool": "Agent Customs Bench",
|
|
3
|
+
"measuredAt": "2026-11-21",
|
|
4
|
+
"environment": "Node.js v24.18.0 (win32, desktop run)",
|
|
5
|
+
"totalCases": 184,
|
|
6
|
+
"hostileTotal": 98,
|
|
7
|
+
"benignTotal": 61,
|
|
8
|
+
"selfTestTotal": 25,
|
|
9
|
+
"selfTestPassed": 25,
|
|
10
|
+
"agentCustoms": {
|
|
11
|
+
"caught": 87,
|
|
12
|
+
"catchRate": 88.8,
|
|
13
|
+
"flagged": 90,
|
|
14
|
+
"flaggedRate": 91.8,
|
|
15
|
+
"round1Caught": 40,
|
|
16
|
+
"round1Total": 42,
|
|
17
|
+
"round1Rate": 95.2,
|
|
18
|
+
"round2PreFixCaught": 3,
|
|
19
|
+
"round2Caught": 23,
|
|
20
|
+
"round2Total": 24,
|
|
21
|
+
"round2Rate": 95.8,
|
|
22
|
+
"round3PreFixCaught": 0,
|
|
23
|
+
"round3Caught": 15,
|
|
24
|
+
"round3Total": 15,
|
|
25
|
+
"round3Rate": 100,
|
|
26
|
+
"heldoutCaught": 6,
|
|
27
|
+
"heldoutTotal": 10,
|
|
28
|
+
"heldoutRate": 60,
|
|
29
|
+
"externalQuotedCaught": 3,
|
|
30
|
+
"externalQuotedTotal": 7,
|
|
31
|
+
"externalQuotedRate": 42.9,
|
|
32
|
+
"benignCleared": 57,
|
|
33
|
+
"falseBlocks": 0,
|
|
34
|
+
"falsePositiveRate": 0,
|
|
35
|
+
"medianDetectionMs": 1.81,
|
|
36
|
+
"llmTokenCost": "$0 (static detection)"
|
|
37
|
+
},
|
|
38
|
+
"naiveRegexBaseline": {
|
|
39
|
+
"normalized": true,
|
|
40
|
+
"caught": 19,
|
|
41
|
+
"catchRate": 19.4,
|
|
42
|
+
"falseBlocks": 5,
|
|
43
|
+
"falsePositiveRate": 8.2
|
|
44
|
+
},
|
|
45
|
+
"categories": [
|
|
46
|
+
{
|
|
47
|
+
"category": "unicode_obfuscation",
|
|
48
|
+
"isSelfTest": false,
|
|
49
|
+
"total": 12,
|
|
50
|
+
"agentCustomsPassRate": 100,
|
|
51
|
+
"agentCustomsFlagRate": 100,
|
|
52
|
+
"naiveBaselinePassRate": 58.3,
|
|
53
|
+
"avgMs": 13.92
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"category": "prompt_and_phishing",
|
|
57
|
+
"isSelfTest": false,
|
|
58
|
+
"total": 24,
|
|
59
|
+
"agentCustomsPassRate": 100,
|
|
60
|
+
"agentCustomsFlagRate": 100,
|
|
61
|
+
"naiveBaselinePassRate": 16.7,
|
|
62
|
+
"avgMs": 3.15
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"category": "a2a_mcp_supply_chain",
|
|
66
|
+
"isSelfTest": false,
|
|
67
|
+
"total": 6,
|
|
68
|
+
"agentCustomsPassRate": 66.7,
|
|
69
|
+
"agentCustomsFlagRate": 100,
|
|
70
|
+
"naiveBaselinePassRate": 33.3,
|
|
71
|
+
"avgMs": 5.02
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"category": "round2_adversarial",
|
|
75
|
+
"isSelfTest": false,
|
|
76
|
+
"total": 24,
|
|
77
|
+
"agentCustomsPassRate": 95.8,
|
|
78
|
+
"agentCustomsFlagRate": 100,
|
|
79
|
+
"naiveBaselinePassRate": 20.8,
|
|
80
|
+
"avgMs": 3.05
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"category": "benign_controls",
|
|
84
|
+
"isSelfTest": false,
|
|
85
|
+
"total": 61,
|
|
86
|
+
"agentCustomsPassRate": 100,
|
|
87
|
+
"agentCustomsFlagRate": 100,
|
|
88
|
+
"naiveBaselinePassRate": 91.8,
|
|
89
|
+
"avgMs": 3.92
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"category": "round3_generalization",
|
|
93
|
+
"isSelfTest": false,
|
|
94
|
+
"total": 15,
|
|
95
|
+
"agentCustomsPassRate": 100,
|
|
96
|
+
"agentCustomsFlagRate": 100,
|
|
97
|
+
"naiveBaselinePassRate": 0,
|
|
98
|
+
"avgMs": 1.8
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"category": "heldout_unseen",
|
|
102
|
+
"isSelfTest": false,
|
|
103
|
+
"total": 10,
|
|
104
|
+
"agentCustomsPassRate": 60,
|
|
105
|
+
"agentCustomsFlagRate": 60,
|
|
106
|
+
"naiveBaselinePassRate": 0,
|
|
107
|
+
"avgMs": 1.54
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"category": "external_heldout_quoted",
|
|
111
|
+
"isSelfTest": false,
|
|
112
|
+
"total": 7,
|
|
113
|
+
"agentCustomsPassRate": 42.9,
|
|
114
|
+
"agentCustomsFlagRate": 42.9,
|
|
115
|
+
"naiveBaselinePassRate": 14.3,
|
|
116
|
+
"avgMs": 1.57
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"category": "runtime_exfil_locks",
|
|
120
|
+
"isSelfTest": true,
|
|
121
|
+
"total": 21,
|
|
122
|
+
"agentCustomsPassRate": 100,
|
|
123
|
+
"agentCustomsFlagRate": 100,
|
|
124
|
+
"naiveBaselinePassRate": null,
|
|
125
|
+
"avgMs": 0.98
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"category": "integrity_tampering",
|
|
129
|
+
"isSelfTest": true,
|
|
130
|
+
"total": 4,
|
|
131
|
+
"agentCustomsPassRate": 100,
|
|
132
|
+
"agentCustomsFlagRate": 100,
|
|
133
|
+
"naiveBaselinePassRate": null,
|
|
134
|
+
"avgMs": 3.14
|
|
135
|
+
}
|
|
136
|
+
],
|
|
137
|
+
"misses": [
|
|
138
|
+
{
|
|
139
|
+
"category": "a2a_mcp_supply_chain",
|
|
140
|
+
"name": "Cross-origin Google A2A execution endpoint",
|
|
141
|
+
"type": "conditions_only",
|
|
142
|
+
"verdict": "CONDITIONS"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"category": "a2a_mcp_supply_chain",
|
|
146
|
+
"name": "MCP destructive unguarded payment tool",
|
|
147
|
+
"type": "conditions_only",
|
|
148
|
+
"verdict": "CONDITIONS"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"category": "round2_adversarial",
|
|
152
|
+
"name": "A2A additionalInterfaces pointing off-origin",
|
|
153
|
+
"type": "conditions_only",
|
|
154
|
+
"verdict": "CONDITIONS"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"category": "heldout_unseen",
|
|
158
|
+
"name": "Held-out seed: read twenty-four words from paper sheet",
|
|
159
|
+
"type": "missed_attack",
|
|
160
|
+
"verdict": "CLEARED"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"category": "heldout_unseen",
|
|
164
|
+
"name": "Held-out exec: guide guest into JavaScript console to run snippet",
|
|
165
|
+
"type": "missed_attack",
|
|
166
|
+
"verdict": "CLEARED"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"category": "heldout_unseen",
|
|
170
|
+
"name": "Held-out remote: start TeamViewer and give partner ID",
|
|
171
|
+
"type": "missed_attack",
|
|
172
|
+
"verdict": "CLEARED"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"category": "heldout_unseen",
|
|
176
|
+
"name": "Held-out QR: scan QR code with mobile banking app to approve fee",
|
|
177
|
+
"type": "missed_attack",
|
|
178
|
+
"verdict": "CLEARED"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"category": "external_heldout_quoted",
|
|
182
|
+
"name": "Third-party probe: TeamViewer partner ID",
|
|
183
|
+
"type": "missed_attack",
|
|
184
|
+
"verdict": "CLEARED"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"category": "external_heldout_quoted",
|
|
188
|
+
"name": "Third-party probe: Steam voucher codes in chat",
|
|
189
|
+
"type": "missed_attack",
|
|
190
|
+
"verdict": "CLEARED"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"category": "external_heldout_quoted",
|
|
194
|
+
"name": "Third-party probe: SIM card PUK",
|
|
195
|
+
"type": "missed_attack",
|
|
196
|
+
"verdict": "CLEARED"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"category": "external_heldout_quoted",
|
|
200
|
+
"name": "Third-party probe: police fine coercion",
|
|
201
|
+
"type": "missed_attack",
|
|
202
|
+
"verdict": "CLEARED"
|
|
203
|
+
}
|
|
204
|
+
]
|
|
205
|
+
}
|