facebook pixelGo Static Analysis Rules
BACK TO LIST

Go rules

Go is a very powerful language that makes you write performant code while having a lot of verification. Still, developers can make issues. Thankfully, the Codiga Static Code Analysis engine checks your Go code and flags the most important issues.

      G103

      Security
      High

      Use of unsafe calls should be audited.

      Learn more

      G306

      Security
      High

      Expect WriteFile permissions to be 0600 or less

      G401

      Security
      High

      Use of weak cryptographic primitive

      G501

      Security
      High

      Blocklisted import crypto/md5: weak cryptographic primitive

      G204

      Security
      High

      Subprocess launched with variable

      G302

      Security
      High

      Expect file permissions to be 0600 or less

      G104

      Security
      High

      Audit errors not checked

      G107

      Security
      High

      Url provided to HTTP request as taint input

      G301

      Security
      High

      Expect directory permissions to be 0750 or less