Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic deletion of executable files #471

Closed
GhostofGoes opened this issue Oct 1, 2019 · 3 comments
Closed

Automatic deletion of executable files #471

GhostofGoes opened this issue Oct 1, 2019 · 3 comments
Assignees
Labels
a: moderation Related to community moderation functionality: (moderation, defcon, verification) p: 3 - low Low Priority

Comments

@GhostofGoes
Copy link
Contributor

Remove executable or potentially executable files that may be malicious (malware, spam, zip bombs, etc.).

Per Lemon: "Staff meeting consensus is that we can start simple by whitelisting certain extensions and deleting everything else. If people try to get around this with malicious hybrid filetypes or whatever, we will discuss maybe using ClamAV to scan files, but for now, we'll keep it simple. This should just be another filter, like mentionspam."

Org issue: https://github.com/python-discord/organisation/issues/142

Implementation

  • Implement rule method (similar one that exists is bot/rules/attachments
  • Determine an appropriate whitelist (can probably push something reasonable then hammer it out during a meeting or review)
@GhostofGoes GhostofGoes added a: moderation Related to community moderation functionality: (moderation, defcon, verification) p: 3 - low Low Priority type: enhancement labels Oct 1, 2019
@bendiller
Copy link
Contributor

bendiller commented Oct 11, 2019

Hi! Is anyone working on this? I'd like to take care of it, if it's open. I already threw together a quick prototype to make sure I understood how to implement this - I should be able to submit a PR pretty quickly.

@lemonsaurus
Copy link
Member

Nobody is working on this, feel free to have a go at it!

@sco1
Copy link
Contributor

sco1 commented Oct 25, 2019

Merged by #528

@sco1 sco1 closed this as completed Oct 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a: moderation Related to community moderation functionality: (moderation, defcon, verification) p: 3 - low Low Priority
Projects
None yet
Development

No branches or pull requests

4 participants