Skip to content

Threat classes and rule families

Ark Core answers eleven questions about attacks on models and agents, one category per attack class. The rules of a class are grouped into families: one family is one shape of the attack (for example an imperative to discard earlier instructions, or a request to repeat the system prompt), described by its word classes, anchor terms and the context that supports or weakens it. A result's details.matched_rules names each rule; the rule catalog lists every rule with its family. Core families are the shapes each class covers in German and English; extended and optional families add coverage where a class needs it.

Category Families (core / extended / optional) Rules L1 decision
injection 11 (9 / 0 / 2) 44 rules and their scorer
jailbreak 12 (10 / 0 / 2) 16 rules and their scorer; a built-in text model can be added through a cascade configuration
prompt_extraction 8 (6 / 1 / 1) 4 rules and their scorer; a built-in text model can be added through a cascade configuration
tool_poisoning 10 (3 / 5 / 2) 10 rules and their scorer
agent_config_tampering 12 (3 / 8 / 1) 15 rules and their scorer
memory_poisoning 12 (4 / 6 / 2) 7 rules and their scorer
exfiltration 8 (3 / 3 / 2) 20 rules and their scorer
unsafe_action 13 (7 / 4 / 2) 47 rules and their scorer
resource_exhaustion 7 (3 / 2 / 2) 7 rules and their scorer
harmful_content 7 (3 / 2 / 2) 10 rules and their scorer; a built-in text model can be added through a cascade configuration
toxic_language 8 (6 / 1 / 1) 9 rules and their scorer

Points

A threat rule that carries points scores each finding on an integer scale from 0 to 100, divided by 100:

  • Base points of the rule: how specific its pattern is on its own.
  • Validator strength: structure +25 (decoded or parsed structure verified), format +15, none +0.
  • Anchors: +5 for each anchor term the rule requires in its match, at most three.
  • Context in the same clause: a supporting term (an addressed agent, secrecy, a foreign sink) adds +25, +20 or +15 by distance; counter context (security documentation, a quoted example, test code, a negation of the action) subtracts 30.

Base, validator, anchor and support points are never negative and only counter context subtracts, so a further supporting term never lowers a score. A finding is accepted from threat_points_acceptance (default 0.5, see configuration); a finding in counter context is never accepted, and a rule that requires context needs a supporting term. Rules without points are decided by the class's logistic scorer over the matched rules (see Threat L1). A built-in text model, where a cascade configuration adds one, only scores the text the rules leave undecided. Scores are not calibrated probabilities.

Rule sources and attribution

Rules taken over or adapted from open-source projects keep their upstream repository, revision and rule ID next to the rule. Only MIT- or Apache-2.0-licensed sources are used. Every rule can be switched off with rules={"<rule id>": false}.

Catalogs shipped in Ark Core

Upstream Revision Licence Rules
https://github.com/agencyenterprise/PromptInject 2928a719d5de62d3766226f1b44c51d9570bc530 MIT 2
https://github.com/luckyPipewrench/pipelock b4104d5af05b2d861ee6cff43e8d099dbc141c82 Apache-2.0 7
https://github.com/prompt-armor/prompt-armor 95e532e275280488b3abacb519f8b14ae17a9dcb Apache-2.0 73

Inventoried open-source rule sets

Rule sets compared against Ark's families. A rule qualifies for adoption when its licence allows it, it maps to an attack class and it is a deterministic text matcher that compiles without lookaround or backreferences; a qualified rule is only kept when it holds its precision on Ark's evaluation data.

Project Repository Commit Licence Rules Qualified
Agent Threat Rules https://github.com/Agent-Threat-Rule/agent-threat-rules a0b314dfd24ea33ae63225106771b692459ff546 MIT 844 590
pipelock https://github.com/luckyPipewrench/pipelock d97bee5b563357517fa4c7efaf0eaf2cd5663d26 Apache-2.0 108 38
Cisco mcp-scanner YARA https://github.com/cisco-ai-defense/mcp-scanner 9ff8fc84b792aae315a838cf4e37b40ef46a0293 Apache-2.0 126 101
seojoonkim/prompt-guard https://github.com/seojoonkim/prompt-guard ce4356bfe714ce34e16704a5a6668d5c829309e1 MIT 1063 877
Vigil https://github.com/deadbits/vigil-llm f2b4c134d060bae81d29fad07003f3c657e63fc8 Apache-2.0 49 22
NeMo Guardrails injection YARA https://github.com/NVIDIA/NeMo-Guardrails 093ae1fc7b3eb4701864e9604d6849977947713d Apache-2.0 48 19
LlamaFirewall regex scanner https://github.com/meta-llama/PurpleLlama 7e163b68c0af2ced1fae19ddbd471a8c36341519 MIT 5 1
SkillSpector static YARA https://github.com/NVIDIA/SkillSpector 5f0f73dd204ad2454cca4ad63b06e60ad1ec3648 Apache-2.0 168 43
sentinel-ai https://github.com/MaxwellCalkin/sentinel-ai 876aff3cdbca15955b0e649cc19117730b10a203 Apache-2.0 155 71
citadel https://github.com/TryMightyAI/citadel 66f3ca490a6a7768ec5300aa7bad5bff15d69c68 Apache-2.0 372 175

