Skip to main content
Docs / Pattern Provenance

Every pattern, and what stands behind it.

166 governance patterns across 11 families, each with the mechanism that evaluates it, the tests that name it and the benchmark suite that exercises its family. The stronger the number, the stronger the evidence needs to be: this table is derived from the pattern registry and the source tree on every change, it is re-verified on every commit, and the machine reads the same thing at /patterns.json.

What the columns mean

A pattern can carry more than one mechanism. Strongest first: content scanner on the authorize path; a runtime detector bound to the pattern; a runtime monitor method that exists in the runtime; the sandbox test harness that evaluates a family against submitted inputs; a published detection method, blocking condition and test protocol; a detection expression published; and a deployment-surface mapping that informs cross-deployment learning. Tests counts the test files that name the pattern or its monitor. The suite column names the GovernanceBench suite whose scenarios carry the family, with its scenario count.

Across the registryPatterns
Loaded by the runtime166
Evaluated by a runtime mechanism (scanner, detector or monitor)82
Evaluated by the sandbox test harness53
Detection method, blocking condition and test protocol published82
Detection expression published26
Deployment-surface mapping entries5
Named by at least one test file74
Family exercised by a benchmark suite125

prompt injection (INJ, 53)

Exercised by the ipi suite (5 scenarios).

PatternTypeSeverityMechanismTests
INJ001direct_overridecriticalsandbox test harness7
INJ002direct_overridecriticalsandbox test harness3
INJ003direct_overridecriticalsandbox test harness1
INJ004direct_overridecriticalsandbox test harness0
INJ005direct_overridehighsandbox test harness0
INJ006identity_attackcriticalsandbox test harness0
INJ007identity_attackhighsandbox test harness0
INJ008identity_attackhighsandbox test harness0
INJ009identity_attackcriticalsandbox test harness0
INJ010prompt_extractionhighsandbox test harness1
INJ011prompt_extractionhighsandbox test harness0
INJ012prompt_extractionmediumsandbox test harness0
INJ013privilege_escalationcriticalsandbox test harness0
INJ014encoding_evasionhighsandbox test harness0
INJ015encoding_evasionmediumsandbox test harness0
INJ016exfiltrationcriticalsandbox test harness1
INJ017exfiltrationcriticalsandbox test harness0
INJ018multi_turnmediumsandbox test harness0
INJ019context_manipulationmediumsandbox test harness0
INJ020identity_suppressioncriticalruntime detector bound to the pattern; sandbox test harness1
INJ021capability_escalation_via_promptcriticalsandbox test harness0
INJ022memory_state_poisoninghighsandbox test harness0
INJ023context_resetmediumsandbox test harness0
INJ025zero_widthhighsandbox test harness0
INJ026agent_prompt_selfcriticalsandbox test harness0
INJ027role_confusionhighsandbox test harness0
INJ024trace_poisoningcriticalsandbox test harness5
INJ028governance_bypasscriticalsandbox test harness4
INJ029sovereign_override_cache_bypasscriticalsandbox test harness2
INJ030cross_model_filter_bypasscriticalruntime detector bound to the pattern; sandbox test harness3
INJ031capability_escalation_autonomouscriticalruntime detector bound to the pattern; sandbox test harness1
INJ032monitor_obfuscationcriticalruntime detector bound to the pattern; sandbox test harness3
INJ033reckless_escalationcriticalruntime detector bound to the pattern; sandbox test harness1
INJ034evaluation_awarenesshighruntime detector bound to the pattern; sandbox test harness1
INJ035reward_hack_detectionhighruntime detector bound to the pattern; sandbox test harness4
INJ036PERSISTENT_MEMORY_UNAUDITEDcriticalsandbox test harness1
INJ037SPAWNED_AGENT_GOVERNANCE_BYPASScriticalsandbox test harness0
INJ038SSE_STREAM_INJECTIONhighsandbox test harness0
INJ039MODEL_ALIGNMENT_REMOVALcriticalruntime detector bound to the pattern; sandbox test harness; detection method, blocking condition and test protocol published0
INJ040ENVIRONMENT_DECEPTIONhighsandbox test harness0
INJ041HUMAN_SUPERVISOR_MANIPULATIONhighsandbox test harness0
INJ042QUANTUM_CRYPTOGRAPHIC_VULNERABILITYmediumruntime detector bound to the pattern; sandbox test harness0
INJ043CORPUS_INFERENCE_DETECTIONmediumsandbox test harness0
INJ044BOUNDARY_PROBING_DETECTIONmediumsandbox test harness0
INJ045MULTI_TURN_CUMULATIVE_SUPPRESSIONHIGHruntime detector bound to the pattern; sandbox test harness; detection method, blocking condition and test protocol published0
INJ046UNAUTHORIZED_AUTONOMOUS_RECONhighsandbox test harness; detection method, blocking condition and test protocol published0
INJ047AUTHORIZED_TOOL_IMPERSONATIONcriticalruntime detector bound to the pattern; sandbox test harness; detection method, blocking condition and test protocol published0
INJ048RECON_ESCALATION_WITHOUT_APPROVALhighsandbox test harness; detection method, blocking condition and test protocol published0
INJ049CLOAK_INJECTIONcriticalsandbox test harness; detection method, blocking condition and test protocol published0
INJ050FEATURE_FLAG_BYPASShighsandbox test harness; detection method, blocking condition and test protocol published0
INJ051MEMORY_POISONINGhighruntime detector bound to the pattern; sandbox test harness; detection method, blocking condition and test protocol published0
INJ053CROSS_HARNESS_SESSION_EXFILTRATIONhighruntime detector bound to the pattern; sandbox test harness; detection method, blocking condition and test protocol published2
INJ054ENCODING_RELAY_INJECTIONcriticalruntime detector bound to the pattern; sandbox test harness; detection method, blocking condition and test protocol published0

