/ rtmbot.conf
rtmbot.conf
 1  DEBUG: True # make this False in production
 2  SLACK_TOKEN: "" # "xoxb-11111111111-222222222222222" # api token
 3  ACTIVE_PLUGINS:
 4      - plugins.URLMonitor.URLMonitor
 5      - plugins.AddressMonitor.AddressMonitor
 6      # - plugins.EarlyWarning.EarlyWarning
 7      - plugins.utils.CommunityWarning
 8      - plugins.utils.ChannelJoiner
 9  
10  # Channel Joiner
11  # URL Monitor
12  # User Checker (check emails and compare cross-slack)
13  # Address Checker
14  
15  # Essential
16  # - TODO Adds bot to all channels first step
17  # - Private channels will monitor links (from his database and google safebrowser API) and send message to user if harmful
18  # - Public channels ^ same
19  # - DM's and Slackbot ^ same after "testing is done"
20  # - DM who installed the bot gets a Malware & phishing link sent to them (owner)
21  # - Will monitor DM's and slackbot (after next release) - analyze any link - send separate DM to the person who received the link saying it's a scam as well as the user gets a DM
22  # - internal database and utilizing google safebrowser API
23  # - Automated blacklist created from bot
24  # - Whitelist links
25  
26  # Nice to Haves
27  # - CRM For all users - details about email address / location
28  # - Links analytics - shows details about shared links in analytics
29  # - Team usage updates
30  # - Trying to build machine learning to find bad actors across multiple communities.
31  
32  # - Said he needs to "rethink" dming every time someone receives a harmful link because you don't want 4K dms
33  
34  # - create a bot that acts as a honeypot user, that any slack community setup
35  # - all bots connect to a realtime chat  where they share information with each other
36  # -  listens for dm's and slackbot
37  # - check urls
38  # - have a  !warn function  that can be called by trusted community members, which subsequently warns all admins
39  # - compare hash(email)'s of  flagged users across slacs
40  
41  # levenstein distance on messages and emails
42  
43  ChannelJoiner:
44  # Allows you to define a list of channels to join.
45      DEBUG: True
46      JOIN_ALL_CHANS: False # Note Bot cannot join groups without an invite.
47      CHANNELS: # Define list of channels if JOIN_ALL_CHANS is False
48          - "#general"
49  
50  CommunityWarning:
51  # Allows community to flag a user or url via !warn http://foo.bar or !warn @jarradhope
52      DEBUG: True
53      TRIGGER: "!warn"
54      MODERATE_CHAN: "#internal-moderator" # Note invite bot into this channel if private.
55      WHITELIST:
56        - "@jarradhope"
57  
58  EarlyWarning:
59      DEBUG: True
60      PUB: ""
61      SUB: ""
62  
63  URLMonitor:
64  # Monitors DM's, Channels & Groups for Bad URLS
65      DEBUG: True
66  
67      # Channel which posts any detections, prepending ALERT_USERS to message for notification.
68      MODERATE_CHAN: "#internal-moderator" # Note invite bot into this channel if private.
69      MODERATORS:
70          - "@jarradhope"
71          # - "@here"
72  
73      # Instructions to get a v4 key here: https://developers.google.com/safe-browsing/v4/get-started
74      GOOGLE_SAFE_BROWSING: True
75      GOOGLE_SAFE_BROWSING_API_KEY: ""
76      
77      WARNING_ON_DETECTION: True
78      WARNING_MESSAGE : ":warning: Be careful clicking links. It may be safe to visit, but do not send your private keys, ETH or BTC to any address shown on unofficial websites. :warning:"
79      
80      # BLACKLIST_REFRESH_RATE: 300 # TODO
81      BLACKLISTS:
82          # https://github.com/MyEtherWallet/ethereum-lists
83          - "https://raw.githubusercontent.com/MyEtherWallet/ethereum-lists/master/urls-darklist.json"
84  
85  AddressMonitor:
86  # Monitors DM's, Channels & Groups for Addresses
87      DEBUG: True
88      ADDRESS_REGEX_WARNING: True
89      BLACKLISTS:
90          - "https://raw.githubusercontent.com/MyEtherWallet/ethereum-lists/master/addresses-darklist.json"