Build 4 success

gitbay-security on main · 00ea029d06 · queued 2026-11-02 04:00 UTC · finished 2026-11-02 05:03 UTC · ran 1m26s

setup
$ git clone ssh://git@127.0.0.1/krz/fold.git (00ea029d06)
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" .
                    
                    
┌──────────────────┐
│ 10 Code Findings │
└──────────────────┘
                              
    App/Sources/Confetti.swift
    ❯❱ opt.opengrep-rules.swift.lang.crypto.insecure-random
          A random number generator was detected which is **not** *guaranteed* to be Cryptographically secure.
          If the source of entropy is used for security purposes (e.g. with other Cryptographic operations),  
          make sure to use the `SecCopyRandomBytes` API explicitly.                                           
                                                                                                              
           33┆ let origin = SIMD2(Double.random(in: 0.35...0.65), Double.random(in: 0.3...0.4))
            ⋮┆----------------------------------------
           33┆ let origin = SIMD2(Double.random(in: 0.35...0.65), Double.random(in: 0.3...0.4))
            ⋮┆----------------------------------------
           34┆ let velocity = SIMD2(Double.random(in: -0.7...0.7), Double.random(in: -1.6...(-0.8)))
            ⋮┆----------------------------------------
           34┆ let velocity = SIMD2(Double.random(in: -0.7...0.7), Double.random(in: -1.6...(-0.8)))
            ⋮┆----------------------------------------
           35┆ let size = CGSize(width: Double.random(in: 6...11), height: Double.random(in: 4...9))
            ⋮┆----------------------------------------
           35┆ let size = CGSize(width: Double.random(in: 6...11), height: Double.random(in: 4...9))
            ⋮┆----------------------------------------
           37┆ let spin = Double.random(in: -6...6), tumble = Double.random(in: 4...10)
            ⋮┆----------------------------------------
           37┆ let spin = Double.random(in: -6...6), tumble = Double.random(in: 4...10)
            ⋮┆----------------------------------------
           38┆ let phase = Double.random(in: 0...(2 * .pi))
            ⋮┆----------------------------------------
           40┆ let sides: (Color, Color) = Bool.random() ? (front, back) : { let c =
               accents.randomElement()!; return (c, c) }()                          

results uploaded