Commit dc49f5b
committed
fix(lint): Suppress G304 gosec false positives with nosec comments
- Add #nosec G304 comments to checkpoint.go (os.Create, os.Open)
- Add #nosec G304 comment to state.go (os.ReadFile)
- All paths are constructed internally via filepath.Join, not from user input
- Security: Paths are safe as they use controlled directory + sanitized IDs
All linting errors resolved - 0 issues remaining.1 parent 573335a commit dc49f5b
2 files changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| 130 | + | |
130 | 131 | | |
131 | 132 | | |
132 | 133 | | |
| |||
174 | 175 | | |
175 | 176 | | |
176 | 177 | | |
| 178 | + | |
177 | 179 | | |
178 | 180 | | |
179 | 181 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
| 176 | + | |
176 | 177 | | |
177 | 178 | | |
178 | 179 | | |
| |||
0 commit comments