Get Started
- CodeAnt AI
- Control Center
- Pull Request Review
- IDE
- Compliance
- Anti-Patterns
- Code Governance
- Infrastructure Security Database
- Application Security Database
- Apex
- Bash
- C
- Clojure
- Cpp
- Csharp
- Dockerfile
- Elixir
- Fingerprints
- Generic
- Go
- Aws-lambda
- Gin
- Gorilla
- Gorm
- Grpc
- Jwt-go
- Lang
- Best practice
- Correctness
- Correctness
- Maintainability
- Memory
- Security
- Security
- Net
- Otto
- Secrets
- Template
- Html
- Java
- Javascript
- Json
- Kotlin
- Ocaml
- Php
- Problem-based-packs
- Python
- Ruby
- Rust
- Scala
- Solidity
- Swift
- Terraform
- Typescript
- Yaml
Correctness
Permissions
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