facebook pixelCodiga Analysis Go Rules, severity error
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
Error

Use of unsafe calls should be audited.

Learn more

G304

Best practice
Error

Potential file inclusion via variable

G306

Security
Error

Expect WriteFile permissions to be 0600 or less

G401

Security
Error

Use of weak cryptographic primitive

G501

Security
Error

Blocklisted import crypto/md5: weak cryptographic primitive

G204

Security
Error

Subprocess launched with variable

G302

Security
Error

Expect file permissions to be 0600 or less

SA1019

Best practice
Error

strings.Title has been deprecated since Go 1.18. Use golang.org/x/text/cases instead.

G104

Security
Error

Audit errors not checked

G107

Security
Error

Url provided to HTTP request as taint input

G301

Security
Error

Expect directory permissions to be 0750 or less

G505

Best practice
Error

Weak crypto primitive

G502

Security
Error

Blocklisted import crypto/des: weak cryptographic primitive