supply chain (SC, 27)

PatternTypeSeverityMechanismTests
SC001hook_network_callhighdetection expression published6
SC002mcp_broad_permissionhighdetection expression published1
SC003settings_bash_wildcardcriticaldetection expression published2
SC004claude_md_override_attemptcriticaldetection expression published0
SC005skill_external_loadhighdetection expression published0
SC006hook_env_exfilcriticaldetection expression published0
SC007anthropic_base_url_overridecriticaldetection expression published0
SC008mcp_auto_trusthighdetection expression published0
SC009community_skill_unverified_linkmediumdetection expression published0
SC010dangerously_skip_permissionscriticaldetection expression published0
SC011async_hook_side_channelmediumdetection expression published0
SC012agent_persona_injectionhighdetection expression published0
SC013axios_rat_compromised_versioncriticaldetection expression published0
SC014rat_dropper_packagecriticaldetection expression published0
SC015c2_beacon_domaincriticaldetection expression published0
SC016compromised_openclaw_packagecriticaldetection expression published0
SC017c2_high_port_beaconhighdetection expression published0
SC018caret_range_in_dependencyhighdetection expression published0
SC019postinstall_scriptmediumdetection expression published0
SC020identity_suppression_injectioncriticaldetection expression published0
SC021typosquatting_detectionhighdetection expression published3
SC022maintainer_takeover_signalhighdetection expression published0
SC023native_addon_binarymediumdetection expression published0
SC024obfuscated_payloadhighdetection expression published0
SC025dns_exfiltrationhighdetection expression published0
SC026dependency_confusionhighdetection expression published3
SC027supply_chain_dependency_injectioncriticalruntime detector bound to the pattern0

algorithmic trading (ALGO, 12)

Exercised by the algo-trading suite (20 scenarios).

