Skip to content
Patronus
Website

Rules and models

Available rule and model IDs for Injection, DLP, PII, and Threat scans.

Use these IDs in config.gates.rules and config.gates.models. Rule switches select individual checks; model switches control the detector that runs them. Both the detector and its analysis level must be enabled for a rule to run.

Unspecified switches use the service defaults. Setting one rule to true does not disable the other rules. Model switches allow a detector to run; they do not force execution or override max_level.

Keep PII analysis enabled but skip email detection:

{
"text": "Text to inspect",
"config": {
"categories": ["pii"],
"max_level": "L1",
"gates": {
"models": {"native:pii": true},
"rules": {"pii_email": false}
}
}
}

For the request format and field limits, see configuration.

These are execution-gate IDs, not a choice of chat provider. Native detectors run at L1; learned classifiers run at L2 or L3. Availability and escalation still depend on the service pipeline.

All model gates default to allowed. Individual rule defaults still apply: enabling a DLP model does not turn on its disabled-by-default rules.

Model IDCategoryControls
native:injection_l1InjectionAll Injection L1 checks; must also be enabled for the individual Injection detectors below.
native:injection_rule_catalogInjectionCatalog-based Injection rules.
native:injection_structuralInjectionInstruction overrides linked to sensitive disclosure.
native:agentic_control_abuseInjectionAbuse of agent controls.
native:authority_escalationInjectionClaims of elevated authority.
native:binary_smugglingInjectionInstructions concealed in binary representations.
native:covert_instructionInjectionCovert execution instructions.
native:cross_tool_instructionInjectionInstructions crossing tool boundaries.
native:encoded_instructionInjectionEncoded instructions.
native:guardrail_tamperInjectionTampering with safety controls.
native:hidden_html_instructionInjectionInstructions hidden in HTML.
native:instruction_boundaryInjectionInstruction boundary manipulation.
native:instruction_leakInjectionDisclosure of hidden instructions.
native:instruction_overrideInjectionOverrides of existing instructions.
native:jailbreak_framingInjectionJailbreak framing.
native:multi_turn_escalationInjectionEscalation across turns.
native:output_manipulationInjectionForced or manipulated output.
native:tool_call_injectionInjectionInjected tool calls.
native:tool_output_instructionInjectionInstructions embedded in tool output.
native:unicode_confusableInjectionVisually confusable Unicode characters.
native:zero_width_obfuscationInjectionObfuscation using zero-width characters.
native:dlpDLPCredential and sensitive-content pattern rules.
native:sensitive_materialDLPSensitive-material relationships.
native:secret_transferDLPTransfers of secrets.
native:mcp_runtime_riskDLPMCP runtime risks.
native:mcp_policyDLPMCP policy risks.
native:destructive_operationDLPDestructive operations.
native:piiPIIPersonal-data pattern rules.

Each classifier has two gate keys. Both must be allowed; setting either one to false disables that classifier. Omitted keys remain allowed.

Model gate keysCategoryControls
injection, wolf-defender-smallInjectionInjection classification at L2.
threat, unified-v3-threatThreatThreat classification at L2.
Model IDCategoriesControls
unified-multitask-model-augmented-v3Injection, ThreatShared L3 classification, when selected by the service pipeline.

This key applies to the shared L3 classifier. It does not select the server’s L3 strategy or guarantee that this model runs. Set gates.l3 to false to disable the entire L3 level regardless of the classifier in use.

All rules below run at L1. Threat has no L1 rule catalog; its analysis requires at least L2. Disabling every available detector for a requested category can leave the scan without a result.

All 39 rules are enabled by default when the PII detector runs.

