mirror of
https://github.com/securego/gosec.git
synced 2024-12-24 11:35:52 +00:00
abeab1092d
* G101 now checks LHS of ValueAssignments for patternValue. * Added matching string literals in equality check. * Added patternValue matching for ValueSpec. * Ran gci to fix linter error. * Added tests and updated regex to be more inclusive. * Addressed short-circuit eval for isHighEntropy and non-standard ok variable. * Resolved unhandled error and added more tests. * Flattened code to make it more readable. * Added better comments. * Added new regex for Google API Key, GitHub PAT, and GoogleOAuth. * Gofmt'ed the test cases. |
||
---|---|---|
.. | ||
archive.go | ||
bind.go | ||
blocklist.go | ||
decompression-bomb.go | ||
directory-traversal.go | ||
errors.go | ||
fileperms.go | ||
fileperms_test.go | ||
hardcoded_credentials.go | ||
http_serve.go | ||
implicit_aliasing.go | ||
integer_overflow.go | ||
math_big_rat.go | ||
pprof.go | ||
rand.go | ||
readfile.go | ||
rsa.go | ||
rulelist.go | ||
rules_suite_test.go | ||
rules_test.go | ||
slowloris.go | ||
sql.go | ||
ssh.go | ||
ssrf.go | ||
subproc.go | ||
tempfiles.go | ||
templates.go | ||
tls.go | ||
tls_config.go | ||
unsafe.go | ||
weakcrypto.go |