# forta-text-messages-agent

By [itogigoda](https://paragraph.com/@itogigoda) · 2022-05-16

---

forta-text-messages-agent
=========================

Search for text messages inside transactions

Supported Chains
----------------

*   Ethereum
    

Alerts
------

*   forta-text-messages-agent
    
    *   Fire when a transaction contains empty logs, value > 0, input\_data is not empty
        
    *   Severity is always set to "medium" if input\_data contains UTF-8 text, "high" if input\_dat contains one of the keywords (e.g. hack, scam, or the word insult (the list of words is in the file assault\_word.txt))
        
    *   Type is always set to "Info"
        
    *   description contains a "input\_data" in UTF-8
        

Test Data
---------

The agent behaviour can be verified with the following transactions:

*   0xce1cf623814118aae3e1caaac7bb409fcdd1e48f0794e11b86500260e13d6bb4 (input\_data '2018-01-15-T-04-30-14-930Z')
    
*   0x4989fa9d76a0f1a54236e6fb59823827ce98e063047b909308ed7552a739fef0 (input\_data 'you are such a looser for making scam contracts lmao hope you burn in hell one day jeet')
    

![example](https://storage.googleapis.com/papyrus_images/de5baf1625264d9e97e4ed3b017de6cd4102e4f67d565efd690e6fbd495cc68e.png)

example

[https://explorer.forta.network/agent/0x6c268855e6235395b7efbd7b556f4a00858906e7f303a3cc87c2cb1a12a82332?\_gl=1\*1b8x00l\*\_ga\*NzA4ODQ2MjM4LjE2NTEyNTU2NTY.\*\_ga\_3ERDDVRGQQ\*MTY1MjY0MTM3Mi4yMC4xLjE2NTI2NDYxOTEuMA..](https://explorer.forta.network/agent/0x6c268855e6235395b7efbd7b556f4a00858906e7f303a3cc87c2cb1a12a82332?_gl=1*1b8x00l*_ga*NzA4ODQ2MjM4LjE2NTEyNTU2NTY.*_ga_3ERDDVRGQQ*MTY1MjY0MTM3Mi4yMC4xLjE2NTI2NDYxOTEuMA..)

---

*Originally published on [itogigoda](https://paragraph.com/@itogigoda/forta-text-messages-agent)*
