Build 1 success
gitbay-security on main · 190abf91b8 · queued 2026-11-01 04:00 UTC · finished 2026-11-01 04:03 UTC · ran 1m24s
setup
$ git clone ssh://git@127.0.0.1/cmc/learn.git (190abf91b8)
step 1/2 mkdir -p "$GITBAY_RESULTS"
step 2/2 opengrep scan --quiet --disable-version-check --config /opt/opengrep-rules --sarif-output="$GITBAY_RESULTS/opengrep.sarif" .
┌─────────────────┐
│ 2 Code Findings │
└─────────────────┘
c/guess.c
❯❱ opt.opengrep-rules.c.lang.correctness.incorrect-use-ato-fn
Avoid the 'ato*()' family of functions. Their use can lead to undefined behavior, integer overflows,
and lack of appropriate error handling. Instead prefer the 'strtol*()' family of functions.
27┆ int user_input = atoi(line);
python/cat.py
❯❱ opt.opengrep-rules.python.lang.best-practice.unspecified-open-encoding
Missing 'encoding' parameter. 'open()' uses device locale encodings by default, corrupting files
with special characters. Specify the encoding to ensure cross-platform support when opening files in
text mode (e.g. encoding="utf-8").
10┆ with open(path, 'r') as file:
results uploaded