PatternTypeSeverityMechanismTests
ALGO-001runaway_order_velocitycriticalruntime detector bound to the pattern; runtime monitor method; detection method, blocking condition and test protocol published (order_velocity)2
ALGO-002position_concentrationcriticalruntime detector bound to the pattern; runtime monitor method; detection method, blocking condition and test protocol published (position_concentration)7
ALGO-003strategy_drifthighruntime detector bound to the pattern; runtime monitor method; detection method, blocking condition and test protocol published (strategy_drift)3
ALGO-004spoofing_patterncriticalruntime detector bound to the pattern; runtime monitor method; detection method, blocking condition and test protocol published (spoofing_pattern)3
ALGO-005cross_venue_exposurehighruntime detector bound to the pattern; runtime monitor method; detection method, blocking condition and test protocol published (cross_venue_exposure)3
ALGO-006fat_finger_ordercriticalruntime monitor method; detection method, blocking condition and test protocol published (order_velocity)2
ALGO-007model_version_swapcriticalruntime monitor method; detection method, blocking condition and test protocol published (strategy_drift)3
ALGO-008fictitious_offsetcriticalruntime monitor method; detection method, blocking condition and test protocol published (position_concentration)7
ALGO-009liquidity_withdrawalhighruntime monitor method; detection method, blocking condition and test protocol published (cross_venue_exposure)2
ALGO-010circuit_breaker_overridecriticalruntime monitor method; detection method, blocking condition and test protocol published (order_velocity)2
ALGO-011drawdown_breachcriticalruntime monitor method; detection method, blocking condition and test protocol published (position_concentration)7
ALGO-012deployment_gatecriticalruntime monitor method; detection method, blocking condition and test protocol published (order_velocity)2

autonomous vehicle fleet (AV, 10)

Exercised by the av-fleet suite (20 scenarios).

PatternTypeSeverityMechanismTests
AV-001odd_violationcriticalruntime detector bound to the pattern; runtime monitor method; detection method, blocking condition and test protocol published (odd_violation)5
AV-002perception_degradationcriticalruntime detector bound to the pattern; runtime monitor method; detection method, blocking condition and test protocol published (perception_degradation)2
AV-003emergency_response_failurecriticalruntime detector bound to the pattern; runtime monitor method; detection method, blocking condition and test protocol published (emergency_response_failure)3
AV-004pedestrian_detection_gapcriticaldetection method, blocking condition and test protocol published (pedestrian_detection_gap)0
AV-005fleet_cascade_failurecriticalruntime detector bound to the pattern; runtime monitor method; detection method, blocking condition and test protocol published (fleet_cascade)2
AV-006school_zone_violationcriticaldetection method, blocking condition and test protocol published (school_zone_violation)0
AV-007construction_zone_breachhighdetection method, blocking condition and test protocol published (construction_zone_breach)0
AV-008sgo_reporting_delayhighdetection method, blocking condition and test protocol published (sgo_reporting_delay)0
AV-009weather_adaptation_failurehighdetection method, blocking condition and test protocol published (weather_adaptation_failure)0
AV-010remote_intervention_timeoutcriticalruntime detector bound to the pattern; runtime monitor method; detection method, blocking condition and test protocol published (remote_intervention_timeout)2

cloud infrastructure (CLOUD, 10)

Exercised by the cloud-infrastructure suite (20 scenarios).

PatternTypeSeverityMechanismTests
CLOUD-001metadata_endpoint_probecriticalruntime detector bound to the pattern; runtime monitor method; detection method, blocking condition and test protocol published (metadata)118
CLOUD-002iam_privilege_escalationcriticalruntime detector bound to the pattern; runtime monitor method; detection method, blocking condition and test protocol published (iam_escalation)1
CLOUD-003storage_enumerationhighruntime detector bound to the pattern; runtime monitor method; detection method, blocking condition and test protocol published (storage_enumeration)1
CLOUD-004kubernetes_api_abusecriticalruntime detector bound to the pattern; detection method, blocking condition and test protocol published (kubernetes_api)0
CLOUD-005credential_exfiltrationcriticalruntime detector bound to the pattern; runtime monitor method; detection method, blocking condition and test protocol published (cloud_credential_exfiltration)2
CLOUD-006action_boundary_violationcriticalruntime monitor method; detection method, blocking condition and test protocol published (iam_escalation)1
CLOUD-007blast_radius_systemic_actioncriticalruntime monitor method; detection method, blocking condition and test protocol published (storage_enumeration)1
CLOUD-008credential_scope_overbroadhighruntime monitor method; detection method, blocking condition and test protocol published (iam_escalation)1
CLOUD-009privilege_scope_drifthighruntime monitor method; detection method, blocking condition and test protocol published (iam_escalation)1
CLOUD-010cross_account_boundary_crossinghighruntime monitor method; detection method, blocking condition and test protocol published (storage_enumeration)1

