Skip to content

Bind Debugger socket to loopback - #2927

Merged
DavyLandman merged 1 commit into
usethesource:mainfrom
jbdoderlein:security-bind-debugger-port
Oct 9, 2026
Merged

DavyLandman merged 1 commit into
usethesource:mainfrom
jbdoderlein:security-bind-debugger-port

Conversation

@jbdoderlein

Copy link
Copy Markdown
Contributor

As in usethesource/rascal-language-servers#1231, @RomainLefeuvre found that rascal lsp server open port on 0.0.0.0 (which is the default from ServerSocket(0)).
Here the issue come from DebugServer and is critical because it allow shell access.

@sonarqubecloud

sonarqubecloud Bot commented Oct 9, 2026

Copy link
Copy Markdown

@codecov

codecov Bot commented Oct 9, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 45%. Comparing base (499d11b) to head (ed98b97).

Files with missing lines Patch % Lines
src/org/rascalmpl/dap/DebugSocketServer.java 0% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##              main   #2927   +/-   ##
=======================================
  Coverage       45%     45%           
- Complexity    6807    6808    +1     
=======================================
  Files          844     844           
  Lines        68837   68837           
  Branches     10039   10039           
=======================================
+ Hits         31417   31423    +6     
+ Misses       35024   35018    -6     
  Partials      2396    2396           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@DavyLandman
DavyLandman merged commit 922fc34 into usethesource:main Oct 9, 2026
8 of 9 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.

2 participants