You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: typing ingest lambda and related files, app entry, adjusting types as needed (#1087)
* feat: convert errors.js to typescript fix: fix issue with ava test runner not identifying the error typescript file and finding temporary workaround during migration.
* feat: creating base STAC types fix: updating linter overrides fro typescript
* feat: convert geo-utils and logger to typescript feat: use BBox type from geojson lib
* feat: typing stac-utils fix: tweaking types based on experience in stac-utils.ts
* feat: deleted s3-utils.js which was slightly different from s3-utils.ts. Confirmed using s3-utils.ts passes all tests
* feat: rounding out typing for s3-utils.ts
* feat: typing sns file
* feat: typing aws clients
* feat: converting database clients to typescript
* complete typing of asset-proxy and asset-buckets files tests: flesh out input object in test to be a more complete StacItem to pass an expected logic gate
* feat: first quick pass at typing Searchparams and DbOperation
* feat: updating changelog
* logger: change to 'info' not 'error' in case of index already existing
* feat: typing database.ts and updating types as required
* feat: cleaning up types, remove unused, consolidating where appropriate
* updating changelog
* feat: typing a few remainig untyped params
* feat: moved some utils to api-utils.ts and typed them feat: changed api.js to api.ts
* feat: typing api.ts, adjusting types as needed
* feat: adding missing type, adding return type in a few spots where it was missing
* updating changelog
* PR feedback
* feat: typing ingest lambda and related files, adjusting types as needed
* converting lambdas to typescript
* feat: finishing typing lambdas, extending base express Request type, adding types as necessary
* updating changelog
* fix: PR feedback
* PR feedback changs after reviewing Claude suggestions
* updating .nsprc file
Copy file name to clipboardExpand all lines: .nsprc
+33-8Lines changed: 33 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -2,32 +2,32 @@
2
2
"1113461": {
3
3
"active": true,
4
4
"notes": "minimatch is a transitive dependency of @redocly/cli and redoc, used only for API documentation rendering. The vulnerable wildcard pattern matching is not exposed to user input in our usage context, making ReDoS exploitation not feasible.",
5
-
"expiry": "2026-04-25"
5
+
"expiry": "2026-09-30"
6
6
},
7
7
"1113466": {
8
8
"active": true,
9
9
"notes": "minimatch is a transitive dependency of @redocly/cli and redoc, used only for API documentation rendering. The vulnerable wildcard pattern matching is not exposed to user input in our usage context, making ReDoS exploitation not feasible.",
10
-
"expiry": "2026-04-25"
10
+
"expiry": "2026-09-30"
11
11
},
12
12
"1113540": {
13
13
"active": true,
14
14
"notes": "minimatch is a transitive dependency of @redocly/cli and redoc, used only for API documentation rendering. The vulnerable wildcard pattern matching is not exposed to user input in our usage context, making ReDoS exploitation not feasible.",
15
-
"expiry": "2026-04-25"
15
+
"expiry": "2026-09-30"
16
16
},
17
17
"1113545": {
18
18
"active": true,
19
19
"notes": "minimatch is a transitive dependency of @redocly/cli and redoc, used only for API documentation rendering. The vulnerable wildcard pattern matching is not exposed to user input in our usage context, making ReDoS exploitation not feasible.",
20
-
"expiry": "2026-04-25"
20
+
"expiry": "2026-09-30"
21
21
},
22
22
"1113548": {
23
23
"active": true,
24
24
"notes": "minimatch is a transitive dependency of @redocly/cli and redoc, used only for API documentation rendering. The vulnerable wildcard pattern matching is not exposed to user input in our usage context, making ReDoS exploitation not feasible.",
25
-
"expiry": "2026-04-25"
25
+
"expiry": "2026-09-30"
26
26
},
27
27
"1113553": {
28
28
"active": true,
29
29
"notes": "minimatch is a transitive dependency of @redocly/cli and redoc, used only for API documentation rendering. The vulnerable wildcard pattern matching is not exposed to user input in our usage context, making ReDoS exploitation not feasible.",
30
-
"expiry": "2026-04-25"
30
+
"expiry": "2026-09-30"
31
31
},
32
32
"1115339": {
33
33
"active": true,
@@ -39,6 +39,11 @@
39
39
"notes": "fast-xml-parser is a transitive dependency of @redocly/cli via openapi-sampler, used only as a build tool to generate static API documentation. The entity expansion limit bypass via JavaScript falsy evaluation of zero values only affects applications that explicitly configure maxEntityCount:0 or maxEntitySize:0. We do not configure fast-xml-parser directly and @redocly/cli is never run against untrusted input, making this not exploitable.",
40
40
"expiry": "2026-06-30"
41
41
},
42
+
"1116957": {
43
+
"active": true,
44
+
"notes": "fast-xml-parser is a transitive dependency of @redocly/cli via openapi-sampler, used only as a build tool to generate static API documentation. The XMLBuilder XML comment and CDATA injection via unescaped delimiters requires use of the XMLBuilder API with attacker-controlled input. We do not use fast-xml-parser directly and @redocly/cli is never run against untrusted input, making this not exploitable.",
45
+
"expiry": "2026-06-30"
46
+
},
42
47
"1115541": {
43
48
"active": true,
44
49
"notes": "brace-expansion is a transitive dependency of redoc, used only for API documentation rendering. The zero-step sequence causing process hang is not exploitable as brace-expansion is never used to process untrusted input in our usage context.",
@@ -112,14 +117,34 @@
112
117
"1115527": {
113
118
"active": true,
114
119
"notes": "path-to-regexp is a transitive dependency of express. A DoS via multiple route parameters is a low practical risk for stac-server: deployments are primarily hosted on AWS which provides built-in DDoS detection and mitigation, and the underlying data is generally not mission critical. A fix is expected upstream in the near future and will be incorporated before the next release.",
115
-
"expiry": "2026-04-30"
120
+
"expiry": "2026-09-30"
116
121
},
117
122
"1116663": {
118
123
"active": true,
119
124
"notes": "dompurify is a transitive dependency of @redocly/cli via redoc, used only for API documentation rendering. The ADD_TAGS function form bypassing FORBID_TAGS due to short-circuit evaluation requires both ADD_TAGS as a function and FORBID_TAGS to be configured simultaneously. We do not configure DOMPurify directly and redoc is only used to render static API documentation, making this not exploitable in our usage context.",
120
125
"expiry": "2026-09-30"
121
126
},
122
-
"1116832": {
127
+
"1117138": {
128
+
"active": true,
129
+
"notes": "dompurify is a transitive dependency of @redocly/cli via redoc, used only for API documentation rendering. The FORBID_TAGS bypass via function-based ADD_TAGS predicate requires direct DOMPurify configuration with both options simultaneously. We do not configure DOMPurify directly and redoc is only used to render static API documentation, making this not exploitable in our usage context.",
130
+
"expiry": "2026-09-30"
131
+
},
132
+
"1117139": {
133
+
"active": true,
134
+
"notes": "dompurify is a transitive dependency of @redocly/cli via redoc, used only for API documentation rendering. The SAFE_FOR_TEMPLATES bypass in RETURN_DOM mode requires direct DOMPurify configuration with RETURN_DOM mode enabled. We do not configure DOMPurify directly and redoc is only used to render static API documentation, making this not exploitable in our usage context.",
135
+
"expiry": "2026-09-30"
136
+
},
137
+
"1117140": {
138
+
"active": true,
139
+
"notes": "dompurify is a transitive dependency of @redocly/cli via redoc, used only for API documentation rendering. The prototype pollution to XSS bypass via CUSTOM_ELEMENT_HANDLING fallback requires attacker-controlled input to DOMPurify. We do not configure DOMPurify directly and redoc is only used to render static API documentation, making this not exploitable in our usage context.",
140
+
"expiry": "2026-09-30"
141
+
},
142
+
"1117015": {
143
+
"active": true,
144
+
"notes": "postcss is a transitive dependency of @redocly/cli via styled-components, used only as a build tool to generate static API documentation. The XSS via unescaped </style> in CSS stringify output requires attacker-controlled CSS input processed by PostCSS. We do not use PostCSS directly and @redocly/cli is never run against untrusted input, making this not exploitable.",
145
+
"expiry": "2026-09-30"
146
+
},
147
+
"1117042": {
123
148
"active": true,
124
149
"notes": "protobufjs is a transitive dependency of @redocly/cli via @opentelemetry/otlp-transformer, used only as a build tool to generate static API documentation. The arbitrary code execution via malicious protobuf definitions requires attacker-controlled protobuf definition files, which is not possible in our usage context as @redocly/cli is never run against untrusted input.",
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
14
14
15
15
### Changed
16
16
17
+
- Typing the top level lambda layer ([1087](https://github.com/stac-utils/stac-server/pull/1087))
17
18
- Typing the api layer in `api.ts`, pushing some minor functions to a new utility files `api-utils.ts` ([1081](https://github.com/stac-utils/stac-server/pull/1081))
18
19
- Converting the database layer to typescript as part of migration ([1077](https://github.com/stac-utils/stac-server/pull/1077))
19
20
- Converting additional files to typescript as part of typescript migration and generating related types ([1071](https://github.com/stac-utils/stac-server/pull/1071))
0 commit comments