Mantle AI Hackathon · Track 02 "AI Alpha & Data"

Your protocol has
a behavioral fingerprint.
We guard it.

Mantle Sentinel watches every transaction and learns the normal behavioral signature of your contract — and alerts you the instant it changes. No training data. No labeled exploits. Zero false positives on real streams.

109 tests passing
Live on Mantle mainnet
Open source
SENTINEL ACTIVE ✓
Monitoring · drift: 0.07
separation ratio vs baseline
(Sentinel vs FreqBase)
0
false positives on
real USDC.e stream
≤2
tx windows to detect
S1–S5 attack scenarios
0
deterministic tests
passing on clean checkout

Existing security tools
are blind to novel exploits

The DeFi ecosystem lost $1.8B to exploits in 2024 alone. Signature scanners only catch what they've already seen.

Exploits use valid function calls

Flash loans, reentrancy, and price manipulation go through normal contract methods. Signature scanners and rule-based tools see nothing unusual until the funds are drained.

ML models fail on zero-days

Models trained on historical exploits have 0% recall on novel attack vectors. You can't train on data that doesn't exist yet. The next exploit is always the first of its kind.

Slow drift evades static thresholds

"Boil the frog" attacks shift contract behavior over hundreds of transactions, always staying just below fixed alert thresholds — until the damage is already done.

Watch it catch attacks in real time

The drift signal spikes the moment transaction patterns deviate from baseline. Detection happens within 2 sliding windows.

Drift Score Monitor
USDC.e · W=50 · θ=0.65
θ=0.65 0.0 0.5 1.0 ⚠ ALERT attack detected
window 0attack onset →window 100
Transaction Feed
updating...
0x4f2a…d8transfer()0.07CLEAN
0x8c1b…a3approve()0.09CLEAN
0x2e7f…11transferFrom()0.11CLEAN
0x9d3c…55transfer()0.06CLEAN
0x1a8e…c2approve()0.08CLEAN
0x7b4d…f9flashLoan()0.87 ⚠ALERT
0x5c2f…88transfer()0.09CLEAN
0x3e9a…44transferFrom()0.10CLEAN
0x6b1c…77approve()0.61BOCPD
0x4f2a…d8transfer()0.07CLEAN
0x8c1b…a3approve()0.09CLEAN
0x2e7f…11transferFrom()0.11CLEAN
0x9d3c…55transfer()0.06CLEAN
0x1a8e…c2approve()0.08CLEAN
0x7b4d…f9flashLoan()0.87 ⚠ALERT
0x5c2f…88transfer()0.09CLEAN
0x3e9a…44transferFrom()0.10CLEAN
0x6b1c…77approve()0.61BOCPD

5-tier detection pipeline

Each tier filters a different attack surface. From timing floods to slow behavioral drift — nothing gets through.

T0
Spam Filter
k=20 sub-interval txs → spam_attack
timing flood
T1
Entropy
|H − μ| > 4σ → instant alert
hard alert
T2
HDC Encoder
D=10,000 bipolar vectors, W=50 window
fingerprint
T3
Drift Signal
max(Hamming/D, |z_timing|) · MAD norm
0.07 → 0.87
T4
Detector
Static θ=0.65 k=3 or BOCPD
episode
T5
Fan-out
Z.ai explain → Telegram → on-chain
anchored

Dream Mode — Self-Healing Baseline

Every N=100 safe windows, the behavioral prototype consolidates automatically. No retraining, no labeled data, no human intervention.

P_new = sign(λ·P_old + Σ V_safe)

Real numbers, anchored on-chain

All benchmarks deterministic (seed=1337). The on-chain anchor is a live Mantle mainnet transaction.

Metric Sentinel FreqBase
Separation ratio (clean p99 / injected p50) 4.3× ▲ winner ~1.2×
S1 detection delay (hi-entropy attack) ≤ 2 windows N/A
S6 slow-drift detection (n=8,000) 99 windows caught undetected
Dream Mode FP delta (clean stream) −6% (16→15 ep.)
False positives · real USDC.e stream 0
Test suite 109 passed
On-chain · Mantle Mainnet
SentinelAlertRegistry
Registry contract
Block
96,624,965
Status: 1 · Confirmed ✓

Built for production DeFi

No Training Data Required

Hyperdimensional Computing builds a behavioral fingerprint from live transactions. No historical exploits needed — works from block zero.

Explainable Alerts via Z.ai

Every alert comes with feature-ablation attribution. "Selector distribution shifted 61%, gas 22% above baseline." Not a black box.

Dream Mode Self-Healing

Baseline evolves with normal behavior automatically. No manual recalibration after protocol upgrades or seasonal pattern shifts.

BOCPD for Slow Drift

Bayesian Online Change Point Detection catches gradual attacks that stay below fixed thresholds. Plug-in via SENTINEL_DETECTOR=bocpd.

Immutable On-Chain Record

SentinelAlertRegistry logs every alert to Mantle mainnet. Tamper-proof audit trail for forensics, compliance, and insurance claims.

6 Attack Scenarios Covered

S1 hi-entropy, S2 gas spike, S3 selector flood, S4 timing burst, S5 function mix, S6 slow drift. All deterministically validated.

Start protecting your protocol today.

Open source. Runs on Mantle. Requires zero training data. Deploy the sentinel in minutes — before the next exploit.

Mantle AI Hackathon 2026 · Track 02 "AI Alpha & Data" · Demo Day Jul 2–3 · Built with ❤ on Mantle Network