AI-1392 Security and Vulnerability Round Up - June 2026 - #193
Merged
Conversation
dbarkowsky
marked this pull request as ready for review
June 11, 2026 15:16
dbarkowsky
requested review from
NoorChasib,
alex-struk,
antsand and
kmandryk
as code owners
June 11, 2026 15:16
kmandryk
requested changes
Jun 11, 2026
kmandryk
left a comment
Collaborator
There was a problem hiding this comment.
npm audit shows several high risk vulnerabilities as well - should we add those upgrades in this PR?
kmandryk
approved these changes
Jun 16, 2026
kmandryk
left a comment
Collaborator
There was a problem hiding this comment.
we can put the vite upgrades in another ticket.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
AI-1392
Changes
vitestfrom 4.0.18 to 4.1.8 andjsdomfrom 26.1.0 to 29.1.1 in the frontend app; hoistedjsdomto the rootpackage.jsonto satisfy vitest 4.1.x's requirement that environment packages be resolvable from the same location as vitest itself in an npm workspace.fast-xml-parser's bundledXMLValidatorandXMLBuilderwith dedicatedfast-xml-validatorandfast-xml-builderpackages in the temporal app, adapting call sites to handle the new APIs:SyntaxValidator.validate()now throws on invalid XML instead of returning an error object, andBuilderis now a default export.executeTransformNodewhere render failures (XmlRenderError, CSV errors) in Step 4 were not caught and re-thrown as non-retryableApplicationFailure, causing Temporal to treat them as retryable errors rather than halting the workflow.groupIdparameter (used for tenant scoping) was not inKNOWN_PARAM_KEYS, causing it to be passed toparseInput()as a port-binding input — producing anInputParseError("char 'c' is not expected") for any workflow node using XML input format.graph-workflow.test.tsby adding a 15-second timeout to the first test that invokesWorker.create(), which triggers initial webpack bundling of the workflow code.DatasetService.uploadFileswherefiles.lengthwas accessed before theArray.isArray(files)guard, causing an unhandled error when a non-array payload was received.axiosto 1.17.0,concurrentlyto 10.0.3,fast-xml-parserto 5.8.0, andprotobufjsto 7.5.6; addedfast-uri3.1.1 as a root override.Testing
npm ifrom root.One thing I noticed with this is that workflows without the OCR activities never progress the documents to "Complete" status. We might need something that guarantees workflows end with "terminal" activities that will set the status to either Complete or Failed when done.
Checklist
By submitting this pull request, I acknowledge that I have attempted to meet the following: