Status: 12/12 Tests Passing
This is the verification layer for the evk deterministic bundle validator.
Adversarial Compliance Matrix
A Rust CLI tool for simulating and detecting 12 real-world compliance and adversarial incidents.
What is it?
Adversarial Compliance Matrix lets you generate and verify "compliance artifacts" (.evkp files) that represent different types of security, operational, or adversarial incidents.
It’s a lightweight training, testing, and red-teaming tool — perfect for understanding how systems fail under pressure.
Features
- Fast Rust-based verification engine
- 12 realistic adversarial/compliance incident types
- Fixture generator for easy testing
- Clean command-line interface (
evk verify)
The 12-Incident Matrix
| Incident | Code | Description |
|---|---|---|
| Handoff Conflict | 0x0F2E |
Step executed by wrong actor |
| Race Condition | 0x0E1A |
Concurrent modification |
| Orphaned Step | 0x0D44 |
Step with no parent process |
| Transaction Replay | 0x1A4F |
Re-execution of prior transaction |
| Schema Mutation | 0x1B88 |
Unexpected data structure change |
| Log Truncation | 0x1C2B |
Critical log entries removed |
| Packet Modification | 0x2A90 |
In-transit data tampering |
| Timestamp Drift | 0x2B11 |
Significant clock skew |
| API Spoofing | 0x2C7F |
Impersonated service endpoint |
| Prompt Injection | 0x3A01 |
Malicious input to LLM/system |
| Entropy Leakage | 0x3B99 |
Cryptographic material exposed |
| Register Forgery | 0x3C4D |
Tampered hardware/software register |
Quick Start
git clone https://github.com/DeadLee702/adversarial-compliance-matrix.git
cd adversarial-compliance-matrix
# Build the project
cargo build --release
# Generate test fixtures
cargo run --bin gen_fixtures
# Verify an incident file
cargo run --bin evk -- verify fixtures/incident_handoff_conflict.evkp
## Related Projects
This is part of a three-layer deterministic verification stack:
- **[evk](https://github.com/DeadLee702/evk)** (Bundle validation & determinism)
- **[gemini-box](https://github.com/DeadLee702/gemini-box)** (Cryptographic signing & verification)
- **[adversarial-compliance-matrix](https://github.com/DeadLee702/adversarial-compliance-matrix)** ← You are here (12 incident detection tests)

Log in or sign up for Devpost to join the conversation.