Skip to content

Conversation

@CScharer
Copy link
Owner

Summary

Remove the unused legacy Sauce Labs JUnit 4 helper that was pulling in , and document how the JUnit 4 advisory is mitigated.

Changes

  • pom.xml: Remove and its version property; this eliminates the transitive dependency flagged by Dependabot. We still use JUnit Jupiter 6.x for tests and , which brings (patched) solely as a bridge for Cucumber's legacy JUnit 4 runner.
  • SECURITY.md: Add a concrete example under Code Quality Security explaining removal of and reliance on the patched Cucumber JUnit 4 bridge, as part of our dependency vulnerability mitigation story.

Risk

Low. was not referenced in the test code; Sauce Labs integration uses directly. Removing it only shrinks the dependency graph and resolves the JUnit 4.12 advisory.

Made with Cursor

- pom.xml: drop unused com.saucelabs:sauce_junit (which pulled
  junit:junit:4.12); keep saucerest and modern JUnit Jupiter +
  cucumber-junit (junit 4.13.2 patched)
- SECURITY.md: add note under Code Quality Security explaining removal
  of sauce_junit and reliance on patched cucumber-junit bridge

Co-authored-by: Cursor <cursoragent@cursor.com>
@CScharer CScharer merged commit 824f76e into main Jan 28, 2026
18 checks passed
@CScharer CScharer deleted the security/remove-sauce-junit-junit4 branch January 28, 2026 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants