Commit 932ae11
committed
feat(v3.2.0): parallel analysis, sandbox hardening & workflow improvements
## Core Improvements
- Parallel file processing with errgroup (check.go, scan.go)
- Panic recovery in SSA/analysis goroutines for robustness
- PrepareSandboxDB() for PebbleDB compatibility in sandboxed environments
## Security Hardening
- Symlink resolution in sandbox mounts (prevents escape attacks)
- Root path mounting prevention
- Secure temp directory creation with MkdirTemp
- Skip symlinks during DB copy operations
## Workflow & Action Updates
- Restored *_generated.go filter in diff/audit modes
- Added stderr capture (2>&1) for better error diagnostics
- New/Deleted file status reporting in analysis workflow
- runsc --version verification after gVisor install
## Fixes
- Fixed ssautil.AllPackages return type handling
- Added rootModule filtering to prevent internal packages as deps
- Updated collectDependencies signature for module-aware filtering1 parent dcf8bb0 commit 932ae11
7 files changed
Lines changed: 573 additions & 294 deletions
File tree
- .github/workflows
- internal/cli
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
54 | 61 | | |
55 | 62 | | |
56 | | - | |
57 | | - | |
| 63 | + | |
| 64 | + | |
58 | 65 | | |
59 | 66 | | |
| 67 | + | |
| 68 | + | |
60 | 69 | | |
61 | 70 | | |
62 | 71 | | |
| |||
156 | 165 | | |
157 | 166 | | |
158 | 167 | | |
159 | | - | |
160 | | - | |
| 168 | + | |
| 169 | + | |
161 | 170 | | |
162 | 171 | | |
163 | 172 | | |
| |||
170 | 179 | | |
171 | 180 | | |
172 | 181 | | |
173 | | - | |
174 | 182 | | |
175 | 183 | | |
176 | 184 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
0 commit comments