Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update ci #16

Merged
merged 1 commit into from
Apr 27, 2024
Merged

chore: update ci #16

merged 1 commit into from
Apr 27, 2024

Conversation

aldy505
Copy link
Member

@aldy505 aldy505 commented Apr 27, 2024

No description provided.

@aldy505 aldy505 requested a review from a team as a code owner April 27, 2024 11:24
Copy link

Here are the results of the Semgrep scan:

┌─────────────────┐
│ 6 Code Findings │
└─────────────────┘
                            
    presentation/estimate.go
    ❯❱ go.lang.security.audit.xss.no-direct-write-to-responsewriter.no-direct-write-to-responsewriter
          Detected directly writing or similar in 'http.ResponseWriter.write()'. This bypasses HTML escaping
          that prevents cross-site scripting vulnerabilities. Instead, use the 'html/template' package and  
          render data using 'template.Execute()'.                                                           
          Details: https://sg.run/EkbA                                                                      
                                                                                                            
           28┆ w.Write(responseBody)
            ⋮┆----------------------------------------
           61┆ w.Write(responseBody)
            ⋮┆----------------------------------------
           92┆ w.Write(responseBody)
                         
    presentation/order.go
    ❯❱ go.lang.security.audit.xss.no-direct-write-to-responsewriter.no-direct-write-to-responsewriter
          Detected directly writing or similar in 'http.ResponseWriter.write()'. This bypasses HTML escaping
          that prevents cross-site scripting vulnerabilities. Instead, use the 'html/template' package and  
          render data using 'template.Execute()'.                                                           
          Details: https://sg.run/EkbA                                                                      
                                                                                                            
           28┆ w.Write(responseBody)
            ⋮┆----------------------------------------
           84┆ w.Write(responseBody)
            ⋮┆----------------------------------------
          106┆ w.Write(responseBody)

@aldy505 aldy505 merged commit d669ef1 into master Apr 27, 2024
4 checks passed
@aldy505 aldy505 deleted the chore/update-ci branch April 27, 2024 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant