Commit e9d462c
committed
security: distroless image, dependency overrides, fix CodeQL prototype pollution
- Dockerfile: switch runtime to gcr.io/distroless/java21-debian12:nonroot,
build shadowJar; removes wget/tar/libssh/pam/gnupg/curl from image (Trivy CVEs)
- backend: force commons-lang3 (CVE-2025-48924) and Rhino 1.7.14.1 (CVE-2025-66453)
- design-system/build-tokens.js: use Object.create(null) and hasOwnProperty
to satisfy CodeQL prototype-polluting function finding
Made-with: Cursor1 parent 32d8978 commit e9d462c
3 files changed
Lines changed: 19 additions & 25 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
| 52 | + | |
| 53 | + | |
59 | 54 | | |
60 | 55 | | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
| 56 | + | |
68 | 57 | | |
69 | 58 | | |
70 | 59 | | |
| |||
76 | 65 | | |
77 | 66 | | |
78 | 67 | | |
79 | | - | |
| 68 | + | |
80 | 69 | | |
81 | 70 | | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
| 71 | + | |
| 72 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
13 | 21 | | |
14 | 22 | | |
15 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
| 111 | + | |
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
| 120 | + | |
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| |||
0 commit comments