Repository navigation
Conversation
…rough an exception Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
dkackman
added a commit
that referenced
this pull request
Nov 1, 2026
…-75wg-m249) Dependabot alert #103: minimatch < 11.0.1, globparts amplification DoS. There is no patched 10.x, and eslint, @eslint/config-array and @typescript-eslint/typescript-estree all declare ^10, so the fix is an override on those three. None use the APIs 11.0 removed (makeRe, regexp, AST, matchOne). redocly's minimatch 5.1.9 stays: it predates the vulnerable firstPhasePreProcess path. lint (226 files, same as before), check, 700 vitest tests and build pass. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Potential fix for https://github.com/dkackman/diffusers-workflow/security/code-scanning/55
The best fix is to stop returning raw exception messages from
Workflow.validation_errors()and return stable, generic messages instead, while preserving useful location info (path) and existing API shape.Specifically, in
dw/workflow.pyinsidevalidation_errors():str(e)for:ForEachErrorwith a generic message like"Invalid for_each configuration"ConstantErrorwith"Invalid constant reference or constant value"VariableCycleErrorwith"Variable cycle detected"pathfields unchanged (e.pathand"variables") so clients still get actionable location context.No changes are required in
dw/server/app.pyonce upstream messages are sanitized.Suggested fixes powered by Copilot Autofix. Review carefully before merging.