Code scanning findings #341

closed gitbay-bot opened this on 2026-10-31 07:58 UTC

Discussion

gitbay-bot 2026-10-31 07:58 UTC

The scheduled code scan of main reported these findings. This issue is kept up to date as that changes, and closed once none are open.

Opengrep OSS

  • cmd/gitbay/local.go:82 opt.opengrep-rules.go.lang.security.audit.dangerous-exec-command (warning): Detected non-static command inside Command. Audit the input to 'exec.Command'. If unverified user data can reach this call site, this is a code injection vulnerability. A malicious actor can inject a … e44cf49cbc
  • internal/gitutil/messages.go:27 opt.opengrep-rules.go.lang.security.audit.dangerous-exec-command (warning): Detected non-static command inside Command. Audit the input to 'exec.Command'. If unverified user data can reach this call site, this is a code injection vulnerability. A malicious actor can inject a … 45af69cdc9
  • internal/gitutil/messages.go:54 opt.opengrep-rules.go.lang.security.audit.dangerous-exec-command (warning): Detected non-static command inside Command. Audit the input to 'exec.Command'. If unverified user data can reach this call site, this is a code injection vulnerability. A malicious actor can inject a … a061465148

Not listed: 372 dismissed; 131 from rules for libraries it does not use (django 131). repo security status krz/gitbay shows them.

To dismiss one: repo security dismiss krz/gitbay <fingerprint> --reason false-positive|wont-fix|test.

referenced in commit 56c8b81ae6 by cmc: Fix code-scanning findings

2026-11-01 05:46 UTC

referenced in commit d189296142 by cmc: Refuse ref names that git would read as options

2026-11-01 07:26 UTC