Rule IDDetects
pii_emailEMAIL
pii_ipv4IP_ADDRESS
pii_ipv6_fullIP_ADDRESS
pii_ipv6_compressedIP_ADDRESS
pii_ipv6_loopbackIP_ADDRESS
pii_phone_internationalPHONE
pii_phone_dePHONE
pii_phone_de_national_contextPHONE
pii_phone_usPHONE
pii_mac_addressMAC_ADDRESS
pii_iban_deIBAN
pii_iban_genericIBAN
pii_credit_cardCREDITCARD
pii_credit_card_cvvCREDITCARD_CVV
pii_credit_card_expiryCREDITCARD_EXPIRY
pii_swift_bic_contextSWIFT_CODE
pii_employee_idEMPLOYEE_ID
pii_employee_id_ocr_fieldEMPLOYEE_ID
pii_employee_id_prefixedEMPLOYEE_ID
pii_customer_idCUSTOMER_ID
pii_patient_idPATIENT_ID
pii_student_idSTUDENT_ID
pii_applicant_idAPPLICANT_ID
pii_usernameUSERNAME
pii_date_of_birthDOB
pii_date_of_birth_written_day_firstDOB
pii_date_of_birth_written_month_firstDOB
pii_financial_account_numberFINANCIAL_ACCOUNT_NUMBER
pii_steuer_id_deSTEUERID
pii_steuernummer_deTAX_NUMBER_DE
pii_rentenversicherung_deSOCIALID
pii_health_insurance_number_deHEALTH_INSURANCE_NUMBER
pii_physician_number_lanr_dePHYSICIAN_NUMBER_LANR
pii_passport_number_dePASSPORT_NUMBER
pii_identity_card_number_deIDENTITY_CARD_NUMBER
pii_driver_license_number_deDRIVER_LICENSE_NUMBER
pii_kfz_kennzeichen_deLICENSEPLATE
pii_ssn_usSSN
pii_ni_ukNATIONALID

Credentials and secrets are enabled by default. Set an optional rule to true to include business identifiers or content checks.

Rule IDDetectsDefault
dlp_anthropic_keyAPI_KEYon
dlp_openai_keyAPI_KEYon
dlp_openai_legacyAPI_KEYon
dlp_openai_svcAPI_KEYon
dlp_huggingfaceAPI_KEYon
dlp_groq_keyAPI_KEYon
dlp_xai_keyAPI_KEYon
dlp_replicateAPI_KEYon
dlp_aws_access_keyCLOUD_KEYon
dlp_aws_secret_keyCLOUD_KEYon
dlp_google_api_keyCLOUD_KEYon
dlp_google_oauth_tokenCLOUD_KEYon
dlp_gcp_client_secretCLOUD_KEYon
dlp_github_tokenSECRET_TOKENon
dlp_github_patSECRET_TOKENon
dlp_gitlab_patSECRET_TOKENon
dlp_npm_tokenSECRET_TOKENon
dlp_stripe_keyPAYMENT_KEYon
dlp_stripe_webhookPAYMENT_KEYon
dlp_slack_tokenSECRET_TOKENon
dlp_discord_tokenSECRET_TOKENon
dlp_eth_private_keyCRYPTO_KEYon
dlp_btc_wifCRYPTO_KEYon
dlp_private_key_blockPRIVATE_KEYon
dlp_private_key_headerPRIVATE_KEYon
dlp_jwt_tokenSECRET_TOKENon
dlp_credential_in_urlCREDENTIALon
dlp_env_var_secretCREDENTIALon
dlp_password_assignmentCREDENTIALon
dlp_generic_credential_assignmentCREDENTIALon
dlp_bearer_tokenSECRET_TOKENon
dlp_basic_authCREDENTIALon
dlp_signed_url_signatureCREDENTIALon
dlp_session_cookieCREDENTIALon
dlp_csrf_tokenSECRET_TOKENon
dlp_password_hashPASSWORD_HASHon
dlp_url_userinfo_passwordCREDENTIALon
dlp_de_vat_iddlp.de.vat_idoff
dlp_de_commercial_register_numberdlp.de.commercial_register_numberoff
dlp_de_facility_number_bsnrdlp.de.facility_number_bsnroff
dlp_record_case_iddlp.record.case_idoff
dlp_record_contract_iddlp.record.contract_idoff
dlp_record_claim_iddlp.record.claim_idoff
dlp_record_order_iddlp.record.order_idoff
dlp_record_invoice_iddlp.record.invoice_idoff
dlp_project_iddlp.project_idoff
dlp_organization_iddlp.organization_idoff
dlp_internal_business_metricdlp.internal.business_metricoff
dlp_database_dump_insertdlp.content.database_dumpoff
dlp_source_code_fencedlp.content.source_codeoff
dlp_source_code_statementdlp.content.source_codeoff
dlp_source_code_python_rust_assignmentdlp.content.source_codeoff
dlp_source_code_declarationdlp.content.source_codeoff
dlp_source_code_importdlp.content.source_codeoff
dlp_sql_statementdlp.content.sqloff
dlp_sql_multiline_statementdlp.content.sqloff
dlp_database_dump_headerdlp.content.database_dumpoff
dlp_stacktrace_blockdlp.content.system_logoff
dlp_structured_system_logdlp.content.system_logoff

