Overview
RAXE uses two classification systems:- L1 (Rule-Based): 7 threat families based on regex rules
- L2 (ML-Based): 14 threat families from neural classifier (plus “benign” as a classification output)
L1: Rule-Based Families
RAXE organizes 515+ detection rules into 7 L1 threat families (plus 4 agentic families):Agentic Rule Families (4)
Prompt Injection (PI)
Attempts to override system instructions or extract hidden prompts. Examples:pi-*)
Jailbreak (JB)
Persona manipulation to bypass safety guidelines. Examples:jb-001 through jb-077
PII Detection (PII)
Identifies personally identifiable information and credentials. Detects:- Credit card numbers
- Social Security Numbers
- Email addresses
- API keys and secrets
- Phone numbers
- Addresses
pii-001 through pii-112
Command Injection (CMD)
Shell command and code execution attempts. Examples:cmd-*)
Encoding/Obfuscation (ENC)
Evasion techniques using encoding or character manipulation. Techniques detected:- Base64 encoding
- ROT13/ROT47
- l33t speak (1gn0r3)
- Unicode homoglyphs
- Zero-width characters
- Morse code
enc-*)
Harmful Content (HC)
Toxic, violent, or policy-violating content. Categories:- Hate speech
- Violence instructions
- Self-harm content
- Illegal activities
hc-001 through hc-065
RAG-Specific Attacks (RAG)
Attacks targeting Retrieval-Augmented Generation systems. Types:- Context poisoning
- Document injection
- Retrieval manipulation
- Data exfiltration
rag-001 through rag-012
Filtering by Family
L1 Severity Levels
Each L1 rule detection has a severity (5 levels):L2: ML-Based Families
The L2 neural classifier uses 14 threat families trained on real-world attack data:The classifier also outputs
benign when no threat is detected. This is a classification result, not a threat family.L2 Severity Levels
The L2 model outputs 3 severity classes:L2 confidence scores are mapped to the 5-level API severity (CRITICAL → INFO) for consistency with L1. See Detection Engine for threshold details.
L2 Attack Techniques
The L2 model classifies 35 specific attack techniques that map to the threat families above. Examples include:instruction_override- Direct instruction manipulationrole_or_persona_manipulation- Persona hijacking (DAN, etc.)system_prompt_or_config_extraction- Extracting hidden promptsencoding_or_obfuscation- l33t speak, Base64, etc.indirect_injection_via_content- Attacks via external contenttool_abuse_or_unintended_action- Misusing agent toolsgoal_or_task_hijack- Redirecting agent objectivesprivilege_escalation_attempt- Gaining elevated accessmemory_or_context_manipulation- Corrupting agent statesocial_engineering- Manipulating human trust
L2 Harm Types
The L2 model also performs multilabel classification across 10 harm types:A single prompt can trigger multiple harm types (multilabel). For example, a phishing attempt might trigger both
crime_or_fraud and privacy_or_pii.L1 and L2 use different classification systems. L1 provides fast, precise pattern matching while L2 provides semantic understanding of novel attacks.