industrial control systems (ICS, 10)

Exercised by the industrial-iot suite (20 scenarios).

PatternTypeSeverityMechanismTests
ICS-001process_variable_deviationcriticalruntime detector bound to the pattern; runtime monitor method; detection method, blocking condition and test protocol published (process_variable_deviation)2
ICS-002unauthorized_setpoint_changecriticalruntime detector bound to the pattern; runtime monitor method; detection method, blocking condition and test protocol published (unauthorized_setpoint_change)2
ICS-003controller_firmware_tamperingcriticalruntime detector bound to the pattern; runtime monitor method; detection method, blocking condition and test protocol published (controller_firmware_tampering)2
ICS-004plc_command_injectioncriticaldetection method, blocking condition and test protocol published (plc_command_injection)0
ICS-005safety_system_overridecriticalruntime detector bound to the pattern; runtime monitor method; detection method, blocking condition and test protocol published (safety_system_override)2
ICS-006network_segmentation_breachcriticalruntime detector bound to the pattern; runtime monitor method; detection method, blocking condition and test protocol published (network_segmentation_breach)2
ICS-007unscheduled_maintenance_windowhighdetection method, blocking condition and test protocol published (unscheduled_maintenance_window)0
ICS-008sensor_data_manipulationcriticaldetection method, blocking condition and test protocol published (sensor_data_manipulation)0
ICS-009cascading_shutdown_propagationcriticaldetection method, blocking condition and test protocol published (cascading_shutdown_propagation)0
ICS-010air_gap_violationcriticaldetection method, blocking condition and test protocol published (air_gap_violation)0

medical device (MED, 10)

Exercised by the medical-device suite (20 scenarios).

PatternTypeSeverityMechanismTests
MED-001algorithm_driftcriticalruntime detector bound to the pattern; runtime monitor method; detection method, blocking condition and test protocol published (algorithm_drift)2
MED-002population_shifthighruntime detector bound to the pattern; runtime monitor method; detection method, blocking condition and test protocol published (population_shift)2
MED-003dosage_boundary_violationcriticalruntime detector bound to the pattern; runtime monitor method; detection method, blocking condition and test protocol published (dosage_boundary)6
MED-004unauthorized_model_updatecriticalruntime detector bound to the pattern; runtime monitor method; detection method, blocking condition and test protocol published (unauthorized_model_update)2
MED-005audit_gaphighruntime detector bound to the pattern; runtime monitor method; detection method, blocking condition and test protocol published (audit_gap)0
MED-006alert_fatiguehighdetection method, blocking condition and test protocol published (alert_fatigue)0
MED-007consent_boundary_violationcriticaldetection method, blocking condition and test protocol published (consent_boundary)0
MED-008interoperability_failurehighdetection method, blocking condition and test protocol published (interoperability_failure)0
MED-009recall_response_failurecriticalruntime monitor method; detection method, blocking condition and test protocol published (recall_response)3
MED-010validation_gaphighdetection method, blocking condition and test protocol published (validation_gap)0

payments and fintech (PAY, 10)

Exercised by the payments-fintech suite (20 scenarios).

