Skip to content

[Snyk] Security upgrade cypress from 10.11.0 to 13.0.0#11934

Closed
snyk-io[bot] wants to merge 1 commit intomasterfrom
snyk-fix-0617f6ad8a7250d385cbd1a488b36af8
Closed

[Snyk] Security upgrade cypress from 10.11.0 to 13.0.0#11934
snyk-io[bot] wants to merge 1 commit intomasterfrom
snyk-fix-0617f6ad8a7250d385cbd1a488b36af8

Conversation

@snyk-io
Copy link
Copy Markdown

@snyk-io snyk-io Bot commented Feb 12, 2026

snyk-top-banner

Snyk has created this PR to fix 1 vulnerabilities in the yarn dependencies of this project.

Snyk changed the following file(s):

  • cypress/package.json
  • cypress/yarn.lock

Note for zero-installs users

If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the .yarn/cache/ directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to run yarn to update the contents of the ./yarn/cache directory.
If you are not using zero-install you can ignore this as your flow should likely be unchanged.

Vulnerabilities that will be fixed with an upgrade:

Issue Score
medium severity Allocation of Resources Without Limits or Throttling
SNYK-JS-QS-15268416
  590  

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Allocation of Resources Without Limits or Throttling


EntelligenceAI PR Summary

This PR upgrades Cypress testing framework from version 10 to 13, modernizing the dependency tree with security and functionality improvements.

  • Updated Cypress from ^10.0.0 to ^13.0.0 in package.json
  • Upgraded Cypress from v10.11.0 to v13.17.0 in yarn.lock
  • Updated major dependencies: @cypress/request, form-data, tough-cookie, http-signature, debug
  • Removed 15 legacy dependencies (balanced-match, glob, rimraf, etc.)
  • Added 25 new modern utilities (call-bind helpers, es-errors, tldts, tree-kill, etc.)
  • Bumped security-critical packages: qs, semver, sshpk, commander, buffer

@codesandbox
Copy link
Copy Markdown

codesandbox Bot commented Feb 12, 2026

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

@socket-security
Copy link
Copy Markdown

@entelligence-ai-pr-reviews
Copy link
Copy Markdown

Walkthrough

This PR upgrades the Cypress testing framework from version 10 to version 13, skipping two major versions. This significant update brings the testing infrastructure up to date with the latest Cypress features, improvements, and security patches. The upgrade cascades through the entire dependency tree, updating numerous transitive dependencies including @cypress/request, form-data, tough-cookie, and debug. Several legacy dependencies have been removed while modern replacements and new utilities have been added. The update also includes version bumps for security-critical packages like qs, semver, and sshpk. This upgrade may introduce breaking changes requiring verification of existing test suite compatibility.

Changes

File(s) Summary
cypress/package.json Updated Cypress dependency from ^10.0.0 to ^13.0.0, representing a major version upgrade across multiple releases.
cypress/yarn.lock Upgraded Cypress from v10.11.0 to v13.17.0 with cascading dependency updates including @cypress/request (2.88.10 → 3.0.10), form-data (2.3.3 → 4.0.5), tough-cookie (2.5.0 → 5.1.2), commander (5.1.0 → 6.2.1), qs (6.5.3 → 6.14.2), and semver (7.5.3 → 7.7.4). Removed 15 legacy dependencies and added 25 new modern utilities including call-bind helpers, es-errors, tldts packages, and tree-kill.

Sequence Diagram

This diagram shows the interactions between components:

sequenceDiagram
    actor Developer
    participant Cypress CLI
    participant Test Runner
    participant Request Module as @cypress/request
    participant Browser
    participant Application Under Test

    Developer->>Cypress CLI: cypress run/open
    activate Cypress CLI
    
    Cypress CLI->>Cypress CLI: Load configuration
    Note over Cypress CLI: Uses updated dependencies:<br/>commander v6.2.1<br/>debug v4.4.3<br/>semver v7.7.4
    
    Cypress CLI->>Test Runner: Initialize test environment
    activate Test Runner
    
    Test Runner->>Test Runner: Setup test context
    Note over Test Runner: Uses buffer v5.7.1<br/>process v0.11.10<br/>tmp v0.2.5
    
    Test Runner->>Browser: Launch browser instance
    activate Browser
    
    loop For each test
        Test Runner->>Browser: Execute test commands
        Browser->>Application Under Test: Interact with application
        
        alt HTTP Request needed
            Test Runner->>Request Module: Make HTTP request
            activate Request Module
            Note over Request Module: Upgraded to v3.0.10<br/>Uses form-data v4.0.5<br/>http-signature v1.4.0<br/>tough-cookie v5.1.2
            Request Module->>Application Under Test: Send HTTP request
            Application Under Test-->>Request Module: Return response
            Request Module-->>Test Runner: Return response data
            deactivate Request Module
        end
        
        Application Under Test-->>Browser: Update UI/state
        Browser-->>Test Runner: Report test results
    end
    
    Test Runner->>Test Runner: Cleanup test environment
    Note over Test Runner: Uses tree-kill v1.2.2<br/>for process cleanup
    
    deactivate Browser
    Test Runner-->>Cypress CLI: Return test results
    deactivate Test Runner
    
    Cypress CLI-->>Developer: Display test summary
    deactivate Cypress CLI
Loading

▶️AI Code Reviews for VS Code, Cursor, Windsurf
Install the extension

Note for Windsurf Please change the default marketplace provider to the following in the windsurf settings:

Marketplace Extension Gallery Service URL: https://marketplace.visualstudio.com/_apis/public/gallery

Marketplace Gallery Item URL: https://marketplace.visualstudio.com/items

Entelligence.ai can learn from your feedback. Simply add 👍 / 👎 emojis to teach it your preferences. More shortcuts below

Emoji Descriptions:

  • ⚠️ Potential Issue - May require further investigation.
  • 🔒 Security Vulnerability - Fix to ensure system safety.
  • 💻 Code Improvement - Suggestions to enhance code quality.
  • 🔨 Refactor Suggestion - Recommendations for restructuring code.
  • ℹ️ Others - General comments and information.

Interact with the Bot:

  • Send a message or request using the format:
    @entelligenceai + *your message*
Example: @entelligenceai Can you suggest improvements for this code?
  • Help the Bot learn by providing feedback on its responses.
    @entelligenceai + *feedback*
Example: @entelligenceai Do not comment on `save_auth` function !

Also you can trigger various commands with the bot by doing
@entelligenceai command

The current supported commands are

  1. config - shows the current config
  2. retrigger_review - retriggers the review

More commands to be added soon.

@snyk-io
Copy link
Copy Markdown
Author

snyk-io Bot commented Feb 12, 2026

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@github-actions
Copy link
Copy Markdown

This PR has been automatically marked as stale because it has not had recent activity from the author. It will be closed if no further activity occurs. If the PR was closed and you want it re-opened, let us know and we'll re-open the PR so that you can continue the contribution!

@github-actions github-actions Bot added the stale label Feb 19, 2026
@github-actions github-actions Bot closed this Mar 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants