About how to detect anormalous transactions

Thanks for your reply @fabrice .

I think currently it is not possible to solve the first issue on the smart contract. I remember there is a limit of computation power on the smart contract. Simply I can’t write the malcontent detection code inside the contract TEAL code. Any idea on this problem?