GenDetect catches 98% of imitative DeFi attack cascades with low false rates
GenDetect can abstract a single observed DeFi attack into a detection rule that achieves 98% accuracy, 1% false positive rate, and 3% false negative rate
Software arXiv 28 Apr 2026 Method Prototype evidence
Published as “GenDetect: Generalizing Reactive Detection for Resilience Against Imitative DeFi Attack Cascade”
Why it matters
Enables faster, automated protection against follow-up DeFi exploits, potentially reducing financial losses from imitative attack cascades.
Summary
GenDetect detects imitative DeFi attacks with 98% accuracy, 1% false-positive rate and 3% false-negative rate, uncovering 56 previously unknown attacks, but its evaluation is limited to benchmark datasets and a zero-shot accuracy of 76% on Phalcon, indicating some gaps in real-world coverage.
What they found 4
- Over 69% of DeFi attacks show strong behavioral similarity to earlier incidents
“Our empirical analysis shows that over 69% of DeFi attacks exhibit strong behavioral similarity to earlier incidents”
- GenDetect attains 98% accuracy with 1% false-positive and 3% false-negative rates on benchmark tests
“GenDetect, which achieves strong benchmark performance (ACC: 98%, FPR: 1%, FNR: 3%)”
- On the DeFiHackLab benchmark, GenDetect reaches 98% F1 and <1% false positives, far better than Forta's 16% false-positive rate
“On the DeFiHackLab [42] benchmark, our approach achieves a crossvalidation F1-score of 98%, with a false positive rate under 1%- substantially lower than the 16% reported by the tool Forta [20].”
- In zero-shot tests on Phalcon, GenDetect attains 76% accuracy versus 65% for Forta
“In zero-shot evaluation on the Phalcon [14] dataset, our method achieves 76% accuracy, compared to 65% by Forta.”
Caveats 2
- False-negative rate of 3% indicates some attacks are missed
- Zero-shot accuracy of 76% shows limited generalization to unseen datasets
What’s new here 4
- Automatically converts a single observed exploit into a reusable detection rule without manual rule authoring
- Uses open-source contract code to semantically classify function signatures rather than relying on keyword matching
- Introduces token-type-aware set-based similarity (ANSD) that is robust to noise and call reordering
- Achieves real-time detection with a false-positive rate under 1%, far lower than prior tools