injection

Family Shape Priority Rules
discard_prior Imperative to discard prior instructions, rules or instruction hierarchy core 9
replacement_directive Declares new instructions that replace the current ones core 2
precedence_claim Claims a directive takes precedence over the model's own instructions core 0
role_spoof Forged role markers, chat template tokens or delimiter boundaries core 7
authority_claim Claimed developer, admin or system authority used to issue a directive core 5
forced_output Discard plus attacker-fixed response or marker core 2
hidden_directive AI-addressed directive in a hidden carrier (HTML comment, invisible markup, tool output) core 3
tool_result_directive Directive or serialized tool call injected into tool/function result content core 2
agent_directive Third-party content addressing the agent with an action verb core 4
decoded_instruction Injection pattern visible only in a decoded view, or decode-then-follow request optional 8
obfuscation_normalised Zero-width, Unicode tag or confusable obfuscation (core normalisation, fact only) optional 2

jailbreak

Family Shape Priority Rules
unbounded_persona Role-play or identity reassignment into a persona without limits core 6
privileged_mode Activation of a developer/debug/god mode or unrestricted response mode core 1
policy_spoof Claims safety policy is disabled, lifted or reset, or directs bypassing it core 4
refusal_suppression Directive to never refuse, warn or add disclaimers core 2
dual_response Two answers, one normal and one unfiltered core 1
priming Prescribed affirmative response opener core 0
reward_threat_game Reward or threat game aimed at the model core 0
false_consent In-text claim of prior agreement to bypass limits core 2
many_shot Many forged dialogue turns inside one input core 0
cot_forgery Forged reasoning or policy block claiming permission core 0
fiction_frame Hypothetical or fictional framing alone (weak signal) optional 0
decoded_jailbreak Jailbreak pattern visible only in a decoded view optional 0

prompt_extraction

Family Shape Priority Rules
reveal_hidden Request to reveal the system prompt or hidden instructions core 2
verbatim_above Repeat everything above this message verbatim core 1
own_instructions Question about the model's own instructions core 1
transform_target Extraction via translation, encoding, summary or reformatting of the hidden prompt core 0
completion_prime Primes continuation of the hidden prompt core 0
tool_schema Request to reveal tool definitions or function schemas core 0
guardrail_rules Request to reveal moderation or safety rules extended 0
decoded_extraction Extraction pattern visible only in a decoded view optional 0

tool_poisoning

Family Shape Priority Rules
sensitive_file_param Tool metadata tells the model to read a sensitive file and pass it in a parameter core 1
secrecy_directive Directive in tool description that tells the model to hide something from the user core 1
shadowing Tool description changes the behaviour of another tool core 4
side_channel_param Parameter meant to collect history, prompt or secrets extended 1
hidden_markup Hidden markup in tool metadata carrying a directive to the model extended 1
preamble_directive Mandatory preamble demanding an action unrelated to the tool purpose extended 0
model_address Bare address to the model in tool description (weak) optional 0
decoded Any tool poisoning pattern found in a decoded view optional 0
tagged_tool_directive IMPORTANT-tagged block with a tool-call directive (own carrier) extended 1
cross_server_forward Collect data from connected services and forward it through a tool extended 1

agent_config_tampering

Family Shape Priority Rules
permission_widening Agent config widens permissions (auto-approve, allow all, sandbox off) core 4
guard_removal Removing or disabling a protective hook or check in agent config core 2
hidden_directive Hidden or secret directive to the model inside rules or skill files core 1
fetch_run Download-and-run instruction inside skill or rules text extended 1
mcp_server_injection MCP server entry with foreign command source or secret-forwarding env extended 1
persistence Rule that writes itself into further config files or sessions extended 1
tamper_request Plain-text request to change an agent config to widen rights or drop guards extended 1
decoded Any agent config pattern in a decoded view optional 0
approval_bypass Rules file that drops the confirmation step extended 1
concealment Rules file that hides itself from the user extended 1
secret_harvest Rules file that reads secrets or runs a fetched script before every task extended 1
code_sabotage Rules file that asks for weakened code or an unauthenticated backdoor extended 1

