@@ -853,6 +853,7 @@ linters-settings:
853
853
- G112 # Potential slowloris attack
854
854
- G113 # Usage of Rat.SetString in math/big with an overflow (CVE-2022-23772)
855
855
- G114 # Use of net/http serve function that has no support for setting timeouts
856
+ - G115 # Potential integer overflow when converting between integer types
856
857
- G201 # SQL query construction using format string
857
858
- G202 # SQL query construction using string concatenation
858
859
- G203 # Use of unescaped data in HTML templates
@@ -864,15 +865,19 @@ linters-settings:
864
865
- G305 # File traversal when extracting zip/tar archive
865
866
- G306 # Poor file permissions used when writing to a new file
866
867
- G307 # Poor file permissions used when creating a file with os.Create
867
- - G401 # Detect the usage of DES, RC4, MD5 or SHA1
868
+ - G401 # Detect the usage of MD5 or SHA1
868
869
- G402 # Look for bad TLS connection settings
869
870
- G403 # Ensure minimum RSA key length of 2048 bits
870
871
- G404 # Insecure random number source (rand)
872
+ - G405 # Detect the usage of DES or RC4
873
+ - G406 # Detect the usage of MD4 or RIPEMD160
871
874
- G501 # Import blocklist: crypto/md5
872
875
- G502 # Import blocklist: crypto/des
873
876
- G503 # Import blocklist: crypto/rc4
874
877
- G504 # Import blocklist: net/http/cgi
875
878
- G505 # Import blocklist: crypto/sha1
879
+ - G506 # Import blocklist: golang.org/x/crypto/md4
880
+ - G507 # Import blocklist: golang.org/x/crypto/ripemd160
876
881
- G601 # Implicit memory aliasing of items from a range statement
877
882
- G602 # Slice access out of bounds
878
883
@@ -893,6 +898,7 @@ linters-settings:
893
898
- G112 # Potential slowloris attack
894
899
- G113 # Usage of Rat.SetString in math/big with an overflow (CVE-2022-23772)
895
900
- G114 # Use of net/http serve function that has no support for setting timeouts
901
+ - G115 # Potential integer overflow when converting between integer types
896
902
- G201 # SQL query construction using format string
897
903
- G202 # SQL query construction using string concatenation
898
904
- G203 # Use of unescaped data in HTML templates
@@ -904,15 +910,19 @@ linters-settings:
904
910
- G305 # File traversal when extracting zip/tar archive
905
911
- G306 # Poor file permissions used when writing to a new file
906
912
- G307 # Poor file permissions used when creating a file with os.Create
907
- - G401 # Detect the usage of DES, RC4, MD5 or SHA1
913
+ - G401 # Detect the usage of MD5 or SHA1
908
914
- G402 # Look for bad TLS connection settings
909
915
- G403 # Ensure minimum RSA key length of 2048 bits
910
916
- G404 # Insecure random number source (rand)
917
+ - G405 # Detect the usage of DES or RC4
918
+ - G406 # Detect the usage of MD4 or RIPEMD160
911
919
- G501 # Import blocklist: crypto/md5
912
920
- G502 # Import blocklist: crypto/des
913
921
- G503 # Import blocklist: crypto/rc4
914
922
- G504 # Import blocklist: net/http/cgi
915
923
- G505 # Import blocklist: crypto/sha1
924
+ - G506 # Import blocklist: golang.org/x/crypto/md4
925
+ - G507 # Import blocklist: golang.org/x/crypto/ripemd160
916
926
- G601 # Implicit memory aliasing of items from a range statement
917
927
- G602 # Slice access out of bounds
918
928
0 commit comments