@highflame/policy 2.2.31 → 2.2.32
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/agent_ops/context.json +1272 -439
- package/_schemas/agent_ops/schema.cedarschema +24 -0
- package/_schemas/agent_ops/templates/ported/agent-security/agent_identity_a2a_cross_origin.cedar +92 -0
- package/_schemas/agent_ops/templates/ported/agent-security/agent_identity_a2a_escalation.cedar +99 -0
- package/_schemas/agent_ops/templates/ported/agent-security/agent_identity_a2a_identity_enforcement.cedar +101 -0
- package/_schemas/agent_ops/templates/ported/agent-security/agent_identity_a2a_inter_agent_injection.cedar +120 -0
- package/_schemas/agent_ops/templates/ported/agent-security/agent_identity_claude_block_injection.cedar +30 -0
- package/_schemas/agent_ops/templates/ported/agent-security/agent_identity_defaults.cedar +122 -0
- package/_schemas/agent_ops/templates/ported/agent-security/agent_identity_multi_agent_safety.cedar +164 -0
- package/_schemas/agent_ops/templates/ported/agent-security/agent_identity_multi_agent_trust.cedar +143 -0
- package/_schemas/agent_ops/templates/ported/agent-security/agent_security_data_pipeline.cedar +45 -0
- package/_schemas/agent_ops/templates/ported/agent-security/agent_security_defaults.cedar +164 -0
- package/_schemas/agent_ops/templates/ported/agent-security/agent_security_malicious_package.cedar +59 -0
- package/_schemas/agent_ops/templates/ported/agent-security/agent_security_param_validation.cedar +119 -0
- package/_schemas/agent_ops/templates/ported/agent-security/agent_security_tool_risk.cedar +66 -0
- package/_schemas/agent_ops/templates/ported/code-security/agent_identity_a2a_supply_chain.cedar +101 -0
- package/_schemas/agent_ops/templates/ported/code-security/agent_security_code_agent.cedar +130 -0
- package/_schemas/agent_ops/templates/ported/code-security/agent_security_code_agent_supply_chain.cedar +116 -0
- package/_schemas/agent_ops/templates/ported/code-security/security_code_agent_encoding.cedar +51 -0
- package/_schemas/agent_ops/templates/ported/code-security/security_code_agent_path_security.cedar +149 -0
- package/_schemas/agent_ops/templates/ported/content-safety/trust_safety_chat_assistant.cedar +58 -0
- package/_schemas/agent_ops/templates/ported/content-safety/trust_safety_defaults.cedar +111 -0
- package/_schemas/agent_ops/templates/ported/content-safety/trust_safety_semantic.cedar +78 -0
- package/_schemas/agent_ops/templates/ported/content-safety/trust_safety_toxicity.cedar +71 -0
- package/_schemas/agent_ops/templates/ported/data-protection/data_protection_advanced_secrets.cedar +74 -0
- package/_schemas/agent_ops/templates/ported/data-protection/data_protection_code_block_write_secrets.cedar +26 -0
- package/_schemas/agent_ops/templates/ported/data-protection/data_protection_data_pipeline.cedar +52 -0
- package/_schemas/agent_ops/templates/ported/data-protection/data_protection_defaults.cedar +57 -0
- package/_schemas/agent_ops/templates/ported/data-protection/privacy_advanced_pii.cedar +465 -0
- package/_schemas/agent_ops/templates/ported/data-protection/privacy_defaults.cedar +164 -0
- package/_schemas/agent_ops/templates/ported/data-protection/privacy_pii_model.cedar +90 -0
- package/_schemas/agent_ops/templates/ported/organization/organization_deny_baseline.cedar +22 -0
- package/_schemas/agent_ops/templates/ported/organization/organization_team_permissions.cedar +38 -0
- package/_schemas/agent_ops/templates/ported/threat-detection/security_advanced_block_critical_severity.cedar +30 -0
- package/_schemas/agent_ops/templates/ported/threat-detection/security_chat_assistant.cedar +47 -0
- package/_schemas/agent_ops/templates/ported/threat-detection/security_data_pipeline_block_injection.cedar +31 -0
- package/_schemas/agent_ops/templates/ported/threat-detection/security_injection.cedar +82 -0
- package/_schemas/agent_ops/templates/ported/threat-detection/security_patterns.cedar +72 -0
- package/_schemas/agent_ops/templates/ported/threat-detection/semantic_defaults.cedar +155 -0
- package/_schemas/agent_ops/templates/ported/tool-permissioning/tools_bash_operation_classes.cedar +142 -0
- package/_schemas/agent_ops/templates/ported/tool-permissioning/tools_block_shell.cedar +40 -0
- package/_schemas/agent_ops/templates/ported/tool-permissioning/tools_defaults.cedar +76 -0
- package/_schemas/agent_ops/templates/ported/tool-permissioning/tools_mcp_server_allowlist.cedar +41 -0
- package/_schemas/agent_ops/templates/ported/tool-permissioning/tools_mcp_tool_permissions.cedar +103 -0
- package/_schemas/agent_ops/templates/templates.json +752 -8
- package/_schemas/ai_gateway/context.json +2 -2
- package/_schemas/guardrails/context.json +2 -2
- package/_schemas/guardrails/templates/templates.json +6 -1
- package/_schemas/overwatch/context.json +3 -3
- package/dist/aarm-annotations.gen.js +1 -1
- package/dist/agent_ops-context.gen.d.ts +5 -1
- package/dist/agent_ops-context.gen.js +8 -0
- package/dist/agent_ops-defaults.gen.js +5168 -8
- package/dist/guardrails-defaults.gen.js +6 -1
- package/dist/overwatch-defaults.gen.js +109 -0
- package/dist/service-schemas.gen.d.ts +1 -1
- package/dist/service-schemas.gen.js +48 -12
- package/package.json +1 -1
|
@@ -161,7 +161,7 @@
|
|
|
161
161
|
"key": "tool_risk_score",
|
|
162
162
|
"type": "number",
|
|
163
163
|
"required": false,
|
|
164
|
-
"description": "Computed tool risk (0-100)"
|
|
164
|
+
"description": "Computed tool risk (0-100). Typical condition: tool_risk_score >= 86 (>= 71 for sensitive tools)"
|
|
165
165
|
},
|
|
166
166
|
{
|
|
167
167
|
"key": "tool_category",
|
|
@@ -185,7 +185,7 @@
|
|
|
185
185
|
"key": "tool_operation_classes",
|
|
186
186
|
"type": "array",
|
|
187
187
|
"required": false,
|
|
188
|
-
"description": "All operation classes observed in the tool call. Subset of: 'readonly', 'write_enabling', 'execute_enabling', 'network_access', 'unknown'. 'unknown' appears when any unrecognized or variable-expanded command was seen."
|
|
188
|
+
"description": "All operation classes observed in the tool call, emitted by the AST command classifiers. Subset of: 'readonly', 'write_enabling', 'execute_enabling', 'network_access', 'unknown'. A single command can carry several classes; combine with contains() to match shapes — e.g. tool_operation_classes.contains(\"network_access\") && tool_operation_classes.contains(\"execute_enabling\") catches download-and-run (curl | sh). 'unknown' appears when any unrecognized or variable-expanded command was seen and should be treated as deny-worthy."
|
|
189
189
|
},
|
|
190
190
|
{
|
|
191
191
|
"key": "mcp_server_verified",
|
|
@@ -724,7 +724,7 @@
|
|
|
724
724
|
"key": "tool_risk_score",
|
|
725
725
|
"type": "number",
|
|
726
726
|
"required": false,
|
|
727
|
-
"description": "Computed risk score for this tool call (0-100). Considers tool sensitivity, argument patterns, and MCP verification status. Typical
|
|
727
|
+
"description": "Computed risk score for this tool call (0-100). Considers tool sensitivity, argument patterns, and MCP verification status. Typical condition: tool_risk_score >= 86 (used by the Tool Risk template; >= 71 for sensitive tools).",
|
|
728
728
|
"range": "0-100"
|
|
729
729
|
},
|
|
730
730
|
{
|
|
@@ -1039,7 +1039,7 @@
|
|
|
1039
1039
|
"key": "tool_operation_classes",
|
|
1040
1040
|
"type": "array",
|
|
1041
1041
|
"required": false,
|
|
1042
|
-
"description": "All operation classes observed in the tool call. Subset of: 'readonly', 'write_enabling', 'execute_enabling', 'network_access', 'unknown'. 'unknown' appears when any unrecognized or variable-expanded command was seen."
|
|
1042
|
+
"description": "All operation classes observed in the tool call, emitted by the AST command classifiers. Subset of: 'readonly', 'write_enabling', 'execute_enabling', 'network_access', 'unknown'. A single command can carry several classes; combine with contains() to match shapes — e.g. tool_operation_classes.contains(\"network_access\") && tool_operation_classes.contains(\"execute_enabling\") catches download-and-run (curl | sh). 'unknown' appears when any unrecognized or variable-expanded command was seen and should be treated as deny-worthy."
|
|
1043
1043
|
},
|
|
1044
1044
|
{
|
|
1045
1045
|
"key": "cross_origin_detected",
|
|
@@ -238,7 +238,12 @@
|
|
|
238
238
|
"category": "tools",
|
|
239
239
|
"file": "mcp_server_allowlist.cedar",
|
|
240
240
|
"severity": "medium",
|
|
241
|
-
"tags": [
|
|
241
|
+
"tags": [
|
|
242
|
+
"category:tools",
|
|
243
|
+
"surface:connect-server",
|
|
244
|
+
"scope:org-wide",
|
|
245
|
+
"posture:deny-default"
|
|
246
|
+
]
|
|
242
247
|
},
|
|
243
248
|
{
|
|
244
249
|
"id": "security.chat-assistant",
|
|
@@ -612,7 +612,7 @@
|
|
|
612
612
|
"key": "tool_risk_score",
|
|
613
613
|
"type": "number",
|
|
614
614
|
"required": false,
|
|
615
|
-
"description": "Computed tool risk score (0-100) combining tool type, arguments, and context"
|
|
615
|
+
"description": "Computed tool risk score (0-100) combining tool type, arguments, and context. Typical condition: tool_risk_score >= 86 (>= 71 for sensitive tools)"
|
|
616
616
|
},
|
|
617
617
|
{
|
|
618
618
|
"key": "tool_category",
|
|
@@ -660,7 +660,7 @@
|
|
|
660
660
|
"key": "pattern_type",
|
|
661
661
|
"type": "string",
|
|
662
662
|
"required": false,
|
|
663
|
-
"description": "Type of suspicious pattern: data_exfiltration, secret_exfiltration, credential_theft, destructive_sequence"
|
|
663
|
+
"description": "Type of suspicious pattern: data_exfiltration, secret_exfiltration, db_exfiltration, credential_theft, destructive_sequence"
|
|
664
664
|
},
|
|
665
665
|
{
|
|
666
666
|
"key": "sequence_risk",
|
|
@@ -678,7 +678,7 @@
|
|
|
678
678
|
"key": "tool_operation_classes",
|
|
679
679
|
"type": "array",
|
|
680
680
|
"required": false,
|
|
681
|
-
"description": "All operation classes observed in the tool call. Subset of: 'readonly', 'write_enabling', 'execute_enabling', 'network_access', 'unknown'. 'unknown' appears when any unrecognized or variable-expanded command was seen."
|
|
681
|
+
"description": "All operation classes observed in the tool call, emitted by the AST command classifiers. Subset of: 'readonly', 'write_enabling', 'execute_enabling', 'network_access', 'unknown'. A single command can carry several classes; combine with contains() to match shapes — e.g. tool_operation_classes.contains(\"network_access\") && tool_operation_classes.contains(\"execute_enabling\") catches download-and-run (curl | sh). Used by the Bash Operation Classes template. 'unknown' appears when any unrecognized or variable-expanded command was seen and should be treated as deny-worthy."
|
|
682
682
|
},
|
|
683
683
|
{
|
|
684
684
|
"key": "package_install_detected",
|
|
@@ -76,7 +76,7 @@ export const AARM_ANNOTATIONS = [
|
|
|
76
76
|
type: 'string',
|
|
77
77
|
required: true,
|
|
78
78
|
positional: true,
|
|
79
|
-
description: 'AuthN role string the approver must carry (e.g. "finance_lead", "security_oncall"). Validated against authn.roles at deploy time; unknown roles reject the policy.',
|
|
79
|
+
description: 'AuthN role string the approver must carry (e.g. \"finance_lead\", \"security_oncall\"). Validated against authn.roles at deploy time; unknown roles reject the policy.',
|
|
80
80
|
default: null,
|
|
81
81
|
min: null,
|
|
82
82
|
max: null,
|
|
@@ -76,6 +76,8 @@ export declare const AgentOpsContextKey: {
|
|
|
76
76
|
readonly LoopCount: "loop_count";
|
|
77
77
|
readonly LoopDetected: "loop_detected";
|
|
78
78
|
readonly LoopTool: "loop_tool";
|
|
79
|
+
readonly MaliciousPackageDetected: "malicious_package_detected";
|
|
80
|
+
readonly MaxThreatSeverity: "max_threat_severity";
|
|
79
81
|
readonly McpConfigRisk: "mcp_config_risk";
|
|
80
82
|
readonly McpRiskScore: "mcp_risk_score";
|
|
81
83
|
readonly McpRiskType: "mcp_risk_type";
|
|
@@ -87,6 +89,8 @@ export declare const AgentOpsContextKey: {
|
|
|
87
89
|
readonly ModelProvider: "model_provider";
|
|
88
90
|
readonly MultiTurnDetection: "multi_turn_detection";
|
|
89
91
|
readonly NetworkEgress: "network_egress";
|
|
92
|
+
readonly PackageCheckStatus: "package_check_status";
|
|
93
|
+
readonly PackageInstallDetected: "package_install_detected";
|
|
90
94
|
readonly ParamTypeViolation: "param_type_violation";
|
|
91
95
|
readonly ParamTypeViolations: "param_type_violations";
|
|
92
96
|
readonly Path: "path";
|
|
@@ -165,4 +169,4 @@ export type AgentOpsContextKey = (typeof AgentOpsContextKey)[keyof typeof AgentO
|
|
|
165
169
|
* The full set of authorable context attribute keys for AgentOps.
|
|
166
170
|
* Iterate this to enumerate the authorable surface (cockpit, conformance).
|
|
167
171
|
*/
|
|
168
|
-
export declare const AgentOpsContextKeys: readonly ["agent_framework", "agent_id", "agent_publisher", "agent_trust_level", "agent_type", "budget_exceeded", "budget_remaining_pct", "code_languages", "code_ratio", "command_injection_detected", "command_injection_score", "command_injection_type", "contains_code", "contains_non_ascii", "content_safety_blocked", "content_safety_score", "content_topics", "content_type", "conversation_turn", "crime_score", "cross_origin_detected", "cross_origin_score", "cross_origin_type", "cwd", "detected_language", "detected_script", "detected_threats", "detector_count", "direction", "egress_hosts", "encoded_content_detected", "encoded_count", "encoded_score", "encoded_types", "event", "exec_allowlist", "factuality_score", "flow_compartments", "flow_confidentiality", "flow_data_types", "flow_integrity", "flow_origins", "flow_resolution_status", "flow_sink", "flow_sink_effects", "flow_sink_is_external", "hallucination_score", "hate_speech_score", "highest_severity", "identity_type", "indirect_injection_score", "indirect_injection_type", "injection_deep_context_score", "injection_pulse_score", "injection_score", "injection_type", "invisible_chars_detected", "invisible_chars_score", "is_english", "is_latin_script", "isolation_tier", "jailbreak_deep_context_score", "jailbreak_pulse_score", "jailbreak_score", "keyword_categories", "keyword_count", "keyword_matched", "language_confidence", "loop_count", "loop_detected", "loop_tool", "mcp_config_risk", "mcp_risk_score", "mcp_risk_type", "mcp_server", "mcp_server_verified", "mcp_tool", "mechanism_capabilities", "model_name", "model_provider", "multi_turn_detection", "network_egress", "param_type_violation", "param_type_violations", "path", "path_traversal_detected", "path_traversal_severity", "path_traversal_type", "pattern_type", "phishing_detected", "pii_count", "pii_detected", "pii_score", "pii_types", "principal", "principal_clearances", "principal_compartments", "privilege_scope", "profanity_score", "request_id", "role", "rpm_exceeded", "rpm_remaining_pct", "rug_pull_detected", "rug_pull_score", "rug_pull_type", "script_confidence", "secret_count", "secret_types", "secrets_detected", "sentiment_score", "sequence_risk", "session_command_injection", "session_cumulative_risk_score", "session_injection_detected", "session_max_command_injection_score", "session_max_injection_score", "session_max_jailbreak_score", "session_max_pii_score", "session_max_secret_score", "session_max_sensitivity", "session_original_request", "session_pii_detected", "session_pii_types", "session_secret_types", "session_secrets_detected", "session_threat_turns", "sexual_score", "source", "sql_injection_detected", "sql_injection_score", "sql_injection_type", "surface", "suspicious_pattern", "threat_categories", "threat_count", "timestamp", "tool_category", "tool_is_builtin", "tool_is_sensitive", "tool_name", "tool_operation_classes", "tool_poisoning_detected", "tool_poisoning_score", "tool_poisoning_type", "tool_risk_score", "topic_confidence", "tpm_exceeded", "tpm_remaining_pct", "user_email", "violence_score", "weapons_score", "workspace_root", "writable_paths"];
|
|
172
|
+
export declare const AgentOpsContextKeys: readonly ["agent_framework", "agent_id", "agent_publisher", "agent_trust_level", "agent_type", "budget_exceeded", "budget_remaining_pct", "code_languages", "code_ratio", "command_injection_detected", "command_injection_score", "command_injection_type", "contains_code", "contains_non_ascii", "content_safety_blocked", "content_safety_score", "content_topics", "content_type", "conversation_turn", "crime_score", "cross_origin_detected", "cross_origin_score", "cross_origin_type", "cwd", "detected_language", "detected_script", "detected_threats", "detector_count", "direction", "egress_hosts", "encoded_content_detected", "encoded_count", "encoded_score", "encoded_types", "event", "exec_allowlist", "factuality_score", "flow_compartments", "flow_confidentiality", "flow_data_types", "flow_integrity", "flow_origins", "flow_resolution_status", "flow_sink", "flow_sink_effects", "flow_sink_is_external", "hallucination_score", "hate_speech_score", "highest_severity", "identity_type", "indirect_injection_score", "indirect_injection_type", "injection_deep_context_score", "injection_pulse_score", "injection_score", "injection_type", "invisible_chars_detected", "invisible_chars_score", "is_english", "is_latin_script", "isolation_tier", "jailbreak_deep_context_score", "jailbreak_pulse_score", "jailbreak_score", "keyword_categories", "keyword_count", "keyword_matched", "language_confidence", "loop_count", "loop_detected", "loop_tool", "malicious_package_detected", "max_threat_severity", "mcp_config_risk", "mcp_risk_score", "mcp_risk_type", "mcp_server", "mcp_server_verified", "mcp_tool", "mechanism_capabilities", "model_name", "model_provider", "multi_turn_detection", "network_egress", "package_check_status", "package_install_detected", "param_type_violation", "param_type_violations", "path", "path_traversal_detected", "path_traversal_severity", "path_traversal_type", "pattern_type", "phishing_detected", "pii_count", "pii_detected", "pii_score", "pii_types", "principal", "principal_clearances", "principal_compartments", "privilege_scope", "profanity_score", "request_id", "role", "rpm_exceeded", "rpm_remaining_pct", "rug_pull_detected", "rug_pull_score", "rug_pull_type", "script_confidence", "secret_count", "secret_types", "secrets_detected", "sentiment_score", "sequence_risk", "session_command_injection", "session_cumulative_risk_score", "session_injection_detected", "session_max_command_injection_score", "session_max_injection_score", "session_max_jailbreak_score", "session_max_pii_score", "session_max_secret_score", "session_max_sensitivity", "session_original_request", "session_pii_detected", "session_pii_types", "session_secret_types", "session_secrets_detected", "session_threat_turns", "sexual_score", "source", "sql_injection_detected", "sql_injection_score", "sql_injection_type", "surface", "suspicious_pattern", "threat_categories", "threat_count", "timestamp", "tool_category", "tool_is_builtin", "tool_is_sensitive", "tool_name", "tool_operation_classes", "tool_poisoning_detected", "tool_poisoning_score", "tool_poisoning_type", "tool_risk_score", "topic_confidence", "tpm_exceeded", "tpm_remaining_pct", "user_email", "violence_score", "weapons_score", "workspace_root", "writable_paths"];
|
|
@@ -78,6 +78,8 @@ export const AgentOpsContextKey = {
|
|
|
78
78
|
LoopCount: 'loop_count',
|
|
79
79
|
LoopDetected: 'loop_detected',
|
|
80
80
|
LoopTool: 'loop_tool',
|
|
81
|
+
MaliciousPackageDetected: 'malicious_package_detected',
|
|
82
|
+
MaxThreatSeverity: 'max_threat_severity',
|
|
81
83
|
McpConfigRisk: 'mcp_config_risk',
|
|
82
84
|
McpRiskScore: 'mcp_risk_score',
|
|
83
85
|
McpRiskType: 'mcp_risk_type',
|
|
@@ -89,6 +91,8 @@ export const AgentOpsContextKey = {
|
|
|
89
91
|
ModelProvider: 'model_provider',
|
|
90
92
|
MultiTurnDetection: 'multi_turn_detection',
|
|
91
93
|
NetworkEgress: 'network_egress',
|
|
94
|
+
PackageCheckStatus: 'package_check_status',
|
|
95
|
+
PackageInstallDetected: 'package_install_detected',
|
|
92
96
|
ParamTypeViolation: 'param_type_violation',
|
|
93
97
|
ParamTypeViolations: 'param_type_violations',
|
|
94
98
|
Path: 'path',
|
|
@@ -238,6 +242,8 @@ export const AgentOpsContextKeys = [
|
|
|
238
242
|
AgentOpsContextKey.LoopCount,
|
|
239
243
|
AgentOpsContextKey.LoopDetected,
|
|
240
244
|
AgentOpsContextKey.LoopTool,
|
|
245
|
+
AgentOpsContextKey.MaliciousPackageDetected,
|
|
246
|
+
AgentOpsContextKey.MaxThreatSeverity,
|
|
241
247
|
AgentOpsContextKey.McpConfigRisk,
|
|
242
248
|
AgentOpsContextKey.McpRiskScore,
|
|
243
249
|
AgentOpsContextKey.McpRiskType,
|
|
@@ -249,6 +255,8 @@ export const AgentOpsContextKeys = [
|
|
|
249
255
|
AgentOpsContextKey.ModelProvider,
|
|
250
256
|
AgentOpsContextKey.MultiTurnDetection,
|
|
251
257
|
AgentOpsContextKey.NetworkEgress,
|
|
258
|
+
AgentOpsContextKey.PackageCheckStatus,
|
|
259
|
+
AgentOpsContextKey.PackageInstallDetected,
|
|
252
260
|
AgentOpsContextKey.ParamTypeViolation,
|
|
253
261
|
AgentOpsContextKey.ParamTypeViolations,
|
|
254
262
|
AgentOpsContextKey.Path,
|