Commit 0c1a1c1
authored
* fix: address GitHub security findings
- ui_jobs.go: replace log.Printf with structured h.logger() calls for
user-controlled jobID/eventID values to prevent log injection (CodeQL #40)
- middleware_csrf.go: set CSRF cookie Secure attribute to true unconditionally;
app is always served over HTTPS in production (CodeQL #38)
- puppeteer-worker: add npm override to force uuid >= 11.1.1, fixing
buffer bounds check vuln in transitive deps via @google-cloud/storage
(Dependabot #207, CodeQL #43/#44)
* fix: golangci-lint failures
- ui_jobs.go: wrap long ErrorContext call to satisfy golines
- middleware_csrf.go: rename unused r param to _, remove now-unused
isForwardedHTTPS helper (both became dead code after Secure: true change)
* fix: format ErrorContext call to satisfy golines (max-len 120)
1 parent a0feb16 commit 0c1a1c1
4 files changed
Lines changed: 20 additions & 30 deletions
File tree
- services
- merrymaker-go/internal/http
- puppeteer-worker
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
144 | 143 | | |
145 | 144 | | |
146 | 145 | | |
147 | 146 | | |
148 | 147 | | |
149 | 148 | | |
150 | | - | |
| 149 | + | |
151 | 150 | | |
152 | 151 | | |
153 | 152 | | |
154 | 153 | | |
155 | 154 | | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | 155 | | |
175 | 156 | | |
176 | 157 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1057 | 1057 | | |
1058 | 1058 | | |
1059 | 1059 | | |
1060 | | - | |
| 1060 | + | |
1061 | 1061 | | |
1062 | 1062 | | |
1063 | 1063 | | |
| |||
1097 | 1097 | | |
1098 | 1098 | | |
1099 | 1099 | | |
1100 | | - | |
| 1100 | + | |
| 1101 | + | |
| 1102 | + | |
| 1103 | + | |
1101 | 1104 | | |
1102 | 1105 | | |
1103 | 1106 | | |
| |||
1113 | 1116 | | |
1114 | 1117 | | |
1115 | 1118 | | |
1116 | | - | |
| 1119 | + | |
| 1120 | + | |
| 1121 | + | |
| 1122 | + | |
1117 | 1123 | | |
1118 | 1124 | | |
1119 | 1125 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
37 | 40 | | |
38 | 41 | | |
39 | 42 | | |
| |||
0 commit comments