Skip to content

chore(security): production hardening and vulnerability fixes#7

Open
wallydz wants to merge 1 commit intovpnht-rewritefrom
ai/security-20260221
Open

chore(security): production hardening and vulnerability fixes#7
wallydz wants to merge 1 commit intovpnht-rewritefrom
ai/security-20260221

Conversation

@wallydz
Copy link

@wallydz wallydz commented Feb 21, 2026

  • Upgraded vulnerable dependencies (esbuild, minimatch, keyring, rand, reqwest)
  • Added CodeQL workflow for static code analysis
  • Verified no hardcoded secrets in the repository
  • Reviewed auto-updater, permissions, and telemetry

This PR addresses critical vulnerabilities and improves the security posture of the VPN.ht desktop app.

Fixes #1102341 (esbuild CORS vulnerability)
Fixes #1113371 (minimatch ReDoS vulnerability)

Description

Brief description of the changes in this PR.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Performance improvement
  • Security enhancement
  • Code refactoring

Related Issues

Fixes #(issue number)
Closes #(issue number)

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

Security Checklist

  • No hardcoded secrets or credentials
  • Input validation is implemented
  • Error messages do not leak sensitive information
  • Principle of least privilege is followed

Testing

  • Manual testing performed
  • Unit tests added/updated
  • Integration tests added/updated
  • UI tests pass (if applicable)

Screenshots (if applicable)

Add screenshots to help explain your changes.

Additional Context

Add any other context about the pull request here.

- Upgraded vulnerable dependencies (esbuild, minimatch, keyring, rand, reqwest)
- Added CodeQL workflow for static code analysis
- Verified no hardcoded secrets in the repository
- Reviewed auto-updater, permissions, and telemetry

This PR addresses critical vulnerabilities and improves the security posture of the VPN.ht desktop app.

Fixes #1102341 (esbuild CORS vulnerability)
Fixes #1113371 (minimatch ReDoS vulnerability)
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.

1 participant