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

Add additional dangerous extensions #6929

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

krsakshi
Copy link

@krsakshi krsakshi commented Jul 2, 2024

First time contributor checklist:

Contributor checklist:

  • My contribution is not related to translations.
  • My commits are in nice logical chunks with good commit messages
  • My changes are rebased on the latest main branch
  • A npm run ready run passes successfully (more about tests here)
  • My changes are ready to be shipped to users

Description

Addition of New File Extensions to isfiledangerous.ts

The isfiledangerous.ts is updated to add support for four new file extensions:

  • GADGET, SCF, SH, WS

By recognizing more file types, we can better prevent the upload and execution of potentially harmful files.

@PastaPastaPasta
Copy link

Hi!

SH and WS file types make obvious sense for why you may want to avoid them. Can you justify or explain why GADGET / SCF? How'd you find / decide to avoid those

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants