Build 3 success

gitbay-security on main · 1d92dc963e · queued 2026-11-01 07:29 UTC · finished 2026-11-01 07:53 UTC · ran 1m25s

setup
$ git clone ssh://git@127.0.0.1/krz/brand-bench.git (1d92dc963e)
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" .
                    
                    
┌──────────────────┐
│ 80 Code Findings │
└──────────────────┘
              
    Dockerfile
     ❱ opt.opengrep-rules.dockerfile.audit.dockerfile-source-not-pinned
          To ensure reproducible builds, pin Dockerfile `FROM` commands to a specific hash. You can find the
          hash by running `docker pull node` and then  specify it with `node:22-alpine@sha256:<hash goes    
          here>`                                                                                            
                                                                                                            
            2┆ FROM node:22-alpine AS build
            ⋮┆----------------------------------------
     ❱ opt.opengrep-rules.dockerfile.audit.dockerfile-source-not-pinned
          To ensure reproducible builds, pin Dockerfile `FROM` commands to a specific hash. You can find the  
          hash by running `docker pull nginx` and then  specify it with `nginx:alpine@sha256:<hash goes here>`
                                                                                                              
           13┆ FROM nginx:alpine
                     
    docker/nginx.conf
    ❯❱ opt.opengrep-rules.generic.nginx.security.request-host-used
          '$http_host' and '$host' variables may contain a malicious value from attacker controlled 'Host'
          request header. Use an explicitly configured host value or a allow list for validation.         
                                                                                                          
           18┆ proxy_set_header   Host              $host;
               
    src/App.tsx
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: 'Brand'.  You should support different languages in your website
          or app with internationalization. Instead, use packages such as `i18next` in order to              
          internationalize your elements.                                                                    
                                                                                                             
           65┆ <span className="app-wordmark">Brand<span>bench</span></span>
            ⋮┆----------------------------------------
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: 'bench'.  You should support different languages in your website
          or app with internationalization. Instead, use packages such as `i18next` in order to              
          internationalize your elements.                                                                    
                                                                                                             
           65┆ <span className="app-wordmark">Brand<span>bench</span></span>
            ⋮┆----------------------------------------
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: 'Undo'.  You should support different languages in your website
          or app with internationalization. Instead, use packages such as `i18next` in order to             
          internationalize your elements.                                                                   
                                                                                                            
           75┆ <button className="btn btn-ghost" onClick={undo} disabled={!canUndo} title="Undo
               (⌘Z)">Undo</button>                                                             
            ⋮┆----------------------------------------
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: 'Redo'.  You should support different languages in your website
          or app with internationalization. Instead, use packages such as `i18next` in order to             
          internationalize your elements.                                                                   
                                                                                                            
           76┆ <button className="btn btn-ghost" onClick={redo} disabled={!canRedo} title="Redo
               (⌘⇧Z)">Redo</button>                                                            
                               
    src/components/BrandDoc.tsx
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: 'Primary'.  You should support different languages in your
          website or app with internationalization. Instead, use packages such as `i18next` in order to
          internationalize your elements.                                                              
                                                                                                       
          179┆ <span className="type-font-role">Primary</span>
            ⋮┆----------------------------------------
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: 'Secondary'.  You should support different languages in your
          website or app with internationalization. Instead, use packages such as `i18next` in order to  
          internationalize your elements.                                                                
                                                                                                         
          184┆ <span className="type-font-role">Secondary</span>
            ⋮┆----------------------------------------
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: 'Monospace'.  You should support different languages in your
          website or app with internationalization. Instead, use packages such as `i18next` in order to  
          internationalize your elements.                                                                
                                                                                                         
          189┆ <span className="type-font-role">Monospace</span>
            ⋮┆----------------------------------------
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: 'Style'.  You should support different languages in your website
          or app with internationalization. Instead, use packages such as `i18next` in order to              
          internationalize your elements.                                                                    
                                                                                                             
          197┆ <span>Style</span>
            ⋮┆----------------------------------------
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: 'Size'.  You should support different languages in your website
          or app with internationalization. Instead, use packages such as `i18next` in order to             
          internationalize your elements.                                                                   
                                                                                                            
          198┆ <span>Size</span>
            ⋮┆----------------------------------------
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: 'Weight'.  You should support different languages in your website
          or app with internationalization. Instead, use packages such as `i18next` in order to               
          internationalize your elements.                                                                     
                                                                                                              
          199┆ <span>Weight</span>
            ⋮┆----------------------------------------
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: 'Usage'.  You should support different languages in your website
          or app with internationalization. Instead, use packages such as `i18next` in order to              
          internationalize your elements.                                                                    
                                                                                                             
          200┆ <span className="type-scale-usage">Usage</span>
            ⋮┆----------------------------------------
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: 'category'.  You should support different languages in your
          website or app with internationalization. Instead, use packages such as `i18next` in order to 
          internationalize your elements.                                                               
                                                                                                        
          352┆ <span className="brand-doc-meta-label">category</span>
            ⋮┆----------------------------------------
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: 'audience'.  You should support different languages in your
          website or app with internationalization. Instead, use packages such as `i18next` in order to 
          internationalize your elements.                                                               
                                                                                                        
          358┆ <span className="brand-doc-meta-label">audience</span>
            ⋮┆----------------------------------------
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: 'Attributes'.  You should support different languages in your
          website or app with internationalization. Instead, use packages such as `i18next` in order to   
          internationalize your elements.                                                                 
                                                                                                          
          379┆ <div className="tone-row-label">Attributes</div>
            ⋮┆----------------------------------------
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: 'Voice'.  You should support different languages in your website
          or app with internationalization. Instead, use packages such as `i18next` in order to              
          internationalize your elements.                                                                    
                                                                                                             
          387┆ <div className="tone-row-label">Voice</div>
            ⋮┆----------------------------------------
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: 'Avoid'.  You should support different languages in your website
          or app with internationalization. Instead, use packages such as `i18next` in order to              
          internationalize your elements.                                                                    
                                                                                                             
          392┆ <div className="tone-row-label">Avoid</div>
            ⋮┆----------------------------------------
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: 'Example phrases'.  You should support different languages in  
          your website or app with internationalization. Instead, use packages such as `i18next` in order to
          internationalize your elements.                                                                   
                                                                                                            
          398┆ <div className="tone-row-label">Example phrases</div>
            ⋮┆----------------------------------------
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: 'Titles'.  You should support different languages in your website
          or app with internationalization. Instead, use packages such as `i18next` in order to               
          internationalize your elements.                                                                     
                                                                                                              
          413┆ <div style={{ fontSize: 11, color: 'var(--text-3)', fontWeight: 500, marginBottom: 10
               }}>Titles</div>                                                                      
            ⋮┆----------------------------------------
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: 'Subtitles'.  You should support different languages in your
          website or app with internationalization. Instead, use packages such as `i18next` in order to  
          internationalize your elements.                                                                
                                                                                                         
          417┆ <div style={{ fontSize: 11, color: 'var(--text-3)', fontWeight: 500, marginBottom: 10
               }}>Subtitles</div>                                                                   
            ⋮┆----------------------------------------
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: 'Taglines'.  You should support different languages in your
          website or app with internationalization. Instead, use packages such as `i18next` in order to 
          internationalize your elements.                                                               
                                                                                                        
          421┆ <div style={{ fontSize: 11, color: 'var(--text-3)', fontWeight: 500, marginBottom: 10
               }}>Taglines</div>                                                                    
            ⋮┆----------------------------------------
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: 'Palette'.  You should support different languages in your
          website or app with internationalization. Instead, use packages such as `i18next` in order to
          internationalize your elements.                                                              
                                                                                                       
          436┆ <span className="direction-attr-label">Palette</span>
            ⋮┆----------------------------------------
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: 'Typography'.  You should support different languages in your
          website or app with internationalization. Instead, use packages such as `i18next` in order to   
          internationalize your elements.                                                                 
                                                                                                          
          440┆ <span className="direction-attr-label">Typography</span>
            ⋮┆----------------------------------------
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: 'References'.  You should support different languages in your
          website or app with internationalization. Instead, use packages such as `i18next` in order to   
          internationalize your elements.                                                                 
                                                                                                          
          444┆ <span className="direction-attr-label">References</span>
            ⋮┆----------------------------------------
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: 'Mark'.  You should support different languages in your website
          or app with internationalization. Instead, use packages such as `i18next` in order to             
          internationalize your elements.                                                                   
                                                                                                            
          484┆ <span className="logo-card-attr-label">Mark</span>
            ⋮┆----------------------------------------
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: 'Execution'.  You should support different languages in your
          website or app with internationalization. Instead, use packages such as `i18next` in order to  
          internationalize your elements.                                                                
                                                                                                         
          488┆ <span className="logo-card-attr-label">Execution</span>
                                 
    src/components/InputPanel.tsx
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: 'Project'.  You should support different languages in your
          website or app with internationalization. Instead, use packages such as `i18next` in order to
          internationalize your elements.                                                              
                                                                                                       
           31┆ <div className="input-section-label">Project</div>
            ⋮┆----------------------------------------
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: 'Name'.  You should support different languages in your website
          or app with internationalization. Instead, use packages such as `i18next` in order to             
          internationalize your elements.                                                                   
                                                                                                            
           33┆ <label className="field-label" htmlFor="f-name">Name</label>
            ⋮┆----------------------------------------
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: 'Category'.  You should support different languages in your
          website or app with internationalization. Instead, use packages such as `i18next` in order to 
          internationalize your elements.                                                               
                                                                                                        
           43┆ <label className="field-label" htmlFor="f-category">Category</label>
            ⋮┆----------------------------------------
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: 'One-line purpose'.  You should support different languages in 
          your website or app with internationalization. Instead, use packages such as `i18next` in order to
          internationalize your elements.                                                                   
                                                                                                            
           53┆ <label className="field-label" htmlFor="f-purpose">One-line purpose</label>
            ⋮┆----------------------------------------
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: 'Audience'.  You should support different languages in your
          website or app with internationalization. Instead, use packages such as `i18next` in order to 
          internationalize your elements.                                                               
                                                                                                        
           63┆ <label className="field-label" htmlFor="f-audience">Audience</label>
            ⋮┆----------------------------------------
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: 'Voice'.  You should support different languages in your website
          or app with internationalization. Instead, use packages such as `i18next` in order to              
          internationalize your elements.                                                                    
                                                                                                             
           75┆ <div className="input-section-label">Voice</div>
            ⋮┆----------------------------------------
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: 'Notes'.  You should support different languages in your website
          or app with internationalization. Instead, use packages such as `i18next` in order to              
          internationalize your elements.                                                                    
                                                                                                             
           97┆ <div className="input-section-label">Notes</div>
            ⋮┆----------------------------------------
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: 'Notes & constraints'.  You should support different languages in
          your website or app with internationalization. Instead, use packages such as `i18next` in order to  
          internationalize your elements.                                                                     
                                                                                                              
           99┆ <label className="field-label sr-only" htmlFor="f-notes">Notes & constraints</label>
            ⋮┆----------------------------------------
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: '             Name and purpose required           '.  You should
          support different languages in your website or app with internationalization. Instead, use packages
          such as `i18next` in order to internationalize your elements.                                      
                                                                                                             
          120┆ {!canGenerate && (
          121┆   <div style={{ marginTop: 7, fontSize: 11, color: 'var(--text-4)', textAlign: 'center' }}>
          122┆     Name and purpose required
          123┆   </div>
          124┆ )}
                                      
    src/components/PackageSwitcher.tsx
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: 'Rename'.  You should support different languages in your website
          or app with internationalization. Instead, use packages such as `i18next` in order to               
          internationalize your elements.                                                                     
                                                                                                              
           38┆ <button onClick={() => { onRename(); onClose(); }}>Rename</button>
            ⋮┆----------------------------------------
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: 'Duplicate'.  You should support different languages in your
          website or app with internationalization. Instead, use packages such as `i18next` in order to  
          internationalize your elements.                                                                
                                                                                                         
           39┆ <button onClick={() => { onDuplicate(); onClose(); }}>Duplicate</button>
            ⋮┆----------------------------------------
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: 'Delete'.  You should support different languages in your website
          or app with internationalization. Instead, use packages such as `i18next` in order to               
          internationalize your elements.                                                                     
                                                                                                              
           40┆ {canDelete && (
           41┆   <button className="danger" onClick={() => { onDelete(); onClose(); }}>Delete</button>
           42┆ )}
                                   
    src/components/PreviewPanel.tsx
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: '               Try template instead             '.  You should 
          support different languages in your website or app with internationalization. Instead, use packages
          such as `i18next` in order to internationalize your elements.                                      
                                                                                                             
           60┆ {onGenerate && (
           61┆   <button className="generate-error-retry btn btn-ghost" onClick={onGenerate}>
           62┆     Try template instead
           63┆   </button>
           64┆ )}
            ⋮┆----------------------------------------
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: 'This may take 15–60 seconds depending on your hardware'.  You
          should support different languages in your website or app with internationalization. Instead, use
          packages such as `i18next` in order to internationalize your elements.                           
                                                                                                           
           76┆ {generateMode && generateMode !== 'template' && (
           77┆   <div className="empty-state-sub">This may take 15–60 seconds depending on your
               hardware</div>                                                                  
           78┆ )}
            ⋮┆----------------------------------------
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: 'No package generated yet'.  You should support different       
          languages in your website or app with internationalization. Instead, use packages such as `i18next`
          in order to internationalize your elements.                                                        
                                                                                                             
           90┆ <div className="empty-state-title">No package generated yet</div>
            ⋮┆----------------------------------------
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: 'Fill in the project details and click Generate'.  You should   
          support different languages in your website or app with internationalization. Instead, use packages
          such as `i18next` in order to internationalize your elements.                                      
                                                                                                             
           91┆ <div className="empty-state-sub">Fill in the project details and click Generate</div>
            ⋮┆----------------------------------------
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: '             Export           '.  You should support different 
          languages in your website or app with internationalization. Instead, use packages such as `i18next`
          in order to internationalize your elements.                                                        
                                                                                                             
           98┆ <span className="export-bar-left">
           99┆   Export
          100┆ </span>
            ⋮┆----------------------------------------
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: '               Export Markdown             '.  You should      
          support different languages in your website or app with internationalization. Instead, use packages
          such as `i18next` in order to internationalize your elements.                                      
                                                                                                             
          102┆ <button className="btn" onClick={handleExportMd}>
          103┆   Export Markdown
          104┆ </button>
            ⋮┆----------------------------------------
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: '               Export JSON             '.  You should support  
          different languages in your website or app with internationalization. Instead, use packages such as
          `i18next` in order to internationalize your elements.                                              
                                                                                                             
          105┆ <button className="btn" onClick={handleExportJson}>
          106┆   Export JSON
          107┆ </button>
            ⋮┆----------------------------------------
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: '               Export HTML             '.  You should support  
          different languages in your website or app with internationalization. Instead, use packages such as
          `i18next` in order to internationalize your elements.                                              
                                                                                                             
          108┆ <button className="btn" onClick={handleExportHtml}>
          109┆   Export HTML
          110┆ </button>
                                    
    src/components/SettingsPanel.tsx
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: 'Settings'.  You should support different languages in your
          website or app with internationalization. Instead, use packages such as `i18next` in order to 
          internationalize your elements.                                                               
                                                                                                        
           48┆ <span className="settings-title">Settings</span>
            ⋮┆----------------------------------------
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: 'AI Generation'.  You should support different languages in your
          website or app with internationalization. Instead, use packages such as `i18next` in order to      
          internationalize your elements.                                                                    
                                                                                                             
           55┆ <div className="settings-section-label">AI Generation</div>
            ⋮┆----------------------------------------
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: 'Use Ollama'.  You should support different languages in your
          website or app with internationalization. Instead, use packages such as `i18next` in order to   
          internationalize your elements.                                                                 
                                                                                                          
           58┆ <span className="settings-toggle-name">Use Ollama</span>
            ⋮┆----------------------------------------
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: '                   Replace template generation with a local AI
          model                 '.  You should support different languages in your website or app with      
          internationalization. Instead, use packages such as `i18next` in order to internationalize your   
          elements.                                                                                         
                                                                                                            
           59┆ <span className="settings-toggle-desc">
           60┆   Replace template generation with a local AI model
           61┆ </span>
            ⋮┆----------------------------------------
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: 'Ollama'.  You should support different languages in your website
          or app with internationalization. Instead, use packages such as `i18next` in order to               
          internationalize your elements.                                                                     
                                                                                                              
           77┆ <div className="settings-section-label">Ollama</div>
            ⋮┆----------------------------------------
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: 'Server URL'.  You should support different languages in your
          website or app with internationalization. Instead, use packages such as `i18next` in order to   
          internationalize your elements.                                                                 
                                                                                                          
           80┆ <label className="settings-field-label">Server URL</label>
            ⋮┆----------------------------------------
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: '                     Connected · '.  You should support        
          different languages in your website or app with internationalization. Instead, use packages such as
          `i18next` in order to internationalize your elements.                                              
                                                                                                             
          101┆ {test.status === 'ok' && (
          102┆   <div className="settings-status ok">
          103┆     Connected · {test.models.length} model{test.models.length !== 1 ? 's' : ''} available
          104┆   </div>
          105┆ )}
            ⋮┆----------------------------------------
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: 'Model'.  You should support different languages in your website
          or app with internationalization. Instead, use packages such as `i18next` in order to              
          internationalize your elements.                                                                    
                                                                                                             
          112┆ <label className="settings-field-label">Model</label>
            ⋮┆----------------------------------------
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: '                   Pull a model first: '.  You should support  
          different languages in your website or app with internationalization. Instead, use packages such as
          `i18next` in order to internationalize your elements.                                              
                                                                                                             
          135┆ <div className="settings-field-hint">
          136┆   Pull a model first: <code>ollama pull llama3.2</code>
          137┆ </div>
            ⋮┆----------------------------------------
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: 'ollama pull llama3.2'.  You should support different languages
          in your website or app with internationalization. Instead, use packages such as `i18next` in order
          to internationalize your elements.                                                                
                                                                                                            
          136┆ Pull a model first: <code>ollama pull llama3.2</code>
            ⋮┆----------------------------------------
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: 'About Ollama'.  You should support different languages in your
          website or app with internationalization. Instead, use packages such as `i18next` in order to     
          internationalize your elements.                                                                   
                                                                                                            
          144┆ <div className="settings-section-label">About Ollama</div>
            ⋮┆----------------------------------------
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: '               Ollama runs AI models locally on your machine — 
          no API key, no data sent externally.               Install from '.  You should support different   
          languages in your website or app with internationalization. Instead, use packages such as `i18next`
          in order to internationalize your elements.                                                        
                                                                                                             
          145┆ <p>
          146┆   Ollama runs AI models locally on your machine — no API key, no data sent externally.
          147┆   Install from <strong>ollama.com</strong>, then pull any model to get started.
          148┆ </p>
            ⋮┆----------------------------------------
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: 'ollama.com'.  You should support different languages in your
          website or app with internationalization. Instead, use packages such as `i18next` in order to   
          internationalize your elements.                                                                 
                                                                                                          
          147┆ Install from <strong>ollama.com</strong>, then pull any model to get started.
            ⋮┆----------------------------------------
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: '               Leave '.  You should support different languages
          in your website or app with internationalization. Instead, use packages such as `i18next` in order 
          to internationalize your elements.                                                                 
                                                                                                             
          149┆ <p>
          150┆   Leave <strong>Server URL</strong> empty to route through the app's
          151┆   own server (works automatically with the Docker setup). For local
          152┆   dev, set it to <code>http://localhost:11434</code> and ensure CORS
          153┆   is open: <code>OLLAMA_ORIGINS=* ollama serve</code>
          154┆ </p>
            ⋮┆----------------------------------------
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: 'Server URL'.  You should support different languages in your
          website or app with internationalization. Instead, use packages such as `i18next` in order to   
          internationalize your elements.                                                                 
                                                                                                          
          150┆ Leave <strong>Server URL</strong> empty to route through the app's
            ⋮┆----------------------------------------
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: 'http://localhost:11434'.  You should support different languages
          in your website or app with internationalization. Instead, use packages such as `i18next` in order  
          to internationalize your elements.                                                                  
                                                                                                              
          152┆ dev, set it to <code>http://localhost:11434</code> and ensure CORS
            ⋮┆----------------------------------------
    ❯❱ opt.opengrep-rules.typescript.react.portability.i18next.jsx-not-internationalized
          JSX element not internationalized: 'OLLAMA_ORIGINS=* ollama serve'.  You should support different  
          languages in your website or app with internationalization. Instead, use packages such as `i18next`
          in order to internationalize your elements.                                                        
                                                                                                             
          153┆ is open: <code>OLLAMA_ORIGINS=* ollama serve</code>
                     
    src/lib/export.ts
     ❱ opt.opengrep-rules.javascript.lang.correctness.missing-template-string-indicator
          This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'?
                                                                                                  
            8┆ lines.push(`*Generated ${new Date().toLocaleDateString('en-US', { year: 'numeric', month:
               'long', day: 'numeric' })}*`);                                                           
            ⋮┆----------------------------------------
            8┆ lines.push(`*Generated ${new Date().toLocaleDateString('en-US', { year: 'numeric', month:
               'long', day: 'numeric' })}*`);                                                           
   
    ❯❱ opt.opengrep-rules.javascript.lang.security.html-in-template-string
          This template literal looks like HTML and has interpolated variables. These variables are not HTML-
          encoded by default. If the variables contain HTML tags, these may be interpreted by the browser,   
          resulting in cross-site scripting (XSS).                                                           
                                                                                                             
          149┆ const swatchesHtml = outputs.palette.swatches.map(s => `
          150┆   <div class="swatch">
          151┆     <div class="swatch-color" style="background:${esc(s.hex)}"></div>
          152┆     <div class="swatch-name">${esc(s.name)}</div>
          153┆     <div class="swatch-hex">${esc(s.hex)}</div>
          154┆   </div>`).join('');
            ⋮┆----------------------------------------
          156┆ const scaleRows = outputs.typography.scale.map(t => `
          157┆   <tr><td>${esc(t.label)}</td><td>${esc(t.size)}</td><td>${esc(t.weight)}</td><td>${esc(t.u
               sage)}</td></tr>`).join('');                                                               
            ⋮┆----------------------------------------
          159┆ const dirsHtml = outputs.visualDirections.map(d => `
          160┆   <div class="card">
          161┆     <h3>${esc(d.name)}</h3>
          162┆     <p>${esc(d.description)}</p>
          163┆     <dl>
          164┆       <dt>Palette</dt><dd>${esc(d.palette)}</dd>
          165┆       <dt>Typography</dt><dd>${esc(d.typography)}</dd>
          166┆       <dt>References</dt><dd>${esc(d.references)}</dd>
          167┆     </dl>
          168┆   </div>`).join('');
            ⋮┆----------------------------------------
          170┆ const logosHtml = outputs.logoConcepts.map(l => `
          171┆   <div class="card">
          172┆     <h3>${esc(l.title)}</h3>
          173┆     <p>${esc(l.concept)}</p>
          174┆     <dl>
          175┆       <dt>Mark</dt><dd>${esc(l.mark)}</dd>
          176┆       <dt>Execution</dt><dd>${esc(l.execution)}</dd>
          177┆     </dl>
          178┆   </div>`).join('');
            ⋮┆----------------------------------------
          180┆ const usageHtml = outputs.usageExamples.map(ex => `
          181┆   <div class="usage-item">
          182┆     <div class="usage-label">${esc(ex.context)}</div>
          183┆     <pre>${esc(ex.text)}</pre>
          184┆   </div>`).join('');
            ⋮┆----------------------------------------
          186┆ const constraintsHtml = outputs.constraints.map(c => `<li>${esc(c)}</li>`).join('\n');
            ⋮┆----------------------------------------
          189┆ ? `<tr><td>Secondary</td><td>${esc(outputs.typography.secondary)}</td></tr>` : '';
            ⋮┆----------------------------------------
          191┆   return `<!DOCTYPE html>
          192┆ <html lang="en">
          193┆ <head>
          194┆ <meta charset="UTF-8">
          195┆ <meta name="viewport" content="width=device-width,initial-scale=1">
          196┆ <title>${esc(inputs.name || 'Brand')} — Brand Guidelines</title>
          197┆ <style>
          198┆   *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
          199┆   html { font-size: 15px; }
          200┆   body { font-family: ui-sans-serif, -apple-system, system-ui, sans-serif; color: #1a1a1a;
               background: #fff; line-height: 1.6; }                                                     
             [hid 115 additional lines, adjust with --max-lines-per-finding] 
   
     ❱ opt.opengrep-rules.javascript.lang.correctness.missing-template-string-indicator
          This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'?
                                                                                                  
          196┆ <title>${esc(inputs.name || 'Brand')} — Brand Guidelines</title>
          197┆ <style>
          198┆   *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
          199┆   html { font-size: 15px; }
          200┆   body { font-family: ui-sans-serif, -apple-system, system-ui, sans-serif; color: #1a1a1a;
               background: #fff; line-height: 1.6; }                                                     
          201┆   .guide { max-width: 860px; margin: 0 auto; padding: 60px 40px 100px; }
          202┆   .guide-header { border-bottom: 2px solid #111; padding-bottom: 24px; margin-bottom: 48px;
               }                                                                                          
          203┆   .guide-header h1 { font-size: 36px; font-weight: 700; letter-spacing: -0.02em; }
          204┆   .guide-header .meta { font-size: 13px; color: #777; margin-top: 6px; }
          205┆   h2 { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform:         
               uppercase; color: #999; margin-bottom: 20px; padding-bottom: 8px; border-bottom: 1px solid
               #e5e5e5; }                                                                                
             [hid 35 additional lines, adjust with --max-lines-per-finding] 
   
    ❯❱ opt.opengrep-rules.javascript.lang.security.html-in-template-string
          This template literal looks like HTML and has interpolated variables. These variables are not HTML-
          encoded by default. If the variables contain HTML tags, these may be interpreted by the browser,   
          resulting in cross-site scripting (XSS).                                                           
                                                                                                             
          256┆ <div class="tone-pills">${outputs.tone.attributes.map(a => `<span class="tone-
               pill">${esc(a)}</span>`).join('')}</div>                                      
            ⋮┆----------------------------------------
          258┆ ${outputs.tone.avoidList.length ? `<div class="tone-                             
               row"><strong>Avoid</strong>${esc(outputs.tone.avoidList.join(', '))}</div>` : ''}
            ⋮┆----------------------------------------
          265┆ <ol>${outputs.titles.map(t => `<li>${esc(t)}</li>`).join('')}</ol>
            ⋮┆----------------------------------------
          270┆ <ol>${outputs.taglines.map(t => `<li>${esc(t)}</li>`).join('')}</ol>

results uploaded