memory_poisoning

Family Shape Priority Rules
conditional_trigger Future trigger that installs deviating behaviour core 0
persistent_directive Store or permanence verb plus a behaviour-changing directive core 1
state_claim Forged identity or system-state claim meant to be stored core 1
self_replication Instruction meant to copy itself into outputs or notes core 0
memory_reset Memory reset aimed at the agent followed by a new rule extended 1
hidden_store Store request combined with secrecy extended 0
store_hint Store plus permanence without visible behaviour change (weak) optional 0
decoded Any memory poisoning pattern in a decoded view optional 0
persistent_trigger Highest-priority memory with a trigger on every new conversation extended 1
memory_tool_write Feed or inject hidden content into the memory (bio) tool extended 1
forged_memory_entry Forged memory file entry that switches off safety or follows a remote URL extended 1
memory_beacon Stored note that calls a URL on every interaction and hides it extended 1

exfiltration

Family Shape Priority Rules
markdown_beacon Markdown image or link whose URL carries a data placeholder core 1
send_directive Directive to send a data source to a foreign sink core 8
secret_to_sink DLP hit or sensitive path routed to a sink in the same structure core 7
tool_param_egress Directive to put a data source into an outbound tool parameter extended 2
dns_channel Data encoded as subdomain of a foreign domain extended 1
link_smuggling Invisible characters or long encoded values in a URL to carry data extended 1
collector_only Known collector service without source or direction (weak) optional 0
decoded Any exfiltration pattern in a decoded view optional 0

unsafe_action

Family Shape Priority Rules
credential_access Request or code that reads credential stores or secret files for the agent core 4
metadata_ssrf Fetch directive or code aimed at cloud metadata or internal endpoints core 3
credential_phishing Confirm credentials at a link or redirect a password-reset flow extended 1
destructive_request Prose request for irreversible deletion of broad targets core 7
security_disable Disable or bypass a security control core 2
fetch_and_run Prose instruction to download and run foreign code core 3
container_escape_config Privileged / host-mount container settings in YAML or JSON config core 5
privilege_widening Grant admin/root/full access to a user or service extended 3
persistence Install foreign code to run at startup or on schedule extended 3
unsafe_code Unsafe code constructs on untrusted data core 10
unattended Prose demand to act without consent or human approval extended 6
destructive_hint Destructive verb alone, addressed to the agent (score only) optional 0
decoded Any unsafe_action pattern in a decoded view optional 0

resource_exhaustion

Family Shape Priority Rules
recursive_spawn Spawn agents/tasks that spawn again or call themselves core 1
unbounded_repeat Repeat output forever / without stopping core 2
huge_output Output request with count above the configurable threshold core 1
tool_flood Maximise tool calls, tokens or fetched pages extended 1
decoy_compute Decoy compute task in foreign content before the real answer extended 2
loop_hint Unbounded adverb alone, addressed to the agent (score only) optional 0
decoded Any resource_exhaustion pattern in a decoded view optional 0

harmful_content

Family Shape Priority Rules
howto_hazard Request framing plus hazard class in one clause core 7
quantified_recipe Hazard plus requested quantities, purity or sourcing extended 0
evasion Hazard or crime plus evasion of detection extended 1
child_safety Minor reference plus sexual reference (hashed lexicon, no counter context except protection/reporting) core 1
self_harm_intent First-person intent or method for self-harm core 1
hazard_mention Hazard term without request framing (score only) optional 0
decoded Any harmful_content pattern in a decoded view optional 0

toxic_language

Family Shape Priority Rules
group_derogation Slur or derogatory statement about a protected group core 2
dehumanisation Group compared to animals, vermin or disease core 1
threat Violence verb against a person or group with intent/future core 1
insult_addressee Insult aimed at an addressed person core 3
harassment Harassment of an addressed person (telling them to harm themselves, naming where they live) core 1
toxic_request Request to produce toxic text (derogatory language, hate speech, slurs, a degrading message, stereotypes) core 1
sexual_harassment Sexualised harassment of an addressed person extended 0
profanity Untargeted profanity (score only) optional 0