These checks detect relationships between actions and sensitive data or tool operations. Both the rule and the associated model must be allowed.

Rule IDModel IDDefault
dlp_sensitive_materialnative:sensitive_materialon
dlp_secret_transfernative:secret_transferon
dlp_mcp_runtime_risknative:mcp_runtime_riskoff
dlp_mcp_policynative:mcp_policyoff
dlp_destructive_operationnative:destructive_operationoff

All 42 rule gates are enabled by default.

Rule IDChecks for
ark.injection.agentic.control_abuseAgentic control abuse.
ark.injection.authority.claimClaim to be developer/admin
ark.injection.authority.escalationAuthority escalation.
ark.injection.authority.fake_system_asset_transferUses a fake system or administrator authority marker to mandate a concrete crypto-asset transfer
ark.injection.boundary.delimited_replacement_actionUses a synthetic delimiter boundary before a replacement instruction and action
ark.injection.boundary.delimiterInstruction boundary.
ark.injection.boundary.fake_systemFake system prompt injection
ark.injection.covert.executionCovert instruction.
ark.injection.cross_tool.override_actionCross tool instruction.
ark.injection.escalation.multi_turnMulti turn escalation.
ark.injection.exfil.external_sinkSend data to external URL/email
ark.injection.exfil.sensitive_path_external_sink_auditedReads a sensitive credential path and transfers it to an explicit external network destination
ark.injection.exfil.sensitive_path_to_sinkReads a sensitive credential path and directs its contents to an output or transfer sink
ark.injection.guardrail.tamperGuardrail tamper.
ark.injection.identity.reassignIdentity reassignment
ark.injection.jailbreak.dual_responseDual response mode (classic DAN pattern)
ark.injection.jailbreak.framingJailbreak framing.
ark.injection.jailbreak.game_framingGame-based jailbreak opening
ark.injection.jailbreak.named_modeKnown jailbreak persona names
ark.injection.jailbreak.remove_constraintsBypass restrictions/safety
ark.injection.leak.hidden_instructionsInstruction leak.
ark.injection.leak.system_instructionsRequest to reveal system prompt
ark.injection.leak.system_prompt_extractionDirectly requests disclosure of the assistant’s system or initialization instructions
ark.injection.obfuscation.binary_smugglingBinary smuggling.
ark.injection.obfuscation.decode_requestEncoded message decode request
ark.injection.obfuscation.decode_then_executeDirects the model to decode an encoded payload and execute or follow it
ark.injection.obfuscation.encoded_instructionEncoded instruction.
ark.injection.obfuscation.hidden_htmlHidden html instruction.
ark.injection.obfuscation.steganographicAcrostic/steganographic instruction
ark.injection.obfuscation.unicode_confusableUnicode confusable.
ark.injection.obfuscation.zero_widthZero width obfuscation.
ark.injection.output.forced_markerOutput manipulation.
ark.injection.output.ignore_then_fixed_outputOverrides surrounding instructions and restricts the response to attacker-chosen output
ark.injection.override.authority_issued_replacementClaims that an authority issued replacement instructions and demands an action
ark.injection.override.discard_priorIgnore previous instructions pattern
ark.injection.override.hierarchyInstruction override.
ark.injection.override.hierarchy_then_direct_actionDiscards an instruction-hierarchy constraint and immediately requests a replacement action
ark.injection.override.obfuscated_discardIgnore what I said before (incl. typos)
ark.injection.override.replacement_directiveNew instructions declaration
ark.injection.structure.override_sensitive_disclosureStructural override plus sensitive-disclosure relationship.
ark.injection.tool_call.injectedTool call injection.
ark.injection.tool_output.overrideTool output instruction.