Skip to content
Patronus
Website

Rules and models

Gate IDs and the Ark 0.1.18 catalog for PII, DLP, attack classes, and Cat.

Use config.gates.rules for individual L1 rules and config.gates.models for detectors. An omitted switch inherits the service default. Enabling a rule does not enable a category you did not request; both its category and detector must be active. A model gate allows execution but does not force an L2 or L3 model to run.

The versioned Ark 0.1.18 L1 rule catalog is the complete source of stable rule IDs, category ownership, defaults, and score ranges. It includes 213 PII rules, 176 DLP regex rules, five relationship rules, 57 injection-family rules, 88 attack-class rules, and 117 Cat policy IDs. The hosted API validates gate-map syntax and forwards IDs; accepting an ID does not prove the rule exists. Use the exact catalog ID for a rule, then inspect the response on a representative input.

Model gateCategoryEffect
native:piipiiNative PII identifier rules.
native:dlpdlpNative credential, secret, and classification rules.
native:injection_l1Attack classesNative injection-family producers, each reported under its attack class.
native:threat_l1Attack classesBounded ark.threat.* rules, each reported under its attack class.
native:sensitive_material, native:mcp_runtime_risk, native:destructive_operationunsafe_actionRelationship rules with the retained dlp_* rule IDs.
native:secret_transferexfiltrationSecret-transfer relationship rule.
native:mcp_policydlpMCP policy relationship rule.
cat-shell-risk-commandershell_commandCat’s L1 risk model and Cedar policy verdict.

The dedicated injection path uses the Wolf Defender Small v2.2 L3 model and its matching injection NTDB at L2. The service chooses its pinned model revisions and strategy; config.gates.models can disable an available detector, not select a different release or model size. PII and DLP are L1-only. Cat is also L1, but requires a pinned model bundle.

{
"text": "alice@example.com",
"config": {
"categories": ["pii"],
"max_level": "L1",
"gates": {"rules": {"pii_email": false}}
}
}

The PII and DLP rule families use pii_* and dlp_* IDs. Most DLP business-content rules are opt-in; credentials, secrets, and classification markings are enabled by default. pii_mode and dlp_mode control which scored findings appear. See configuration.

The dlp_sensitive_material, dlp_mcp_runtime_risk, and dlp_destructive_operation IDs now report under unsafe_action; dlp_secret_transfer reports under exfiltration. Their IDs and on/off gates remain the same. Ark’s ark.injection.* and ark.threat.* rules likewise belong to specific attack classes. Selecting only injection does not run a jailbreak or prompt-extraction rule.

Cat’s policies have rule IDs prefixed with cat., such as cat.core.remote_to_exec. They are on unless gated off; service operators can add Cedar policies in the worker configuration. A public scan request can toggle an existing policy but cannot upload or replace one. See Cat results.