The system, called MOS, adapts a large language model by giving it several specialized networks, each focused on different vulnerability patterns. A routing system selects the networks most relevant to the code being examined, while training data includes explanations checked by experts.

Across four established vulnerability types—reentrancy, timestamp dependency, integer overflow or underflow, and delegatecall—MOS improved average F1 score by 6.38% and accuracy by 4.84% compared with existing methods. In further tests covering access control, price-oracle manipulation, logic errors, missing input validation, slippage, and risky first deposits, it achieved an average F1 score of 83.94% and average accuracy of 87.82%.