CodeAnt AI home pagelight logodark logo
  • Dashboard
  • Dashboard

Permissions

incorrect-default-permission

Detected file permissions that are set to more than 0600 (user/owner can read and write). Setting file permissions to higher than 0600 is most likely unnecessary and violates the principle of least privilege. Instead, set permissions to be 0600 or less for os.Chmod, os.Mkdir, os.OpenFile, os.MkdirAll, and ioutil.WriteFile
CWE:
- C
- W
- E
- -
- 2
- 7
- 6
- :
-

- I
- n
- c
- o
- r
- r
- e
- c
- t
-

- D
- e
- f
- a
- u
- l
- t
-

- P
- e
- r
- m
- i
- s
- s
- i
- o
- n
- s

Assistant
Responses are generated using AI and may contain mistakes.
twitterlinkedin
Powered by Mintlify
  • Documentation
  • Demo Call with CEO
  • Blog
  • Slack
  • Get Started
    • CodeAnt AI
    • Setup
    • Control Center
    • Pull Request Review
    • IDE
    • Compliance
    • Anti-Patterns
    • Code Governance
    • Infrastructure Security Database
    • Application Security Database

    Permissions

    incorrect-default-permission

    Detected file permissions that are set to more than 0600 (user/owner can read and write). Setting file permissions to higher than 0600 is most likely unnecessary and violates the principle of least privilege. Instead, set permissions to be 0600 or less for os.Chmod, os.Mkdir, os.OpenFile, os.MkdirAll, and ioutil.WriteFile
    CWE:
    - C
    - W
    - E
    - -
    - 2
    - 7
    - 6
    - :
    -

    - I
    - n
    - c
    - o
    - r
    - r
    - e
    - c
    - t
    -

    - D
    - e
    - f
    - a
    - u
    - l
    - t
    -

    - P
    - e
    - r
    - m
    - i
    - s
    - s
    - i
    - o
    - n
    - s

    Assistant
    Responses are generated using AI and may contain mistakes.
    twitterlinkedin
    Powered by Mintlify