@highflame/policy 2.2.23 → 2.2.25
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/_schemas/ai_gateway/context.json +144 -10
- package/_schemas/ai_gateway/templates/defaults/malicious_package.cedar +59 -0
- package/_schemas/ai_gateway/templates/templates.json +14 -0
- package/_schemas/guardrails/context.json +222 -86
- package/_schemas/overwatch/context.json +128 -33
- package/dist/ai_gateway-context.gen.d.ts +11 -1
- package/dist/ai_gateway-context.gen.js +20 -0
- package/dist/ai_gateway-defaults.gen.js +83 -0
- package/dist/ai_gateway-detectors.gen.js +24 -0
- package/dist/guardrails-context.gen.d.ts +5 -1
- package/dist/guardrails-context.gen.js +8 -0
- package/dist/guardrails-detectors.gen.js +5 -1
- package/dist/overwatch-context.gen.d.ts +11 -1
- package/dist/overwatch-context.gen.js +20 -0
- package/dist/overwatch-defaults.gen.d.ts +1 -1
- package/dist/overwatch-defaults.gen.js +93 -0
- package/dist/overwatch-detectors.gen.js +24 -0
- package/dist/service-schemas.gen.js +40 -2
- package/package.json +1 -1
|
@@ -65,37 +65,43 @@
|
|
|
65
65
|
"key": "injection_score",
|
|
66
66
|
"type": "number",
|
|
67
67
|
"required": false,
|
|
68
|
-
"description": "Combined prompt injection confidence (0-100). MAX of all detector scores (Pulse + DeepContext). Use injection_pulse_score / injection_deep_context_score for individual detector control"
|
|
68
|
+
"description": "Combined prompt injection confidence (0-100). MAX of all detector scores (Pulse + DeepContext). Use injection_pulse_score / injection_deep_context_score for individual detector control",
|
|
69
|
+
"range": "0-100"
|
|
69
70
|
},
|
|
70
71
|
{
|
|
71
72
|
"key": "jailbreak_score",
|
|
72
73
|
"type": "number",
|
|
73
74
|
"required": false,
|
|
74
|
-
"description": "Combined jailbreak detection confidence (0-100). MAX of all detector scores (Pulse + DeepContext). Use jailbreak_pulse_score / jailbreak_deep_context_score for individual detector control"
|
|
75
|
+
"description": "Combined jailbreak detection confidence (0-100). MAX of all detector scores (Pulse + DeepContext). Use jailbreak_pulse_score / jailbreak_deep_context_score for individual detector control",
|
|
76
|
+
"range": "0-100"
|
|
75
77
|
},
|
|
76
78
|
{
|
|
77
79
|
"key": "injection_pulse_score",
|
|
78
80
|
"type": "number",
|
|
79
81
|
"required": false,
|
|
80
|
-
"description": "Highflame single-turn classifier score for prompt injection (0-100). Raw score from Pulse detector before combination with deep-context. Use for per-detector policy control"
|
|
82
|
+
"description": "Highflame single-turn classifier score for prompt injection (0-100). Raw score from Pulse detector before combination with deep-context. Use for per-detector policy control",
|
|
83
|
+
"range": "0-100"
|
|
81
84
|
},
|
|
82
85
|
{
|
|
83
86
|
"key": "injection_deep_context_score",
|
|
84
87
|
"type": "number",
|
|
85
88
|
"required": false,
|
|
86
|
-
"description": "DeepContext multi-turn analyzer score for prompt injection (0-100). Tracks injection patterns across conversation history. Generally higher confidence than single-turn"
|
|
89
|
+
"description": "DeepContext multi-turn analyzer score for prompt injection (0-100). Tracks injection patterns across conversation history. Generally higher confidence than single-turn",
|
|
90
|
+
"range": "0-100"
|
|
87
91
|
},
|
|
88
92
|
{
|
|
89
93
|
"key": "jailbreak_pulse_score",
|
|
90
94
|
"type": "number",
|
|
91
95
|
"required": false,
|
|
92
|
-
"description": "Highflame single-turn classifier score for jailbreak attempts (0-100). Raw score from Pulse detector before combination with deep-context"
|
|
96
|
+
"description": "Highflame single-turn classifier score for jailbreak attempts (0-100). Raw score from Pulse detector before combination with deep-context",
|
|
97
|
+
"range": "0-100"
|
|
93
98
|
},
|
|
94
99
|
{
|
|
95
100
|
"key": "jailbreak_deep_context_score",
|
|
96
101
|
"type": "number",
|
|
97
102
|
"required": false,
|
|
98
|
-
"description": "DeepContext multi-turn analyzer score for jailbreak attempts (0-100). Detects jailbreak escalation patterns across conversation turns"
|
|
103
|
+
"description": "DeepContext multi-turn analyzer score for jailbreak attempts (0-100). Detects jailbreak escalation patterns across conversation turns",
|
|
104
|
+
"range": "0-100"
|
|
99
105
|
},
|
|
100
106
|
{
|
|
101
107
|
"key": "injection_type",
|
|
@@ -143,7 +149,8 @@
|
|
|
143
149
|
"key": "pii_score",
|
|
144
150
|
"type": "number",
|
|
145
151
|
"required": false,
|
|
146
|
-
"description": "PII detection ML classifier confidence (0-100). Catches novel PII patterns including names, addresses, and identifiers that regex rules may miss. Typical threshold: >=80 for high-confidence blocking"
|
|
152
|
+
"description": "PII detection ML classifier confidence (0-100). Catches novel PII patterns including names, addresses, and identifiers that regex rules may miss. Typical threshold: >=80 for high-confidence blocking",
|
|
153
|
+
"range": "0-100"
|
|
147
154
|
},
|
|
148
155
|
{
|
|
149
156
|
"key": "highest_severity",
|
|
@@ -155,37 +162,43 @@
|
|
|
155
162
|
"key": "violence_score",
|
|
156
163
|
"type": "number",
|
|
157
164
|
"required": false,
|
|
158
|
-
"description": "ML-based score for violent content references (0-100). Typical threshold: >90 for critical blocks, >60 for warnings"
|
|
165
|
+
"description": "ML-based score for violent content references (0-100). Typical threshold: >90 for critical blocks, >60 for warnings",
|
|
166
|
+
"range": "0-100"
|
|
159
167
|
},
|
|
160
168
|
{
|
|
161
169
|
"key": "hate_speech_score",
|
|
162
170
|
"type": "number",
|
|
163
171
|
"required": false,
|
|
164
|
-
"description": "ML-based score for hate speech, discriminatory language, or targeted harassment (0-100). Typical threshold: >75 for blocks"
|
|
172
|
+
"description": "ML-based score for hate speech, discriminatory language, or targeted harassment (0-100). Typical threshold: >75 for blocks",
|
|
173
|
+
"range": "0-100"
|
|
165
174
|
},
|
|
166
175
|
{
|
|
167
176
|
"key": "sexual_score",
|
|
168
177
|
"type": "number",
|
|
169
178
|
"required": false,
|
|
170
|
-
"description": "ML-based score for sexual or adult content (0-100). Adjust thresholds based on your application's audience"
|
|
179
|
+
"description": "ML-based score for sexual or adult content (0-100). Adjust thresholds based on your application's audience",
|
|
180
|
+
"range": "0-100"
|
|
171
181
|
},
|
|
172
182
|
{
|
|
173
183
|
"key": "weapons_score",
|
|
174
184
|
"type": "number",
|
|
175
185
|
"required": false,
|
|
176
|
-
"description": "ML-based score for weapons references or violent imagery (0-100)"
|
|
186
|
+
"description": "ML-based score for weapons references or violent imagery (0-100)",
|
|
187
|
+
"range": "0-100"
|
|
177
188
|
},
|
|
178
189
|
{
|
|
179
190
|
"key": "crime_score",
|
|
180
191
|
"type": "number",
|
|
181
192
|
"required": false,
|
|
182
|
-
"description": "ML-based score for criminal activity discussions (0-100)"
|
|
193
|
+
"description": "ML-based score for criminal activity discussions (0-100)",
|
|
194
|
+
"range": "0-100"
|
|
183
195
|
},
|
|
184
196
|
{
|
|
185
197
|
"key": "profanity_score",
|
|
186
198
|
"type": "number",
|
|
187
199
|
"required": false,
|
|
188
|
-
"description": "ML-based score for profanity and vulgar language (0-100)"
|
|
200
|
+
"description": "ML-based score for profanity and vulgar language (0-100)",
|
|
201
|
+
"range": "0-100"
|
|
189
202
|
},
|
|
190
203
|
{
|
|
191
204
|
"key": "content_topics",
|
|
@@ -197,7 +210,8 @@
|
|
|
197
210
|
"key": "topic_confidence",
|
|
198
211
|
"type": "number",
|
|
199
212
|
"required": false,
|
|
200
|
-
"description": "Confidence score from topic classifier (0-100). Use with content_topics to tune sensitivity — higher thresholds reduce false positives"
|
|
213
|
+
"description": "Confidence score from topic classifier (0-100). Use with content_topics to tune sensitivity — higher thresholds reduce false positives",
|
|
214
|
+
"range": "0-100"
|
|
201
215
|
},
|
|
202
216
|
{
|
|
203
217
|
"key": "invisible_chars_detected",
|
|
@@ -209,7 +223,8 @@
|
|
|
209
223
|
"key": "invisible_chars_score",
|
|
210
224
|
"type": "number",
|
|
211
225
|
"required": false,
|
|
212
|
-
"description": "Density score for invisible characters in the content (0-100). Higher scores indicate more invisible characters, suggesting evasion attempts"
|
|
226
|
+
"description": "Density score for invisible characters in the content (0-100). Higher scores indicate more invisible characters, suggesting evasion attempts",
|
|
227
|
+
"range": "0-100"
|
|
213
228
|
},
|
|
214
229
|
{
|
|
215
230
|
"key": "command_injection_detected",
|
|
@@ -227,7 +242,8 @@
|
|
|
227
242
|
"key": "command_injection_score",
|
|
228
243
|
"type": "number",
|
|
229
244
|
"required": false,
|
|
230
|
-
"description": "Confidence score for command injection detection (0-100). Higher scores indicate stronger pattern matches"
|
|
245
|
+
"description": "Confidence score for command injection detection (0-100). Higher scores indicate stronger pattern matches",
|
|
246
|
+
"range": "0-100"
|
|
231
247
|
},
|
|
232
248
|
{
|
|
233
249
|
"key": "path_traversal_detected",
|
|
@@ -263,7 +279,8 @@
|
|
|
263
279
|
"key": "sql_injection_score",
|
|
264
280
|
"type": "number",
|
|
265
281
|
"required": false,
|
|
266
|
-
"description": "Confidence score for SQL injection detection (0-100). Typical threshold: >=75 for blocks"
|
|
282
|
+
"description": "Confidence score for SQL injection detection (0-100). Typical threshold: >=75 for blocks",
|
|
283
|
+
"range": "0-100"
|
|
267
284
|
},
|
|
268
285
|
{
|
|
269
286
|
"key": "cross_origin_detected",
|
|
@@ -281,7 +298,8 @@
|
|
|
281
298
|
"key": "cross_origin_score",
|
|
282
299
|
"type": "number",
|
|
283
300
|
"required": false,
|
|
284
|
-
"description": "Risk score for cross-origin escalation (0-100). Higher scores indicate more suspicious cross-boundary activity"
|
|
301
|
+
"description": "Risk score for cross-origin escalation (0-100). Higher scores indicate more suspicious cross-boundary activity",
|
|
302
|
+
"range": "0-100"
|
|
285
303
|
},
|
|
286
304
|
{
|
|
287
305
|
"key": "package_install_detected",
|
|
@@ -305,7 +323,8 @@
|
|
|
305
323
|
"key": "malicious_package_score",
|
|
306
324
|
"type": "number",
|
|
307
325
|
"required": false,
|
|
308
|
-
"description": "100 when a malicious package was detected, 0 otherwise"
|
|
326
|
+
"description": "100 when a malicious package was detected, 0 otherwise",
|
|
327
|
+
"range": "0-100"
|
|
309
328
|
},
|
|
310
329
|
{
|
|
311
330
|
"key": "malicious_packages",
|
|
@@ -313,6 +332,31 @@
|
|
|
313
332
|
"required": false,
|
|
314
333
|
"description": "Malicious packages as ecosystem/name[@version] strings (e.g. 'PyPI/evil-pkg@1.0.0')"
|
|
315
334
|
},
|
|
335
|
+
{
|
|
336
|
+
"key": "package_names",
|
|
337
|
+
"type": "array",
|
|
338
|
+
"required": false,
|
|
339
|
+
"description": "Names of all packages parsed from the install command (without ecosystem prefix), e.g. ['requests', 'left-pad']. Available even when the osv.dev lookup fails."
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
"key": "package_ecosystems",
|
|
343
|
+
"type": "array",
|
|
344
|
+
"required": false,
|
|
345
|
+
"description": "Unique package ecosystems seen in this event, e.g. ['PyPI', 'npm']. Useful for policy rules that restrict which ecosystems are permitted."
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"key": "package_advisory_count",
|
|
349
|
+
"type": "number",
|
|
350
|
+
"required": false,
|
|
351
|
+
"description": "Total number of non-malicious OSV advisories (GHSA- / CVE- IDs) found across all checked packages. Excludes MAL- entries counted in malicious_package_detected."
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
"key": "package_risk_score",
|
|
355
|
+
"type": "number",
|
|
356
|
+
"required": false,
|
|
357
|
+
"description": "Graduated supply-chain risk score (0-100). 100 when any malicious package is found; proportional to advisory_count for advisory-only packages; 0 when all packages are clean.",
|
|
358
|
+
"range": "0-100"
|
|
359
|
+
},
|
|
316
360
|
{
|
|
317
361
|
"key": "package_check_status",
|
|
318
362
|
"type": "string",
|
|
@@ -341,7 +385,8 @@
|
|
|
341
385
|
"key": "encoded_score",
|
|
342
386
|
"type": "number",
|
|
343
387
|
"required": false,
|
|
344
|
-
"description": "Risk score for encoded injection attempts (0-100). Considers encoding density and decoded content patterns"
|
|
388
|
+
"description": "Risk score for encoded injection attempts (0-100). Considers encoding density and decoded content patterns",
|
|
389
|
+
"range": "0-100"
|
|
345
390
|
},
|
|
346
391
|
{
|
|
347
392
|
"key": "detected_language",
|
|
@@ -359,7 +404,8 @@
|
|
|
359
404
|
"key": "language_confidence",
|
|
360
405
|
"type": "number",
|
|
361
406
|
"required": false,
|
|
362
|
-
"description": "Confidence score for language detection (0-100). Use with detected_language to tune sensitivity"
|
|
407
|
+
"description": "Confidence score for language detection (0-100). Use with detected_language to tune sensitivity",
|
|
408
|
+
"range": "0-100"
|
|
363
409
|
},
|
|
364
410
|
{
|
|
365
411
|
"key": "detected_script",
|
|
@@ -377,25 +423,29 @@
|
|
|
377
423
|
"key": "script_confidence",
|
|
378
424
|
"type": "number",
|
|
379
425
|
"required": false,
|
|
380
|
-
"description": "Confidence score for script detection (0-100)"
|
|
426
|
+
"description": "Confidence score for script detection (0-100)",
|
|
427
|
+
"range": "0-100"
|
|
381
428
|
},
|
|
382
429
|
{
|
|
383
430
|
"key": "hallucination_score",
|
|
384
431
|
"type": "number",
|
|
385
432
|
"required": false,
|
|
386
|
-
"description": "ML-based score for hallucinated or fabricated content (0-100). Higher scores indicate higher likelihood of non-factual claims"
|
|
433
|
+
"description": "ML-based score for hallucinated or fabricated content (0-100). Higher scores indicate higher likelihood of non-factual claims",
|
|
434
|
+
"range": "0-100"
|
|
387
435
|
},
|
|
388
436
|
{
|
|
389
437
|
"key": "factuality_score",
|
|
390
438
|
"type": "number",
|
|
391
439
|
"required": false,
|
|
392
|
-
"description": "ML-based factuality assessment score (0-100). Higher scores indicate more factually grounded content"
|
|
440
|
+
"description": "ML-based factuality assessment score (0-100). Higher scores indicate more factually grounded content",
|
|
441
|
+
"range": "0-100"
|
|
393
442
|
},
|
|
394
443
|
{
|
|
395
444
|
"key": "sentiment_score",
|
|
396
445
|
"type": "number",
|
|
397
446
|
"required": false,
|
|
398
|
-
"description": "Sentiment analysis score. Use to detect overly negative or manipulative tone in prompts or responses"
|
|
447
|
+
"description": "Sentiment analysis score. Use to detect overly negative or manipulative tone in prompts or responses",
|
|
448
|
+
"range": "0-100"
|
|
399
449
|
},
|
|
400
450
|
{
|
|
401
451
|
"key": "contains_code",
|
|
@@ -413,7 +463,8 @@
|
|
|
413
463
|
"key": "code_ratio",
|
|
414
464
|
"type": "number",
|
|
415
465
|
"required": false,
|
|
416
|
-
"description": "Percentage of content that consists of code (0-100). High values may indicate code dumps or automated content"
|
|
466
|
+
"description": "Percentage of content that consists of code (0-100). High values may indicate code dumps or automated content",
|
|
467
|
+
"range": "0-100"
|
|
417
468
|
},
|
|
418
469
|
{
|
|
419
470
|
"key": "keyword_matched",
|
|
@@ -449,7 +500,8 @@
|
|
|
449
500
|
"key": "content_safety_score",
|
|
450
501
|
"type": "number",
|
|
451
502
|
"required": false,
|
|
452
|
-
"description": "Aggregate content safety score (0-100). Combines multiple safety signals into a single risk indicator"
|
|
503
|
+
"description": "Aggregate content safety score (0-100). Combines multiple safety signals into a single risk indicator",
|
|
504
|
+
"range": "0-100"
|
|
453
505
|
},
|
|
454
506
|
{
|
|
455
507
|
"key": "content_safety_blocked",
|
|
@@ -473,7 +525,8 @@
|
|
|
473
525
|
"key": "rpm_remaining_pct",
|
|
474
526
|
"type": "number",
|
|
475
527
|
"required": false,
|
|
476
|
-
"description": "Remaining RPM (requests per minute) as percentage (0-100). Gateway-metered, Shield-decided (ADR 0014)"
|
|
528
|
+
"description": "Remaining RPM (requests per minute) as percentage (0-100). Gateway-metered, Shield-decided (ADR 0014)",
|
|
529
|
+
"range": "0-100"
|
|
477
530
|
},
|
|
478
531
|
{
|
|
479
532
|
"key": "rpm_exceeded",
|
|
@@ -485,7 +538,8 @@
|
|
|
485
538
|
"key": "tpm_remaining_pct",
|
|
486
539
|
"type": "number",
|
|
487
540
|
"required": false,
|
|
488
|
-
"description": "Remaining TPM (tokens per minute) as percentage (0-100). Gateway-metered, Shield-decided (ADR 0014)"
|
|
541
|
+
"description": "Remaining TPM (tokens per minute) as percentage (0-100). Gateway-metered, Shield-decided (ADR 0014)",
|
|
542
|
+
"range": "0-100"
|
|
489
543
|
},
|
|
490
544
|
{
|
|
491
545
|
"key": "tpm_exceeded",
|
|
@@ -539,31 +593,36 @@
|
|
|
539
593
|
"key": "session_max_injection_score",
|
|
540
594
|
"type": "number",
|
|
541
595
|
"required": false,
|
|
542
|
-
"description": "Highest prompt injection score seen in any turn of the session (0-100). Use for tiered responses: >75 hard block, >50 restrict permissions"
|
|
596
|
+
"description": "Highest prompt injection score seen in any turn of the session (0-100). Use for tiered responses: >75 hard block, >50 restrict permissions",
|
|
597
|
+
"range": "0-100"
|
|
543
598
|
},
|
|
544
599
|
{
|
|
545
600
|
"key": "session_max_jailbreak_score",
|
|
546
601
|
"type": "number",
|
|
547
602
|
"required": false,
|
|
548
|
-
"description": "Highest jailbreak detection score seen in any turn of the session (0-100)"
|
|
603
|
+
"description": "Highest jailbreak detection score seen in any turn of the session (0-100)",
|
|
604
|
+
"range": "0-100"
|
|
549
605
|
},
|
|
550
606
|
{
|
|
551
607
|
"key": "session_max_command_injection_score",
|
|
552
608
|
"type": "number",
|
|
553
609
|
"required": false,
|
|
554
|
-
"description": "Highest command injection score seen in any turn of the session (0-100)"
|
|
610
|
+
"description": "Highest command injection score seen in any turn of the session (0-100)",
|
|
611
|
+
"range": "0-100"
|
|
555
612
|
},
|
|
556
613
|
{
|
|
557
614
|
"key": "session_max_pii_score",
|
|
558
615
|
"type": "number",
|
|
559
616
|
"required": false,
|
|
560
|
-
"description": "Highest PII risk score seen in any turn of the session (0-100)"
|
|
617
|
+
"description": "Highest PII risk score seen in any turn of the session (0-100)",
|
|
618
|
+
"range": "0-100"
|
|
561
619
|
},
|
|
562
620
|
{
|
|
563
621
|
"key": "session_max_secret_score",
|
|
564
622
|
"type": "number",
|
|
565
623
|
"required": false,
|
|
566
|
-
"description": "Highest secret detection score seen in any turn of the session (0-100)"
|
|
624
|
+
"description": "Highest secret detection score seen in any turn of the session (0-100)",
|
|
625
|
+
"range": "0-100"
|
|
567
626
|
},
|
|
568
627
|
{
|
|
569
628
|
"key": "session_cumulative_risk_score",
|
|
@@ -665,7 +724,8 @@
|
|
|
665
724
|
"key": "tool_risk_score",
|
|
666
725
|
"type": "number",
|
|
667
726
|
"required": false,
|
|
668
|
-
"description": "Computed risk score for this tool call (0-100). Considers tool sensitivity, argument patterns, and MCP verification status. Typical threshold: >85 for dangerous tools"
|
|
727
|
+
"description": "Computed risk score for this tool call (0-100). Considers tool sensitivity, argument patterns, and MCP verification status. Typical threshold: >85 for dangerous tools",
|
|
728
|
+
"range": "0-100"
|
|
669
729
|
},
|
|
670
730
|
{
|
|
671
731
|
"key": "tool_is_sensitive",
|
|
@@ -731,7 +791,8 @@
|
|
|
731
791
|
"key": "sequence_risk",
|
|
732
792
|
"type": "number",
|
|
733
793
|
"required": false,
|
|
734
|
-
"description": "Risk score from action sequence analysis (0-100). Analyzes history of tool calls to detect attack patterns. Typical threshold: >80 for blocks"
|
|
794
|
+
"description": "Risk score from action sequence analysis (0-100). Analyzes history of tool calls to detect attack patterns. Typical threshold: >80 for blocks",
|
|
795
|
+
"range": "0-100"
|
|
735
796
|
},
|
|
736
797
|
{
|
|
737
798
|
"key": "loop_detected",
|
|
@@ -755,7 +816,8 @@
|
|
|
755
816
|
"key": "budget_remaining_pct",
|
|
756
817
|
"type": "number",
|
|
757
818
|
"required": false,
|
|
758
|
-
"description": "Remaining token budget as percentage (0-100). Use this to warn or block when budget is low. Requires session with token budget configuration"
|
|
819
|
+
"description": "Remaining token budget as percentage (0-100). Use this to warn or block when budget is low. Requires session with token budget configuration",
|
|
820
|
+
"range": "0-100"
|
|
759
821
|
},
|
|
760
822
|
{
|
|
761
823
|
"key": "budget_exceeded",
|
|
@@ -767,7 +829,8 @@
|
|
|
767
829
|
"key": "rpm_remaining_pct",
|
|
768
830
|
"type": "number",
|
|
769
831
|
"required": false,
|
|
770
|
-
"description": "Remaining RPM (requests per minute) as percentage (0-100). Gateway-metered, Shield-decided (ADR 0014)"
|
|
832
|
+
"description": "Remaining RPM (requests per minute) as percentage (0-100). Gateway-metered, Shield-decided (ADR 0014)",
|
|
833
|
+
"range": "0-100"
|
|
771
834
|
},
|
|
772
835
|
{
|
|
773
836
|
"key": "rpm_exceeded",
|
|
@@ -779,7 +842,8 @@
|
|
|
779
842
|
"key": "tpm_remaining_pct",
|
|
780
843
|
"type": "number",
|
|
781
844
|
"required": false,
|
|
782
|
-
"description": "Remaining TPM (tokens per minute) as percentage (0-100). Gateway-metered, Shield-decided (ADR 0014)"
|
|
845
|
+
"description": "Remaining TPM (tokens per minute) as percentage (0-100). Gateway-metered, Shield-decided (ADR 0014)",
|
|
846
|
+
"range": "0-100"
|
|
783
847
|
},
|
|
784
848
|
{
|
|
785
849
|
"key": "tpm_exceeded",
|
|
@@ -797,7 +861,8 @@
|
|
|
797
861
|
"key": "topic_confidence",
|
|
798
862
|
"type": "number",
|
|
799
863
|
"required": false,
|
|
800
|
-
"description": "Confidence score from topic classifier for tool content (0-100)"
|
|
864
|
+
"description": "Confidence score from topic classifier for tool content (0-100)",
|
|
865
|
+
"range": "0-100"
|
|
801
866
|
},
|
|
802
867
|
{
|
|
803
868
|
"key": "secrets_detected",
|
|
@@ -839,25 +904,29 @@
|
|
|
839
904
|
"key": "pii_score",
|
|
840
905
|
"type": "number",
|
|
841
906
|
"required": false,
|
|
842
|
-
"description": "PII detection ML classifier confidence for tool content (0-100). Catches novel PII patterns that escape regex detection"
|
|
907
|
+
"description": "PII detection ML classifier confidence for tool content (0-100). Catches novel PII patterns that escape regex detection",
|
|
908
|
+
"range": "0-100"
|
|
843
909
|
},
|
|
844
910
|
{
|
|
845
911
|
"key": "injection_score",
|
|
846
912
|
"type": "number",
|
|
847
913
|
"required": false,
|
|
848
|
-
"description": "Combined prompt injection confidence in tool arguments (0-100). MAX of all detector scores (Pulse + DeepContext). Use injection_pulse_score / injection_deep_context_score for individual detector control"
|
|
914
|
+
"description": "Combined prompt injection confidence in tool arguments (0-100). MAX of all detector scores (Pulse + DeepContext). Use injection_pulse_score / injection_deep_context_score for individual detector control",
|
|
915
|
+
"range": "0-100"
|
|
849
916
|
},
|
|
850
917
|
{
|
|
851
918
|
"key": "injection_pulse_score",
|
|
852
919
|
"type": "number",
|
|
853
920
|
"required": false,
|
|
854
|
-
"description": "Highflame single-turn classifier score for prompt injection in tool arguments (0-100). Raw score from Pulse detector before combination with deep-context"
|
|
921
|
+
"description": "Highflame single-turn classifier score for prompt injection in tool arguments (0-100). Raw score from Pulse detector before combination with deep-context",
|
|
922
|
+
"range": "0-100"
|
|
855
923
|
},
|
|
856
924
|
{
|
|
857
925
|
"key": "injection_deep_context_score",
|
|
858
926
|
"type": "number",
|
|
859
927
|
"required": false,
|
|
860
|
-
"description": "DeepContext multi-turn analyzer score for prompt injection in tool arguments (0-100). Tracks injection patterns across tool call history"
|
|
928
|
+
"description": "DeepContext multi-turn analyzer score for prompt injection in tool arguments (0-100). Tracks injection patterns across tool call history",
|
|
929
|
+
"range": "0-100"
|
|
861
930
|
},
|
|
862
931
|
{
|
|
863
932
|
"key": "command_injection_detected",
|
|
@@ -875,7 +944,8 @@
|
|
|
875
944
|
"key": "command_injection_score",
|
|
876
945
|
"type": "number",
|
|
877
946
|
"required": false,
|
|
878
|
-
"description": "Confidence score for command injection in tool arguments (0-100)"
|
|
947
|
+
"description": "Confidence score for command injection in tool arguments (0-100)",
|
|
948
|
+
"range": "0-100"
|
|
879
949
|
},
|
|
880
950
|
{
|
|
881
951
|
"key": "path_traversal_detected",
|
|
@@ -911,7 +981,8 @@
|
|
|
911
981
|
"key": "sql_injection_score",
|
|
912
982
|
"type": "number",
|
|
913
983
|
"required": false,
|
|
914
|
-
"description": "Confidence score for SQL injection in tool arguments (0-100)"
|
|
984
|
+
"description": "Confidence score for SQL injection in tool arguments (0-100)",
|
|
985
|
+
"range": "0-100"
|
|
915
986
|
},
|
|
916
987
|
{
|
|
917
988
|
"key": "tool_poisoning_detected",
|
|
@@ -923,7 +994,8 @@
|
|
|
923
994
|
"key": "tool_poisoning_score",
|
|
924
995
|
"type": "number",
|
|
925
996
|
"required": false,
|
|
926
|
-
"description": "Confidence score for tool poisoning detection (0-100). Typical threshold: >=70 for blocks"
|
|
997
|
+
"description": "Confidence score for tool poisoning detection (0-100). Typical threshold: >=70 for blocks",
|
|
998
|
+
"range": "0-100"
|
|
927
999
|
},
|
|
928
1000
|
{
|
|
929
1001
|
"key": "tool_poisoning_type",
|
|
@@ -941,7 +1013,8 @@
|
|
|
941
1013
|
"key": "rug_pull_score",
|
|
942
1014
|
"type": "number",
|
|
943
1015
|
"required": false,
|
|
944
|
-
"description": "Confidence score for rug pull detection based on behavioral drift analysis (0-100)"
|
|
1016
|
+
"description": "Confidence score for rug pull detection based on behavioral drift analysis (0-100)",
|
|
1017
|
+
"range": "0-100"
|
|
945
1018
|
},
|
|
946
1019
|
{
|
|
947
1020
|
"key": "mcp_config_risk",
|
|
@@ -959,7 +1032,8 @@
|
|
|
959
1032
|
"key": "mcp_risk_score",
|
|
960
1033
|
"type": "number",
|
|
961
1034
|
"required": false,
|
|
962
|
-
"description": "Risk score for MCP configuration issues (0-100). Typical threshold: >=70 for blocks"
|
|
1035
|
+
"description": "Risk score for MCP configuration issues (0-100). Typical threshold: >=70 for blocks",
|
|
1036
|
+
"range": "0-100"
|
|
963
1037
|
},
|
|
964
1038
|
{
|
|
965
1039
|
"key": "tool_operation_classes",
|
|
@@ -983,7 +1057,8 @@
|
|
|
983
1057
|
"key": "cross_origin_score",
|
|
984
1058
|
"type": "number",
|
|
985
1059
|
"required": false,
|
|
986
|
-
"description": "Risk score for cross-origin escalation in tool calls (0-100)"
|
|
1060
|
+
"description": "Risk score for cross-origin escalation in tool calls (0-100)",
|
|
1061
|
+
"range": "0-100"
|
|
987
1062
|
},
|
|
988
1063
|
{
|
|
989
1064
|
"key": "package_install_detected",
|
|
@@ -1007,7 +1082,8 @@
|
|
|
1007
1082
|
"key": "malicious_package_score",
|
|
1008
1083
|
"type": "number",
|
|
1009
1084
|
"required": false,
|
|
1010
|
-
"description": "100 when a malicious package was detected, 0 otherwise"
|
|
1085
|
+
"description": "100 when a malicious package was detected, 0 otherwise",
|
|
1086
|
+
"range": "0-100"
|
|
1011
1087
|
},
|
|
1012
1088
|
{
|
|
1013
1089
|
"key": "malicious_packages",
|
|
@@ -1015,6 +1091,31 @@
|
|
|
1015
1091
|
"required": false,
|
|
1016
1092
|
"description": "Malicious packages as ecosystem/name[@version] strings (e.g. 'PyPI/evil-pkg@1.0.0')"
|
|
1017
1093
|
},
|
|
1094
|
+
{
|
|
1095
|
+
"key": "package_names",
|
|
1096
|
+
"type": "array",
|
|
1097
|
+
"required": false,
|
|
1098
|
+
"description": "Names of all packages parsed from the install command (without ecosystem prefix), e.g. ['requests', 'left-pad']. Available even when the osv.dev lookup fails."
|
|
1099
|
+
},
|
|
1100
|
+
{
|
|
1101
|
+
"key": "package_ecosystems",
|
|
1102
|
+
"type": "array",
|
|
1103
|
+
"required": false,
|
|
1104
|
+
"description": "Unique package ecosystems seen in this event, e.g. ['PyPI', 'npm']. Useful for policy rules that restrict which ecosystems are permitted."
|
|
1105
|
+
},
|
|
1106
|
+
{
|
|
1107
|
+
"key": "package_advisory_count",
|
|
1108
|
+
"type": "number",
|
|
1109
|
+
"required": false,
|
|
1110
|
+
"description": "Total number of non-malicious OSV advisories (GHSA- / CVE- IDs) found across all checked packages. Excludes MAL- entries counted in malicious_package_detected."
|
|
1111
|
+
},
|
|
1112
|
+
{
|
|
1113
|
+
"key": "package_risk_score",
|
|
1114
|
+
"type": "number",
|
|
1115
|
+
"required": false,
|
|
1116
|
+
"description": "Graduated supply-chain risk score (0-100). 100 when any malicious package is found; proportional to advisory_count for advisory-only packages; 0 when all packages are clean.",
|
|
1117
|
+
"range": "0-100"
|
|
1118
|
+
},
|
|
1018
1119
|
{
|
|
1019
1120
|
"key": "package_check_status",
|
|
1020
1121
|
"type": "string",
|
|
@@ -1043,7 +1144,8 @@
|
|
|
1043
1144
|
"key": "encoded_score",
|
|
1044
1145
|
"type": "number",
|
|
1045
1146
|
"required": false,
|
|
1046
|
-
"description": "Risk score for encoded injection in tool arguments (0-100)"
|
|
1147
|
+
"description": "Risk score for encoded injection in tool arguments (0-100)",
|
|
1148
|
+
"range": "0-100"
|
|
1047
1149
|
},
|
|
1048
1150
|
{
|
|
1049
1151
|
"key": "path",
|
|
@@ -1061,13 +1163,15 @@
|
|
|
1061
1163
|
"key": "invisible_chars_score",
|
|
1062
1164
|
"type": "number",
|
|
1063
1165
|
"required": false,
|
|
1064
|
-
"description": "Invisible character attack severity score in tool arguments (0-100)"
|
|
1166
|
+
"description": "Invisible character attack severity score in tool arguments (0-100)",
|
|
1167
|
+
"range": "0-100"
|
|
1065
1168
|
},
|
|
1066
1169
|
{
|
|
1067
1170
|
"key": "indirect_injection_score",
|
|
1068
1171
|
"type": "number",
|
|
1069
1172
|
"required": false,
|
|
1070
|
-
"description": "Indirect prompt injection risk score (0-100) — injection via tool outputs, retrieved documents, or external content. Use >=70 for general blocking, >=50 for sensitive tools"
|
|
1173
|
+
"description": "Indirect prompt injection risk score (0-100) — injection via tool outputs, retrieved documents, or external content. Use >=70 for general blocking, >=50 for sensitive tools",
|
|
1174
|
+
"range": "0-100"
|
|
1071
1175
|
},
|
|
1072
1176
|
{
|
|
1073
1177
|
"key": "indirect_injection_type",
|
|
@@ -1097,7 +1201,8 @@
|
|
|
1097
1201
|
"key": "rpm_remaining_pct",
|
|
1098
1202
|
"type": "number",
|
|
1099
1203
|
"required": false,
|
|
1100
|
-
"description": "Remaining RPM (requests per minute) as percentage (0-100). Gateway-metered, Shield-decided (ADR 0014)"
|
|
1204
|
+
"description": "Remaining RPM (requests per minute) as percentage (0-100). Gateway-metered, Shield-decided (ADR 0014)",
|
|
1205
|
+
"range": "0-100"
|
|
1101
1206
|
},
|
|
1102
1207
|
{
|
|
1103
1208
|
"key": "rpm_exceeded",
|
|
@@ -1109,7 +1214,8 @@
|
|
|
1109
1214
|
"key": "tpm_remaining_pct",
|
|
1110
1215
|
"type": "number",
|
|
1111
1216
|
"required": false,
|
|
1112
|
-
"description": "Remaining TPM (tokens per minute) as percentage (0-100). Gateway-metered, Shield-decided (ADR 0014)"
|
|
1217
|
+
"description": "Remaining TPM (tokens per minute) as percentage (0-100). Gateway-metered, Shield-decided (ADR 0014)",
|
|
1218
|
+
"range": "0-100"
|
|
1113
1219
|
},
|
|
1114
1220
|
{
|
|
1115
1221
|
"key": "tpm_exceeded",
|
|
@@ -1163,31 +1269,36 @@
|
|
|
1163
1269
|
"key": "session_max_injection_score",
|
|
1164
1270
|
"type": "number",
|
|
1165
1271
|
"required": false,
|
|
1166
|
-
"description": "Highest prompt injection score seen in any turn of the session (0-100). Use for tiered responses: >75 hard block, >50 restrict permissions"
|
|
1272
|
+
"description": "Highest prompt injection score seen in any turn of the session (0-100). Use for tiered responses: >75 hard block, >50 restrict permissions",
|
|
1273
|
+
"range": "0-100"
|
|
1167
1274
|
},
|
|
1168
1275
|
{
|
|
1169
1276
|
"key": "session_max_jailbreak_score",
|
|
1170
1277
|
"type": "number",
|
|
1171
1278
|
"required": false,
|
|
1172
|
-
"description": "Highest jailbreak detection score seen in any turn of the session (0-100)"
|
|
1279
|
+
"description": "Highest jailbreak detection score seen in any turn of the session (0-100)",
|
|
1280
|
+
"range": "0-100"
|
|
1173
1281
|
},
|
|
1174
1282
|
{
|
|
1175
1283
|
"key": "session_max_command_injection_score",
|
|
1176
1284
|
"type": "number",
|
|
1177
1285
|
"required": false,
|
|
1178
|
-
"description": "Highest command injection score seen in any turn of the session (0-100)"
|
|
1286
|
+
"description": "Highest command injection score seen in any turn of the session (0-100)",
|
|
1287
|
+
"range": "0-100"
|
|
1179
1288
|
},
|
|
1180
1289
|
{
|
|
1181
1290
|
"key": "session_max_pii_score",
|
|
1182
1291
|
"type": "number",
|
|
1183
1292
|
"required": false,
|
|
1184
|
-
"description": "Highest PII risk score seen in any turn of the session (0-100)"
|
|
1293
|
+
"description": "Highest PII risk score seen in any turn of the session (0-100)",
|
|
1294
|
+
"range": "0-100"
|
|
1185
1295
|
},
|
|
1186
1296
|
{
|
|
1187
1297
|
"key": "session_max_secret_score",
|
|
1188
1298
|
"type": "number",
|
|
1189
1299
|
"required": false,
|
|
1190
|
-
"description": "Highest secret detection score seen in any turn of the session (0-100)"
|
|
1300
|
+
"description": "Highest secret detection score seen in any turn of the session (0-100)",
|
|
1301
|
+
"range": "0-100"
|
|
1191
1302
|
},
|
|
1192
1303
|
{
|
|
1193
1304
|
"key": "session_cumulative_risk_score",
|
|
@@ -1337,7 +1448,8 @@
|
|
|
1337
1448
|
"key": "rpm_remaining_pct",
|
|
1338
1449
|
"type": "number",
|
|
1339
1450
|
"required": false,
|
|
1340
|
-
"description": "Remaining RPM (requests per minute) as percentage (0-100). Gateway-metered, Shield-decided (ADR 0014)"
|
|
1451
|
+
"description": "Remaining RPM (requests per minute) as percentage (0-100). Gateway-metered, Shield-decided (ADR 0014)",
|
|
1452
|
+
"range": "0-100"
|
|
1341
1453
|
},
|
|
1342
1454
|
{
|
|
1343
1455
|
"key": "rpm_exceeded",
|
|
@@ -1349,7 +1461,8 @@
|
|
|
1349
1461
|
"key": "tpm_remaining_pct",
|
|
1350
1462
|
"type": "number",
|
|
1351
1463
|
"required": false,
|
|
1352
|
-
"description": "Remaining TPM (tokens per minute) as percentage (0-100). Gateway-metered, Shield-decided (ADR 0014)"
|
|
1464
|
+
"description": "Remaining TPM (tokens per minute) as percentage (0-100). Gateway-metered, Shield-decided (ADR 0014)",
|
|
1465
|
+
"range": "0-100"
|
|
1353
1466
|
},
|
|
1354
1467
|
{
|
|
1355
1468
|
"key": "tpm_exceeded",
|
|
@@ -1403,31 +1516,36 @@
|
|
|
1403
1516
|
"key": "session_max_injection_score",
|
|
1404
1517
|
"type": "number",
|
|
1405
1518
|
"required": false,
|
|
1406
|
-
"description": "Highest prompt injection score seen in any turn of the session (0-100). Use for tiered responses: >75 hard block, >50 restrict permissions"
|
|
1519
|
+
"description": "Highest prompt injection score seen in any turn of the session (0-100). Use for tiered responses: >75 hard block, >50 restrict permissions",
|
|
1520
|
+
"range": "0-100"
|
|
1407
1521
|
},
|
|
1408
1522
|
{
|
|
1409
1523
|
"key": "session_max_jailbreak_score",
|
|
1410
1524
|
"type": "number",
|
|
1411
1525
|
"required": false,
|
|
1412
|
-
"description": "Highest jailbreak detection score seen in any turn of the session (0-100)"
|
|
1526
|
+
"description": "Highest jailbreak detection score seen in any turn of the session (0-100)",
|
|
1527
|
+
"range": "0-100"
|
|
1413
1528
|
},
|
|
1414
1529
|
{
|
|
1415
1530
|
"key": "session_max_command_injection_score",
|
|
1416
1531
|
"type": "number",
|
|
1417
1532
|
"required": false,
|
|
1418
|
-
"description": "Highest command injection score seen in any turn of the session (0-100)"
|
|
1533
|
+
"description": "Highest command injection score seen in any turn of the session (0-100)",
|
|
1534
|
+
"range": "0-100"
|
|
1419
1535
|
},
|
|
1420
1536
|
{
|
|
1421
1537
|
"key": "session_max_pii_score",
|
|
1422
1538
|
"type": "number",
|
|
1423
1539
|
"required": false,
|
|
1424
|
-
"description": "Highest PII risk score seen in any turn of the session (0-100)"
|
|
1540
|
+
"description": "Highest PII risk score seen in any turn of the session (0-100)",
|
|
1541
|
+
"range": "0-100"
|
|
1425
1542
|
},
|
|
1426
1543
|
{
|
|
1427
1544
|
"key": "session_max_secret_score",
|
|
1428
1545
|
"type": "number",
|
|
1429
1546
|
"required": false,
|
|
1430
|
-
"description": "Highest secret detection score seen in any turn of the session (0-100)"
|
|
1547
|
+
"description": "Highest secret detection score seen in any turn of the session (0-100)",
|
|
1548
|
+
"range": "0-100"
|
|
1431
1549
|
},
|
|
1432
1550
|
{
|
|
1433
1551
|
"key": "session_cumulative_risk_score",
|
|
@@ -1535,7 +1653,8 @@
|
|
|
1535
1653
|
"key": "invisible_chars_score",
|
|
1536
1654
|
"type": "number",
|
|
1537
1655
|
"required": false,
|
|
1538
|
-
"description": "Invisible character attack severity score (0-100) in write content"
|
|
1656
|
+
"description": "Invisible character attack severity score (0-100) in write content",
|
|
1657
|
+
"range": "0-100"
|
|
1539
1658
|
},
|
|
1540
1659
|
{
|
|
1541
1660
|
"key": "secrets_detected",
|
|
@@ -1589,7 +1708,8 @@
|
|
|
1589
1708
|
"key": "rpm_remaining_pct",
|
|
1590
1709
|
"type": "number",
|
|
1591
1710
|
"required": false,
|
|
1592
|
-
"description": "Remaining RPM (requests per minute) as percentage (0-100). Gateway-metered, Shield-decided (ADR 0014)"
|
|
1711
|
+
"description": "Remaining RPM (requests per minute) as percentage (0-100). Gateway-metered, Shield-decided (ADR 0014)",
|
|
1712
|
+
"range": "0-100"
|
|
1593
1713
|
},
|
|
1594
1714
|
{
|
|
1595
1715
|
"key": "rpm_exceeded",
|
|
@@ -1601,7 +1721,8 @@
|
|
|
1601
1721
|
"key": "tpm_remaining_pct",
|
|
1602
1722
|
"type": "number",
|
|
1603
1723
|
"required": false,
|
|
1604
|
-
"description": "Remaining TPM (tokens per minute) as percentage (0-100). Gateway-metered, Shield-decided (ADR 0014)"
|
|
1724
|
+
"description": "Remaining TPM (tokens per minute) as percentage (0-100). Gateway-metered, Shield-decided (ADR 0014)",
|
|
1725
|
+
"range": "0-100"
|
|
1605
1726
|
},
|
|
1606
1727
|
{
|
|
1607
1728
|
"key": "tpm_exceeded",
|
|
@@ -1655,31 +1776,36 @@
|
|
|
1655
1776
|
"key": "session_max_injection_score",
|
|
1656
1777
|
"type": "number",
|
|
1657
1778
|
"required": false,
|
|
1658
|
-
"description": "Highest prompt injection score seen in any turn of the session (0-100). Use for tiered responses: >75 hard block, >50 restrict permissions"
|
|
1779
|
+
"description": "Highest prompt injection score seen in any turn of the session (0-100). Use for tiered responses: >75 hard block, >50 restrict permissions",
|
|
1780
|
+
"range": "0-100"
|
|
1659
1781
|
},
|
|
1660
1782
|
{
|
|
1661
1783
|
"key": "session_max_jailbreak_score",
|
|
1662
1784
|
"type": "number",
|
|
1663
1785
|
"required": false,
|
|
1664
|
-
"description": "Highest jailbreak detection score seen in any turn of the session (0-100)"
|
|
1786
|
+
"description": "Highest jailbreak detection score seen in any turn of the session (0-100)",
|
|
1787
|
+
"range": "0-100"
|
|
1665
1788
|
},
|
|
1666
1789
|
{
|
|
1667
1790
|
"key": "session_max_command_injection_score",
|
|
1668
1791
|
"type": "number",
|
|
1669
1792
|
"required": false,
|
|
1670
|
-
"description": "Highest command injection score seen in any turn of the session (0-100)"
|
|
1793
|
+
"description": "Highest command injection score seen in any turn of the session (0-100)",
|
|
1794
|
+
"range": "0-100"
|
|
1671
1795
|
},
|
|
1672
1796
|
{
|
|
1673
1797
|
"key": "session_max_pii_score",
|
|
1674
1798
|
"type": "number",
|
|
1675
1799
|
"required": false,
|
|
1676
|
-
"description": "Highest PII risk score seen in any turn of the session (0-100)"
|
|
1800
|
+
"description": "Highest PII risk score seen in any turn of the session (0-100)",
|
|
1801
|
+
"range": "0-100"
|
|
1677
1802
|
},
|
|
1678
1803
|
{
|
|
1679
1804
|
"key": "session_max_secret_score",
|
|
1680
1805
|
"type": "number",
|
|
1681
1806
|
"required": false,
|
|
1682
|
-
"description": "Highest secret detection score seen in any turn of the session (0-100)"
|
|
1807
|
+
"description": "Highest secret detection score seen in any turn of the session (0-100)",
|
|
1808
|
+
"range": "0-100"
|
|
1683
1809
|
},
|
|
1684
1810
|
{
|
|
1685
1811
|
"key": "session_cumulative_risk_score",
|
|
@@ -1793,7 +1919,8 @@
|
|
|
1793
1919
|
"key": "tool_poisoning_score",
|
|
1794
1920
|
"type": "number",
|
|
1795
1921
|
"required": false,
|
|
1796
|
-
"description": "Confidence score for tool poisoning in MCP server tools (0-100)"
|
|
1922
|
+
"description": "Confidence score for tool poisoning in MCP server tools (0-100)",
|
|
1923
|
+
"range": "0-100"
|
|
1797
1924
|
},
|
|
1798
1925
|
{
|
|
1799
1926
|
"key": "tool_poisoning_type",
|
|
@@ -1817,7 +1944,8 @@
|
|
|
1817
1944
|
"key": "mcp_risk_score",
|
|
1818
1945
|
"type": "number",
|
|
1819
1946
|
"required": false,
|
|
1820
|
-
"description": "Risk score for MCP configuration issues (0-100)"
|
|
1947
|
+
"description": "Risk score for MCP configuration issues (0-100)",
|
|
1948
|
+
"range": "0-100"
|
|
1821
1949
|
},
|
|
1822
1950
|
{
|
|
1823
1951
|
"key": "cross_origin_detected",
|
|
@@ -1835,13 +1963,15 @@
|
|
|
1835
1963
|
"key": "cross_origin_score",
|
|
1836
1964
|
"type": "number",
|
|
1837
1965
|
"required": false,
|
|
1838
|
-
"description": "Risk score for cross-origin escalation in server connection (0-100)"
|
|
1966
|
+
"description": "Risk score for cross-origin escalation in server connection (0-100)",
|
|
1967
|
+
"range": "0-100"
|
|
1839
1968
|
},
|
|
1840
1969
|
{
|
|
1841
1970
|
"key": "rpm_remaining_pct",
|
|
1842
1971
|
"type": "number",
|
|
1843
1972
|
"required": false,
|
|
1844
|
-
"description": "Remaining RPM (requests per minute) as percentage (0-100). Gateway-metered, Shield-decided (ADR 0014)"
|
|
1973
|
+
"description": "Remaining RPM (requests per minute) as percentage (0-100). Gateway-metered, Shield-decided (ADR 0014)",
|
|
1974
|
+
"range": "0-100"
|
|
1845
1975
|
},
|
|
1846
1976
|
{
|
|
1847
1977
|
"key": "rpm_exceeded",
|
|
@@ -1853,7 +1983,8 @@
|
|
|
1853
1983
|
"key": "tpm_remaining_pct",
|
|
1854
1984
|
"type": "number",
|
|
1855
1985
|
"required": false,
|
|
1856
|
-
"description": "Remaining TPM (tokens per minute) as percentage (0-100). Gateway-metered, Shield-decided (ADR 0014)"
|
|
1986
|
+
"description": "Remaining TPM (tokens per minute) as percentage (0-100). Gateway-metered, Shield-decided (ADR 0014)",
|
|
1987
|
+
"range": "0-100"
|
|
1857
1988
|
},
|
|
1858
1989
|
{
|
|
1859
1990
|
"key": "tpm_exceeded",
|
|
@@ -1907,31 +2038,36 @@
|
|
|
1907
2038
|
"key": "session_max_injection_score",
|
|
1908
2039
|
"type": "number",
|
|
1909
2040
|
"required": false,
|
|
1910
|
-
"description": "Highest prompt injection score seen in any turn of the session (0-100). Use for tiered responses: >75 hard block, >50 restrict permissions"
|
|
2041
|
+
"description": "Highest prompt injection score seen in any turn of the session (0-100). Use for tiered responses: >75 hard block, >50 restrict permissions",
|
|
2042
|
+
"range": "0-100"
|
|
1911
2043
|
},
|
|
1912
2044
|
{
|
|
1913
2045
|
"key": "session_max_jailbreak_score",
|
|
1914
2046
|
"type": "number",
|
|
1915
2047
|
"required": false,
|
|
1916
|
-
"description": "Highest jailbreak detection score seen in any turn of the session (0-100)"
|
|
2048
|
+
"description": "Highest jailbreak detection score seen in any turn of the session (0-100)",
|
|
2049
|
+
"range": "0-100"
|
|
1917
2050
|
},
|
|
1918
2051
|
{
|
|
1919
2052
|
"key": "session_max_command_injection_score",
|
|
1920
2053
|
"type": "number",
|
|
1921
2054
|
"required": false,
|
|
1922
|
-
"description": "Highest command injection score seen in any turn of the session (0-100)"
|
|
2055
|
+
"description": "Highest command injection score seen in any turn of the session (0-100)",
|
|
2056
|
+
"range": "0-100"
|
|
1923
2057
|
},
|
|
1924
2058
|
{
|
|
1925
2059
|
"key": "session_max_pii_score",
|
|
1926
2060
|
"type": "number",
|
|
1927
2061
|
"required": false,
|
|
1928
|
-
"description": "Highest PII risk score seen in any turn of the session (0-100)"
|
|
2062
|
+
"description": "Highest PII risk score seen in any turn of the session (0-100)",
|
|
2063
|
+
"range": "0-100"
|
|
1929
2064
|
},
|
|
1930
2065
|
{
|
|
1931
2066
|
"key": "session_max_secret_score",
|
|
1932
2067
|
"type": "number",
|
|
1933
2068
|
"required": false,
|
|
1934
|
-
"description": "Highest secret detection score seen in any turn of the session (0-100)"
|
|
2069
|
+
"description": "Highest secret detection score seen in any turn of the session (0-100)",
|
|
2070
|
+
"range": "0-100"
|
|
1935
2071
|
},
|
|
1936
2072
|
{
|
|
1937
2073
|
"key": "session_cumulative_risk_score",
|