PatternTypeSeverityMechanismTests
PAY-001refund_limit_breachcriticalruntime detector bound to the pattern; runtime monitor method; detection method, blocking condition and test protocol published (refund_limit_breach)1
PAY-002unauthorized_fund_movementcriticalruntime detector bound to the pattern; runtime monitor method; detection method, blocking condition and test protocol published (unauthorized_fund_movement)1
PAY-003risk_rule_tamperingcriticalruntime detector bound to the pattern; runtime monitor method; detection method, blocking condition and test protocol published (risk_rule_tampering)1
PAY-004payment_velocity_anomalyhighruntime detector bound to the pattern; runtime monitor method; detection method, blocking condition and test protocol published (payment_velocity_anomaly)1
PAY-005payout_destination_drifthighruntime detector bound to the pattern; runtime monitor method; detection method, blocking condition and test protocol published (payout_destination_drift)1
PAY-006sanctions_screening_bypasscriticalruntime monitor method; detection method, blocking condition and test protocol published (risk_rule_tampering)0
PAY-007chargeback_manipulationhighruntime monitor method; detection method, blocking condition and test protocol published (risk_rule_tampering)0
PAY-008card_account_enumerationhighruntime monitor method; detection method, blocking condition and test protocol published (payment_velocity_anomaly)0
PAY-009ledger_reconciliation_divergencehighruntime monitor method; detection method, blocking condition and test protocol published (unauthorized_fund_movement)0
PAY-010cross_merchant_credential_reusehighruntime monitor method; detection method, blocking condition and test protocol published (payout_destination_drift)0

RPA automation (RPA, 10)

Exercised by the rpa-governance suite (20 scenarios).

PatternTypeSeverityMechanismTests
RPA-001bot_loopcriticalruntime monitor method; detection method, blocking condition and test protocol published (frequency_spike)6
RPA-002unauthorized_system_accesscriticalruntime monitor method; detection method, blocking condition and test protocol published (scope_escalation)4
RPA-003credential_reusehighruntime detector bound to the pattern; runtime monitor method; detection method, blocking condition and test protocol published (identity_drift)5
RPA-004process_escalationcriticalruntime detector bound to the pattern; runtime monitor method; detection method, blocking condition and test protocol published (tier_escalation)4
RPA-005data_exfiltrationcriticalruntime detector bound to the pattern; runtime monitor method; detection method, blocking condition and test protocol published (external_destination)3
RPA-006schedule_violationmediumruntime monitor method; detection method, blocking condition and test protocol published (time_anomaly)0
RPA-007configuration_drifthighruntime detector bound to the pattern; runtime monitor method; detection method, blocking condition and test protocol published (config_drift)2
RPA-008lateral_movementcriticalruntime detector bound to the pattern; runtime monitor method; detection method, blocking condition and test protocol published (lateral_movement)4
RPA-009volume_anomalyhighruntime monitor method; detection method, blocking condition and test protocol published (frequency_spike)6
RPA-010unattended_spawninghighruntime detector bound to the pattern; runtime monitor method; detection method, blocking condition and test protocol published (unattended_spawning)2

API key exposure (KEY, 9)

PatternTypeSeverityMechanismTests
KEY001runtime detector bound to the pattern0
KEY002runtime detector bound to the pattern0
KEY003runtime detector bound to the pattern0
KEY004runtime detector bound to the pattern0
KEY005runtime detector bound to the pattern0
KEY006runtime detector bound to the pattern0
KEY007runtime detector bound to the pattern0
KEY008runtime detector bound to the pattern0
KEY009runtime detector bound to the pattern0

personal edge (PE, 5)

PatternTypeSeverityMechanismTests
PE001BEHAVIORAL_DATA_EXFILTRATIONcriticaldeployment-surface mapping2
PE002BIOMETRIC_INFERENCE_ESCALATIONcriticaldeployment-surface mapping0
PE003OBSERVATION_ZONE_BYPASShighdeployment-surface mapping0
PE004CONSENT_BOUNDARY_VIOLATIONcriticaldeployment-surface mapping0
PE005PHYSICAL_SAFETY_OVERRIDE_FAILUREcriticaldeployment-surface mapping1