usebruno/bruno

Consider using stronger ACL on Environment files

オープン

#2,016 opened on 2024/04/04

 (1 件のコメント) (1 件のリアクション) (0 人の担当者)JavaScript (2,403 件のフォーク)batch import
good first issuehelp wantedmodule-environmentsmodule-filesystemmodule-security

Repository metrics

Stars
 (43,787 個のスター)
PR merge metrics
 (PR metrics pending)

説明

Issue

When an Environment file is created, it is typically stored in the environments directory. On 'nix/BSD environments, those files are stored with world-readable perms (644 to be exact). While there is already some protection for sensitive data by using the "Secrets" checkbox, I could see people who accidentally/mistakenly still store sensitive creds and keys which could expose them.

I'd recommend you set an ACL for the Environment files to 600 by default. I can confirm that Bruno will continue to read and write to them just fine with those permissions set.

コントリビューターガイド