Build 2 success

gitbay-security on main · d06fe7dfc1 · queued 2026-11-01 06:16 UTC · finished 2026-11-01 07:04 UTC · ran 1m26s

setup
$ git clone ssh://git@127.0.0.1/krz/org-live.git (d06fe7dfc1)
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" .
                   
                   
┌─────────────────┐
│ 3 Code Findings │
└─────────────────┘
                 
    static/app.js
   ❯❯❱ opt.opengrep-rules.javascript.browser.security.insecure-document-method
          User controlled data in methods like `innerHTML`, `outerHTML` or `document.write` is an anti-pattern
          that can lead to XSS vulnerabilities                                                                
                                                                                                              
            9┆ preview.innerHTML = inputText;
   
   ❯❯❱ opt.opengrep-rules.javascript.browser.security.insecure-innerhtml
          User controlled data in a `preview.innerHTML` is an anti-pattern that can lead to XSS
          vulnerabilities                                                                      
                                                                                               
            9┆ preview.innerHTML = inputText;
                 
    static/org.js
    ❯❱ opt.opengrep-rules.javascript.lang.security.audit.unsafe-dynamic-method
          Using non-static data to retrieve and run functions from the object is dangerous. If the data is
          user-controlled, it may allow executing arbitrary code.                                         
                                                                                                          
          1238┆ text = this.exportOptions.customDirectiveHandler[node.directiveName](
          1239┆   node, childText, auxData
          1240┆ );

results uploaded