Skip to content

Command-credential

Command-credential #65

Triggered via pull request June 8, 2024 07:34
Status Success
Total duration 1m 58s
Artifacts

codeql.yml

on: pull_request
Matrix: analyze
Fit to window
Zoom out
Zoom in

Annotations

10 errors
analyze (go): core/task/command.go#L79
Error return value of `proc.Start` is not checked (errcheck)
analyze (go): core/task/command.go#L68
G204: Subprocess launched with a potential tainted input or cmd arguments (gosec)
analyze (go): core/task/get.go#L65
response body must be closed (bodyclose)
analyze (go): core/task/post.go#L69
response body must be closed (bodyclose)
analyze (go): core/task/command.go#L81
S1030: should use res.String() instead of string(res.Bytes()) (gosimple)
analyze (go): config/validators.go#L29
S1002: should omit comparison to bool constant, can be simplified to `c.Disabled` (gosimple)
analyze (go): config/validators.go#L118
S1002: should omit comparison to bool constant, can be simplified to `s.OnInit` (gosimple)
analyze (go): core/task/command.go#L86
naked return in func `Execute` with 40 lines of code (nakedret)
analyze (go): core/task/get.go#L59
naked return in func `Execute` with 49 lines of code (nakedret)
analyze (go): core/task/get.go#L83
naked return in func `Execute` with 49 lines of code (nakedret)