Skip to content

LTS-5442: harden selenium sample (Semgrep pin, jest lockfile, web-security flag, credential + CLI-verify guidance) - #7

Merged
SaranshBS merged 2 commits into
mainfrom
LTS-5442-selenium-sample-security
Oct 28, 2026
Merged

SaranshBS merged 2 commits into
mainfrom
LTS-5442-selenium-sample-security

Conversation

@MihirR-BS

@MihirR-BS MihirR-BS commented Oct 27, 2026 •

Copy link
Copy Markdown
Collaborator

Security fixes from the LTS-5442 scan of this sample repo.

Story Fix
LTS-5458 Semgrep image pinned by digest (1.166.0@sha256:c180f0c9…)
LTS-5465 package-lock.json no longer gitignored; jest/package-lock.json committed (npm audit: 0 vulnerabilities)
LTS-5472 --disable-web-security removed from java, junit-4, junit-5, testng and serenity-cucumber
LTS-5452 browserstack-load.yml comment now says to use BROWSERSTACK_USERNAME / BROWSERSTACK_ACCESS_KEY env vars (the CLI lets them override the placeholders) and not to paste a real key into the file
LTS-5479 serenity StepDefs rejects a non-digit product index before building the CSS selector

Also in every README: the CLI download is a zip, a new step to verify the CLI signature (macOS codesign TeamIdentifier YQ5FZQ855D, Windows Authenticode), and the swapped Linux x86/ARM download links are fixed.

The matching BE sample zips are updated in browserstack/load-testing-backend#3604.

🤖 Generated with Claude Code

…drop --disable-web-security, credential + CLI-verify guidance)

- LTS-5458: pin returntocorp/semgrep:1.166.0 by digest
- LTS-5465: stop ignoring package-lock.json, commit jest/package-lock.json
- LTS-5472: remove --disable-web-security from all 5 Chrome option lists
- LTS-5452: browserstack-load.yml comment points at env vars, warns against inlining the key
- LTS-5479: validate the product index before building the CSS selector
- README: zip note, CLI signature-verify step, fix swapped Linux x86/arm links

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@MihirR-BS
MihirR-BS requested a review from a team as a code owner October 27, 2026 16:32
@MihirR-BS
MihirR-BS requested a review from prasadthx October 27, 2026 16:32
@coderabbitai

coderabbitai Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Central YAML (base), Organization UI (inherited), Workspace UI (inherited); Enforced overrides: Organization
  • Review profile: ASSERTIVE
  • Plan: Enterprise
  • Run ID: 31f9e799-3fdd-4c1e-a448-2cf720d784ea

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@SaranshBS
SaranshBS merged commit ab3dc68 into main Oct 28, 2026
7 checks passed
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.

3 participants