interlock-network / bouncer

Discord bot to scan & neutralize malicious links
GNU General Public License v3.0
5 stars 0 forks source link

Threatstream: The private channel for mods to categorize local GrAEs #104

Open DecentralizedDan opened 2 years ago

DecentralizedDan commented 2 years ago

There will be a private channel populated by Bouncer that contains the following:

Here's what will be posted in the Threatstream:

Mods will vote up or down on whether these items are safe or not

Items voted safe and unsafe will be sent BE, along with user ID and mod ID, to protect other servers where these come up

DecentralizedDan commented 2 years ago

Flagging Spam for Threatstream Process

flowchart TD
START([OP posts]) --> A(User flags post)
A --> AA{Is message\nprotected?}
AA --> |Yes|AAA([Ignored])
AA --> |No|B(Bouncer prompts user to\ncut-and-paste the URL)
B --> |Escape|BAILS([User bails])
B --> C{Was the string\nin the message?}
C --> |Yes|E{Is the content a GrAE?\nURL, wallet ID, email...}
E --> |No|D("Bouncer prompts for #quot;translation#quot;")
D --> |Escape|BAILS
C --> |No|B
D --> E{Is the string a URL?}
E --> |Yes|THREAT(Data sent to Threatstream:\nOP, Channel, Reporter, URL, Message)
THREAT --> EE>Logged]
EE --> H{Mod agrees?}
H --> |Yes|BE(Data sent BE)
BE --> DELETED(Message deleted)
DELETED --> DM([OP is DM'ed])
DELETED --> G>Logged]
H --> |No|I(Bouncer posts that\nmessage is permitted)
I --> G
I --> END([Message is protected])