1
0
mirror of https://github.com/securego/gosec.git synced 2025-02-21 19:06:30 +02:00
Cosmin Cojocar 0d332a1027 Add a new rule which detects when a file is created with os.Create but the configured permissions are less than 0666
It seems that the os.Create will create by default a file with 0666 permissions.

This should be detected when the configured permissions are less than 0666. By default will not detect this case
unless the more restrictive mode is configured.

Signed-off-by: Cosmin Cojocar <gcojocar@adobe.com>
2023-09-25 13:24:34 +02:00
..
2023-03-20 10:25:45 +01:00
2023-03-20 10:25:45 +01:00
2023-03-20 10:25:45 +01:00
2023-02-16 09:45:28 +01:00
2023-03-20 10:25:45 +01:00
2023-03-20 10:25:45 +01:00
2023-03-20 10:25:45 +01:00
2023-03-20 10:25:45 +01:00
2023-03-20 10:25:45 +01:00
2023-03-20 10:25:45 +01:00
2022-01-03 18:11:35 +01:00
2023-03-20 10:25:45 +01:00
2023-03-20 10:25:45 +01:00
2023-03-20 10:25:45 +01:00
2023-03-20 10:25:45 +01:00
2023-03-20 10:25:45 +01:00
2023-03-20 10:25:45 +01:00
2023-02-16 09:45:28 +01:00
2023-03-20 10:25:45 +01:00
2023-03-20 10:25:45 +01:00