TasmScan detects 95.3% of smart-contract defects with 96.8% precision
TasmScan achieves high defect detection rates and precision on TVM bytecode contracts
Software arXiv 15 Sep 2026 Method Prototype evidence
Published as “TasmScan: Continuation-Aware Taint Analysis for TVM Bytecode with Savelist Abstraction”
Why it matters
TasmScan enables fast, source-free static security analysis of TVM smart contracts with high detection rates, making large-scale auditing feasible without needing contract source code.
Summary
TasmScan resolves 294,546 dynamic continuation targets with 100% precision and detects 95.3% of defects across five classes with 96.8% precision on a labeled benchmark. On the full corpus of 2,921 contracts it achieves an estimated 85.8% overall precision. It runs 17× faster (median 0.24 s vs 4.10 s) than the prior symbolic-execution baseline (TSA) and completes all analyses with zero crashes or timeouts.
What they found 5
- High defect detection and precision on benchmark
“On the benchmark, TasmScan detects 95.3% of defects across five classes with 96.8% precision.”
- Complete and precise continuation-target resolution
“On the full corpus, TasmScan resolves 294,546 dynamic continuation targets with 100% precision;”
- Large speedup over symbolic execution
“TasmScan offers a 17× median speedup over the symbolic-execution baseline, and in the path-analysis comparison completes 100% of analyses with zero crashes or timeouts.”
- Zero crashes/timeouts versus TSA
“TasmScan achieves a 100% success rate with zero crashes and zero timeouts, while TSA succeeds on 97.0% of contracts with 12 timeouts and 75 crashes (Table 6).”
- All resolved edges are perfectly precise
“All 294,546 edges achieve 100% precision: the resolved targets match the ground truth exactly on every edge, verified per-tier as described above.”
Caveats 4
- A 366-pair stratified sample from the full corpus estimates 85.8% overall precision, lower than the 96.8% benchmark precision.
- Precision for the Precision Loss class on the full registry is only 73.6%, indicating rule-level limitations.
- Thus, the main limitation is source-language coverage rather than flagged-finding precision.
- Three classes are excluded: Global Variable Redefined and Inconsistent Data require source-level analysis (variable re-declaration and per-function cell-layout comparison), and Unchecked Return requires source-level variable-name tracking-none of which can be reliably performed at the bytecode level.
What’s new here 4
- Models TVM savelist semantics to enable cross-continuation data-flow reasoning at the bytecode level.
- Introduces a forward register analysis with a formal over-approximation guarantee for exact-resolved save sites.
- Lifts bytecode into a typed intermediate representation (TASIR) and performs continuation-aware taint analysis without source code.
- Achieves full CFG coverage and an order-of-magnitude speedup over the only prior bytecode-level analyzer (TSA).