Skip to content

Restrict Deno permissions by removing -A flag#18

Merged
irealva merged 2 commits intomainfrom
deno-permissions
May 26, 2021
Merged

Restrict Deno permissions by removing -A flag#18
irealva merged 2 commits intomainfrom
deno-permissions

Conversation

@irealva
Copy link
Copy Markdown
Contributor

@irealva irealva commented May 20, 2021

Specifically we are removing --allow-hrtime and --allow-plugin. All other permissions here allowed.

This closes #12

@irealva irealva requested a review from idan May 20, 2021 17:29
@irealva
Copy link
Copy Markdown
Contributor Author

irealva commented May 20, 2021

Resolves OCTO-236

@linear
Copy link
Copy Markdown

linear Bot commented May 20, 2021

Copy link
Copy Markdown
Contributor

@idan idan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like a reasonable set for most people. It's mostly about protecting users from malicious imports; if the user wanted to get around these they would have very little trouble doing Deno.run(whatever) and doing what they want.

👍🏻

@irealva irealva merged commit 6283443 into main May 26, 2021
@irealva irealva deleted the deno-permissions branch May 26, 2021 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Restrict unnecessary Deno permissions

2 participants